cancel
Showing results for 
Search instead for 
Did you mean: 

sapinst error at "Import Java Dump", java.lang.ArrayIndexOutOfBounds: 0

Former Member
0 Kudos

Hello!

I try to install SAP Solution Manager 4.0 SR1 at AIX and

got a problem at Task "Import Java dump",

Error: java.lang.ArrayIndexOutOfBoundsException: 0

Detailed Information:

OS:

AIX 5.3 (05)

Java:

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)

Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build

caix64142-20070317 (SR8) (JIT enabled: jitc))

===============

sapinst.log

===============


...
ERROR 2007-05-09 10:28:14
CJS-30049  <html>Execution of JLoad tool '/usr/java14_64/bin/java -classpath /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/launcher.jar -showversion -Xmx512m com.sap.engine.offline.OfflineToolStart com.sap.inst.jload.Jload /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/lib/iaik_jce.jar:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/jload.jar:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/antlr.jar:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/exception.jar:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/jddi.jar:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/logging.jar:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/offlineconfiguration.jar:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/opensqlsta.jar:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar:/oracle/client/10x_64/instantclient/ojdbc14.jar -sec LSM,jdbc/pool/LSM,/usr/sap/LSM/SYS/global/security/data/SecStore.properties,/usr/sap/LSM/SYS/global/security/data/SecStore.key -dataDir /sapcd/51032008/JAVA_EXPORT/JDMP -job /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/IMPORT.XML -log jload.log' aborts with return code 1.<br>SOLUTION: Check 'jload.log' and '/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/jload.java.log' for more information.</html>

ERROR 2007-05-09 10:28:14
FCO-00011  The step importJavaDump with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_Jload|ind|ind|ind|ind|9|0|importJavaDump was executed with status ERROR .

===========

jload.java.log

===========


java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142-20070317 (SR8) (JIT enabled: jitc))

Error: java.lang.ArrayIndexOutOfBoundsException: 0

================================

When i start the problematic java-piece with

verbose output

================================


...
[Loaded java.text.DecimalFormat from /usr/java14_64/jre/lib/core.jar]
[Loaded java.text.DecimalFormat
...
[Loaded java.text.DecimalFormat from /usr/java14_64/jre/lib/core.jar]
[Loaded java.text.DecimalFormat$1 from /usr/java14_64/jre/lib/core.jar]
[Loaded java.text.FieldPosition from /usr/java14_64/jre/lib/core.jar]
[Loaded [Ljava.util.logging.Handler;]
[Signaling in VM: java/lang/ArrayIndexOutOfBoundsException, message: 0]
        at com.sap.inst.jload.Jload.openLogFile(Jload.java:70)
        at com.sap.inst.jload.Jload.main(Jload.java:559)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
        at java.lang.reflect.Method.invoke(Method.java:391)
        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81
Error: java.lang.ArrayIndexOutOfBoundsException: 0
 from /usr/java14_64/jre/lib/core.jar]
[Loaded java.text.FieldPosition from /usr/java14_64/jre/lib/core.jar]
[Loaded [Ljava.util.logging.Handler;]
[Signaling in VM: java/lang/ArrayIndexOutOfBoundsException, message: 0]
        at com.sap.inst.jload.Jload.openLogFile(Jload.java:70)
        at com.sap.inst.jload.Jload.main(Jload.java:559)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
        at java.lang.reflect.Method.invoke(Method.java:391)
        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81
Error: java.lang.ArrayIndexOutOfBoundsException: 0

Thank you in advance,

fritz pexa

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Fritz

I'm also getting the same error. I'm sure, you are able to fix this problem. What could be the cause of this problem. pls help me to resolve this problem..

Thanks in advance

Amar

rainer_manthey
Explorer
0 Kudos

Hello!

I got the same error within same environment, could you pls help me?

@Fritz: What was the solution? I tried many ways but always the same error...

SAPINST always stops while Import of Java Dump with :

... Output:

java version "1.4.2"

Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)

IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 AIX ppc64-64 j9ap64142ifx-20070510a

(JIT enabled)

J9VM - 20070425_12492_BHdSMr

JIT - 20070223_1804ifx1_r8

GC - 20070227_AA)

Error: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0</b>

ERROR 2007-07-20 00:55:19

CJSlibModule::writeError_impl()

CJS-30049 <html>Execution of JLoad tool '/usr/java14_64/bin/java -classpath /us

r/sap/sapinst/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/lau

ncher.jar -showversion -Xmx512m -Xj9 com.sap.engine.offline.OfflineToolStart com

.sap.inst.jload.Jload /usr/sap/sapinst/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL

/AS/install/lib/iaik_jce.jar:/usr/sap/sapinst/sapinst_instdir/SOLMAN/SYSTEM/ORA/

CENTRAL/AS/install/sharedlib/jload.jar:/usr/sap/sapinst/sapinst_instdir/SOLMAN/S

YSTEM/ORA/CENTRAL/AS/install/sharedlib/antlr.jar:/usr/sap/sapinst/sapinst_instdi

r/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/exception.jar:/usr/sap/sapinst/

sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/jddi.jar:/usr/sap

/sapinst/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/logging.

jar:/usr/sap/sapinst/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/shared

lib/offlineconfiguration.jar:/usr/sap/sapinst/sapinst_instdir/SOLMAN/SYSTEM/ORA/

CENTRAL/AS/install/sharedlib/opensqlsta.jar:/usr/sap/sapinst/sapinst_instdir/SOL

MAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar:/oracle/client

/10x_64/instantclient/ojdbc14.jar -sec ISM,jdbc/pool/ISM,/usr/sap/ISM/SYS/global

/security/data/SecStore.properties,/usr/sap/ISM/SYS/global/security/data/SecStor

e.key -dataDir /software/sapinst/SolutionManager40/J_COMP/JAVA_EXPORT/JDMP -job

/usr/sap/sapinst/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/IMPORT.XML -log jl

oad.log' aborts with return code 1.<br>SOLUTION: Check 'jload.log' and '/usr/sap

/sapinst/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/jload.java.log' for more i

nformation.</html>

ERROR 2007-07-20 00:55:19

FCO-00011 The step importJavaDump with step key |NW_Onehost|ind|ind|ind|ind|0|0

|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|N

W_Jload|ind|ind|ind|ind|9|0|importJavaDump was executed with status ERROR .<b>

Thanks in advance

Regs

Rainer

Former Member
0 Kudos

Hi!

Thank you for your quick answer.

Now i have installed the latest xlc fileset for aix:


lslpp -l |grep -i xlc
  xlC.aix50.rte              8.0.0.9  COMMITTED  C Set ++ Runtime for AIX 5.0
  xlC.cpp                    6.0.0.0  COMMITTED  C for AIX Preprocessor
  xlC.msg.en_US.cpp          6.0.0.0  COMMITTED  C for AIX Preprocessor
  xlC.msg.en_US.rte          8.0.0.9  COMMITTED  C Set ++ Runtime
  xlC.rte                    8.0.0.9  COMMITTED  C Set ++ Runtime

But i did not know how SAP Note 482208 help me with the shell parameters,

please give me a hint.

BTW, the error is after the xlc-upgrade the same as befor.

thank you in advance,

fritz

Former Member
0 Kudos

Fritz,

This could be -a JVM error or shell parameter issue. Please have the correct 64 bit jre download ..

For instance, might also be a segmentation issue..

Refer notes -

1) 957841

2) most importantly refer 482208 for shell parameters

Hope this helps

Cheers

Senthil