× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Sent to the wrong list...

---------- Forwarded message ----------
Date: Wed, 18 Jun 2014 09:42:00 -0600 (MDT)
From: James Rich <james@xxxxxxxxxxx>
Reply-To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
To: midrange-l <midrange-l@xxxxxxxxxxxx>
Subject: JDBC errors with latest jtopen and 7.1

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

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.