LGDJAVA: String index out of range: 9131 Exception in thread "Thread-1740" java.lang.StringIndexOutOfBoundsException: String index out of range

(Last modified: 18Jan2005)

This document (10096232) is provided subject to the disclaimer at the end of this document.

fact

Novell Nsure Audit 1.0.2

Novell NetWare 6.5 SP2

Microsoft MS SQL

symptom

LGDJAVA: String index out of range: 9131   Exception in thread "Thread-1740" java.lang.StringIndexOutOfBoundsException: String index out of range: 9131  

After running for several minutes, the following error appears on the NetWare Logger screen:

LGDJAVA: String index out of range: 9131                                       
Exception in thread "Thread-1740" java.lang.StringIndexOutOfBoundsException: Str
ing index out of range: 9131                                                   
        at java.lang.String.checkBounds(String.java:287)                       
        at java.lang.String.<init>(String.java:319)                            
        at com.novell.naudit.EventStruct.<init>(Unknown Source)                
        at com.novell.naudit.JdbcLogDriver.ProcessEvent(Unknown Source)   

cause

When using the JDBC driver to connect to MS SQL, unloading LENGINE.NLM cannot unload the JVM invocation thread.  This means that when LENGINE is reloaded, an additional JBM invocation thread will be spawned.  After unloading LENGINE.NLM and reloading it a few times, the spurious java processes may prevent the Nsure Audit JDBC driver from functioning properly.

fix

After unloading LENGINE.NLM, execute "java -show" from the NetWare system console.  All java threads will be displayed, along with the thread id.  With LENGINE.NLM unloaded, use the "java -kill<threadid>" command to kill all active invocation threads.  Restart LENGINE.NLM.

document

Document Title: LGDJAVA: String index out of range: 9131 Exception in thread "Thread-1740" java.lang.StringIndexOutOfBoundsException: String index out of range: 9131
Document ID: 10096232
Solution ID: NOVL100597
Creation Date: 18Jan2005
Modified Date: 18Jan2005
Novell Product Class:Management Products

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.