On our production i -
We upgraded from 6.1 to 7.2 Saturday Aug 15th.
This week a spreadsheet program i wrote stopped working so
I went back to Scott Klements example programs in the poi36 library
and get the same thing.
It crashes hssfr4 on the start_jvm line.
here is the overview of the joblog messages -
call setenv
Library POI36 already exists in library list.
Environment variable added.
Environment variable added.
Environment variable added.
call hdrdemo
Pointer not set for location referenced.
Pointer not set for location referenced.
Java exception received when calling Java method.
Application error. RNX0301 unmonitored by HSSFR4 at statement
0000102100,
instruction X'0000'.
The call to HSSF_BEGIN ended in error (C G D F).
? C
The call to HSSF_BEGIN ended in error (C G D F).
? C
Application error. CEE9901 unmonitored by HDRDEMO at statement
0000005900, instruction X'0000'.
The error occurs in the hssf_get_jni_env() procedure (below) on the
start_jvm() line.
Is there some change made in 7.2 that needs to be allowed for / some
adjustment that needs to be made in order for hssfr4 to keep working?
-Any- ideas are greatly appreciated.
Another clue is if i do a wrkjvmjob, after trying to run the spreadsheet
pgm,
no entries show up under my user profile.
(leading me to believe the issue is something to do with starting the jvm)
Thanks,
John
*-----------------------------------------------------------------
* hssf_get_jni_env():
*
* Service program utility to get a pointer to the JNI environment
* you'll need this pointer in order to call many of the JNI
* routines.
*
* returns the pointer, or *NULL upon error
*-----------------------------------------------------------------
P hssf_get_jni_env...
P B EXPORT
D hssf_get_jni_env...
D PI *
D wwEnv s *
/free
wwEnv = attach_jvm();
if (wwEnv = *NULL);
wwEnv = start_jvm();
endif;
return wwEnv;
/end-free
P E
John Rusling
Senior Developer/Analyst
Quadion LLC
Minnesota Rubber & Plastics
952.927.1419
jrusling@xxxxxxxxxxx
<br />
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful.
As an Amazon Associate we earn from qualifying purchases.