MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » June 2014

JDBC errors with latest jtopen and 7.1



fixed

I'm getting some errors I just can't figure out. I'm on V7R1M0 and using the latest jtopen (8.2). Last night I changed the database file and now I get this:

java.lang.ArrayIndexOutOfBoundsException: 18013 at com.ibm.as400.access.BinaryConverter.checkArgs(BinaryConverter.java:532) at com.ibm.as400.access.BinaryConverter.byteArrayToUnsignedShort(BinaryConverter.java:267) at com.ibm.as400.access.JDServerRow.setRowIndex(JDServerRow.java:377) at com.ibm.as400.access.JDServerRowCache.next(JDServerRowCache.java:822) at com.ibm.as400.access.AS400JDBCResultSet.next(AS400JDBCResultSet.java:1848) at com.eaerich.base.CompanyFactory.getCompanies(CompanyFactory.java:205)

I've checked line 205 of my CompanyFactory class and it is simply doing ResultSet.next(), so I don't think my code is in error. I do seem to remember something about the OS keeping copies of files to speed up JDBC queries and those copies sometimes not being refreshed when the underlying file is replaced, but I can't find anything like that now. Any suggestions?

James Rich

if you want to understand why that is, there are many good books on
the design of operating systems. please pass them along to redmond
when you're done reading them :)
- Paul Davis on ardour-dev





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact