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



Scott,

Some further info may help us narrow this down.

In debug, the error appears to occur in the HSSF_Open procedure at line
1559
wwFile = new_FileInputStream(wwStr);

I had read on another list somewhere that the preceding definition on
line 1553:
D wwFile s like(jFileOutputStream)
Was in error and should be corrected to:
D wwFile s like(jFileInputStream) .

I did this, recompiled the module and re-created the service program,
then rebound
The upddemo program. But I still get the same error either way.

Greg

|-----Original Message-----
|From: rpg400-l-bounces+gfleming=evergladesdirect.com@xxxxxxxxxxxx
|[mailto:rpg400-l-bounces+gfleming=evergladesdirect.com@xxxxxxxxxxxx] On
|Behalf Of Fleming, Greg (ED)
|Sent: Thursday, November 29, 2007 8:58 AM
|To: RPG programming on the AS400 / iSeries
|Subject: RE: Java error when updating existing Excel spreadsheets using
|HSSF
|
|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 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.



As an Amazon Associate we earn from qualifying purchases.

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