• Subject: Microsoft JVM and Toolbox (For David Wall?)
  • From: "Brad Grier" <grier@xxxxxxxxx>
  • Date: Thu, 21 Oct 1999 10:12:41 -0500

When using Microsoft's JVM to run my application (via JVIEW), I get the
following stack trace. I'm using the latest V4R2M0 of the Toolbox (October
1999 build). I know an earlier poster mentioned this problem in regard to
applets and David Wall said the problem had been corrected. I'm using my own
sign-on dialog to pass the user id and password information into the
connection URL.

For earlier releases of the Toolbox I found a dubious workaround with the
help of a decompiler (and three new lines of code to the Toolbox ConvTable
class). I'd rather not have to resort to this to get my application to work
with JVIEW. Any ideas?


Brad Grier

java.lang.NoSuchFieldError: sun/io/ByteToCharSingleByte: field
byteToCharTable n
ot found
        at sun/io/ByteToCharCp037.<init>
        at java/lang/Class.newInstance
        at sun/io/ByteToCharConverter.getConverter
        at java/io/InputStreamReader.<init>
        at com/ibm/as400/access/ConvTable.<init>
        at com/ibm/as400/access/ConvTable.getTableNoSwapChars
        at com/ibm/as400/access/ConvTable.getTable
        at com/ibm/as400/access/Converter.<init>
        at com/ibm/as400/access/Converter.getConverter
        at com/ibm/as400/access/AS400.getSecurity400
        at com/ibm/as400/access/AS400.signOn
        at com/ibm/as400/access/AS400.connect
        at com/ibm/as400/access/AS400JDBCConnection.open
        at com/ibm/as400/access/AS400JDBCConnection.<init>
        at com/ibm/as400/access/AS400JDBCDriver.connect
        at java/sql/DriverManager.getConnection
        at java/sql/DriverManager.getConnection
        at com/linoma/surveyor/DBServer$MoleConnect.<init>
        at com/linoma/surveyor/DBServer.connect
        at com/linoma/surveyor/VDExplorer$7.construct
        at com/linoma/surveyor/SwingWorker$2.run
        at java/lang/Thread.run

| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net

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-2022 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.