JRockit 8.1 - NPE in JNI call - CR178194 (Doc ID 775211.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle JRockit / JRockit / 8.1
Information in this document applies to any platform

Goal

DESCRIPTION:
Customer encountered the following JNI crash while testing JRockit in fail-over situations (like switching off the
database node or by removing the network cable of one machine).  The problem cannot be reproduced and happens only
sometimes in failover situations.

Thread Stack Trace:
    at mikadoneu/server/persistence/vorgangsverwaltung/impl/ICManager.speichereObjekt(ICManager.java:158)@0x6277f680
    at java/io/ObjectInputStream$PeekInputStream.close(Unknown 
Source)@0x61541c70
    --- End of stack trace

Customer says ICManager.speichereObjekt() (pure Java) calls TopLink (pure Java), which then calls the Oracle OCI
driver (which calls the native Oracle Client librariss).

CONFIGURATION:
JRockit 8.1 / JRockit 1.4.2_04
Error Message: Null pointer exception in native code
Signal info: si_signo=11, si_code=2
Threads / GC : Native Threads, GC strategy: parallel
             : mmHeap->data = 0x20000000, mmHeap->top = 0x60000000
             : mmStartCompaction = 0x2a000018, mmEndCompaction = 0x2f000000
Number CPUs : 2
Tot Phys Mem: 2097250304
OS version: Red Hat Linux Advanced Server release 2.1AS (Derry)
Linux version 2.4.18-e.37smp (root@md05) (gcc version 2.96 20000731 (Red Hat 
Linux 7.2 2.96-118.7.2)) #1 SMP Mon Mar 29 16:09:54 CEST 2004
State: JVM is running
Relevant Command Line Options: -Xms1024m -Xmx1024m -Xns512m -Xgc:parallel
C Heap: Good; no memory allocations have failed

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms