Hello,

We have setup a Unicode environment, including a DB2/400 database in
unicode (1208). The WAS server crashes sometime with the below
stacktrace in STDERR.

> [8/3/05 15:52:59:666 CET] e083d74c SystemErr R FATAL ERROR in native method: attempted to construct string with negative length
> [8/3/05 15:52:59:667 CET] e083d74c SystemErr R com/ibm/db2/jdbc/app/DB2ResultSetRuntimeImpl.getString(II)Ljava/lang/String;+43 (DB2ResultSetRuntimeImpl.java:367)
> [8/3/05 15:52:59:667 CET] e083d74c SystemErr R com/ibm/db2/jdbc/app/DB2ResultSet.getStringOpt(I)Ljava/lang/String;+45 (DB2ResultSet.java:2941)
> [ 8/3/05 15:52:59:667 CET] e083d74c SystemErr R com/ibm/db2/jdbc/app/DB2ResultSet.getObject(I)Ljava/lang/Object;+556 (DB2ResultSet.java:4551)
> [8/3/05 15:52:59:667 CET] e083d74c SystemErr R com/ibm/ws/rsadapter/jdbc/WSJdbcResultSet.getObject(I)Ljava/lang/Object;+0 (WSJdbcResultSet.java:1487)
> [8/3/05 15:52:59:667 CET] e083d74c SystemErr R be/ff/persistence/jdbc/SimpleJDBCConnection.convertResultSetToRows(Ljava/sql/ResultSetLjava/util/List;+0 (SimpleJDBCConnection.java:482)
> [8/3/05 15:52:59:669 CET] e083d74c SystemErr R be/ff/persistence/jdbc/SimpleJDBCConnection.executeQuery(Ljava/lang/String;Z)Ljava/util/List;+47 (SimpleJDBCConnection.java:211)
> [8/3/05 15:52:59:669 CET] e083d74c SystemErr R be/ff/persistence/jdbc/SimpleJDBCConnection.executeQuery(Lbe/ff/persistence/jdbc/SQLTemplateLjava/util/List;+6 (SimpleJDBCConnection.java:192)


Our versions.

OS/400 5.3 cum 5032 hyper 38
DB2/400 5.3 group 3
WebSphere 5.0 group 7
Java 1.3.1 group ptf 4

Someone a idea what is going wrong?

Thanks, Herbert