×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Thanks Scott.

Got that squared away. But now the JVM is abending.

It produces the following in a spooled file:

FATAL ERROR in native method: native code passed a null object to a
non-static method
java.lang.Throwable

And this is the message in the job log:

Java Virtual Machine 1 has ended because of reason 2. The
reason codes are defined as follows:
02- A Java program
called the java.lang.System.exit method with a non zero status code of
134.

Any ideas what the trouble might be ?

Thanks again.

Greg


|-----Original Message-----
|From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-
|bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
|Sent: Wednesday, November 28, 2007 6:59 PM
|To: RPG programming on the AS400 / iSeries
|Subject: Re: Java error when updating existing Excel spreadsheets using
|HSSF
|
|Hi Greg,
|
|Let me translate that error to English for you:
|
| "Hey Greg! I can't find the POIFSFileSystem Java class!"
|
|Make sure you have the POI JAR files in your CLASSPATH. Or, if they're
|in /QIBM/UserData/Java400/ext, then make sure they're NOT in your
|CLASSPATH.
|
|Also make sure the CLASSPATH is set before you start the JVM for the
|first time in the job.
|
|
|Fleming, Greg (ED) wrote:
|>
|> Cause . . . . . : RPG procedure HSSF_OPEN in program GNODGDF/HSSFR4
|> received Java exception "java.lang.NoClassDefFoundError:
|> org/apache/poi/poifs/filesystem/POIFSFileSystem" when calling
method
|> "<init>" with signature "(Ljava.io.InputStream;)V" in class
|> "org.apache.poi.poifs.filesystem.POIFSFileSystem".
|>
|--
|This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
|list
|To post a message email: RPG400-L@xxxxxxxxxxxx
|To subscribe, unsubscribe, or change list options,
|visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
|or email: RPG400-L-request@xxxxxxxxxxxx
|Before posting, please take a moment to review the archives
|at http://archive.midrange.com/rpg400-l.



This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2026 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.