-
Bug
-
Resolution: Fixed
-
P3
-
1.4.1
-
hopper
-
x86
-
windows_2000
###@###.### 2002-04-11
J2SE Version (please include all output from java -version flag):
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b06)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b06, mixed mode)
Does this problem occur on J2SE 1.3 or 1.4? Yes / No (pick one)
There occur other errors.
Operating System Configuration Information (be specific):
Window 2000 Server
Hardware Configuration Information (be specific):
P3/800
Bug Description:
NegativeArraySizeException with insertRow on MS Access
*ResultSet.getMetaData
Number of result columns (SQLNumResultCols), hStmt=182790128
value=9
*ResultSetMetaData.getColumnName (1)
Column attributes (SQLColAttributes), hStmt=182790128, icol=1, type=1
value (String)=ID
Number of result columns (SQLNumResultCols), hStmt=182790128
value=9
*ResultSetMetaData.getColumnName (2)
Column attributes (SQLColAttributes), hStmt=182790128, icol=2, type=1
value (String)=Datum
Number of result columns (SQLNumResultCols), hStmt=182790128
value=9
*ResultSetMetaData.getColumnName (3)
Column attributes (SQLColAttributes), hStmt=182790128, icol=3, type=1
value (String)=KNR
Number of result columns (SQLNumResultCols), hStmt=182790128
value=9
*ResultSetMetaData.getColumnName (4)
Column attributes (SQLColAttributes), hStmt=182790128, icol=4, type=1
value (String)=TNR
Number of result columns (SQLNumResultCols), hStmt=182790128
value=9
*ResultSetMetaData.getColumnName (5)
Column attributes (SQLColAttributes), hStmt=182790128, icol=5, type=1
value (String)=RNR
Number of result columns (SQLNumResultCols), hStmt=182790128
value=9
*ResultSetMetaData.getColumnName (6)
Column attributes (SQLColAttributes), hStmt=182790128, icol=6, type=1
value (String)=start
Number of result columns (SQLNumResultCols), hStmt=182790128
value=9
*ResultSetMetaData.getColumnName (7)
Column attributes (SQLColAttributes), hStmt=182790128, icol=7, type=1
value (String)=Computer
Number of result columns (SQLNumResultCols), hStmt=182790128
value=9
*ResultSetMetaData.getColumnName (8)
Column attributes (SQLColAttributes), hStmt=182790128, icol=8, type=1
value (String)=Vorgang
Number of result columns (SQLNumResultCols), hStmt=182790128
value=9
*ResultSetMetaData.getColumnName (9)
Column attributes (SQLColAttributes), hStmt=182790128, icol=9, type=1
value (String)=info
Column attributes (SQLColAttributes), hStmt=182790128, icol=9, type=2
value (int)=-1
Column attributes (SQLColAttributes), hStmt=182790128, icol=9, type=3
value (int)=2147483647
Exception in thread "main" java.lang.NegativeArraySizeException
at sun.jdbc.odbc.JdbcOdbcBoundCol.allocBindDataBuffer(JdbcOdbcBoundCol.java:289)
at sun.jdbc.odbc.JdbcOdbcResultSet.bindStringCol(JdbcOdbcResultSet.java:4763)
at sun.jdbc.odbc.JdbcOdbcResultSet.bindCol(JdbcOdbcResultSet.java:4671)
at sun.jdbc.odbc.JdbcOdbcResultSet.insertRow(JdbcOdbcResultSet.java:4009)
at Test.main(Test.java:23)
Steps to Reproduce (be specific):
Execute the Test program with a MS Access DB.