Thread: Out Of memory Exception

Out Of memory Exception

From
Rajeshsundar Subramanian
Date:

Hi,

I’m running a java Socket programming using Multithreading and persisting data into PostgreSQL 8.3.4 using Hibernate 3.0 .

 

 

[JRockit] ERROR: The JVM has crashed. Writing crash information to E:\bea\user_projects\workspaces\default\CommServerORMImpl\jrockit.5920.dump.

 

 

===== BEGIN DUMP =============================================================

 

JRockit dump produced after 0 days, 00:10:02 on Mon Dec 06 20:45:04 2010

 

 

 

    **********************************************************

 

    *  If you see this dump, please go to                    *

 

    *  http://edocs.bea.com/jrockit/go2troubleshooting.html  *

 

    *  for troubleshooting information.                      *

 

    **********************************************************

 

 

 

Additional information is available in:

 

  E:\bea\user_projects\workspaces\default\CommServerORMImpl\jrockit.5920.dump

 

  E:\bea\user_projects\workspaces\default\CommServerORMImpl\jrockit.5920.mdmp

 

 

 

Error Message: Illegal memory access. [54]

 

Exception Rec: EXCEPTION_ACCESS_VIOLATION (c0000005) at 0x008C6204 - memory at 0x00000008 could not be read.

 

Minidump     : Wrote mdmp. Size is 139MB

 

SafeDllMode  : -1

 

Version      : BEA JRockit(R) R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32

 

GC Strategy  : Mode: throughput. Currently using strategy: genparpar

 

GC Status    : OC is not running. Last finished OC was OC#187.

 

             : YC is not running. Last finished YC was YC#2091.

 

OC History   : Strategy genparpar was used for OC#1 to OC#187.

 

YC History   : Ran 10 YCs before OC#183.

 

             : Ran 10 YCs before OC#184.

 

             : Ran 11 YCs before OC#185.

 

             : Ran 17 YCs before OC#186.

 

             : Ran 6 YCs before OC#187.

 

             : Ran 1 YCs since last OC.

 

YC Promotion : Last YC successfully promoted all objects

 

Heap         : 0x00C00000 - 0x04C00000  (Size: 64 MB)

 

Compaction   : 0x00C00000 - 0x01000000  (Current compaction type: internal)

 

NurseryList  : 0x00F894D8 - 0x029D1068

 

KeepArea     : 0x029C8A58 - 0x025F53F8

 

NurseryMarker: [ 0x01B42A78,  0x020A3E90 ]

 

CompRefs     : References are 32-bit.

 

CPU          : Intel (null) SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 EM64T

 

Number CPUs  : 8

 

Tot Phys Mem : 6431113216 (6133 MB)

 

OS version   : Microsoft Windows Server 2003 version 5.2 Service Pack 2 (Build 3790) (32-bit)

 

Thread System: Windows Threads

 

Java locking : Lazy unlocking enabled (class banning) (transfer banning)

 

State        : JVM is running

 

Command Line : -Dsun.java.launcher=SUN_STANDARD com.altbu.comm.Server

 

java.home    : E:\bea\jrockit_160_05\jre

 

j.class.path : E:\bea\user_projects\workspaces\default\CommServerORMImpl\bin;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\antlr-2.7.6.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\commons-collections-3.1.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\dom4j-1.6.1.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\hibernate3.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\hibernate-jpa-2.0-api-1.0.0.Final.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\javassist-3.12.0.GA.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\jta-1.1.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\log4j-1.2.8.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\mysql-connector-java-5.1.13-bin.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\slf4j-api-1.6.1.jar;E:\BOSS Installation Guide\postgresql-8.4-701.jdbc4.jar

 

j.lib.path   : E:\bea\jrockit_160_05\bin;.;C:\WINDOWS\system32;C:\WINDOWS;E:\bea\jrockit_160_05\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

 

JAVA_HOME    : <not set>

 

_JAVA_OPTIONS: <not set>

 

PATH         : E:\bea\jrockit_160_05\jre\bin;E:\bea\jrockit_160_05\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

 

C Heap       : Good; no memory allocations have failed

 

StackOverFlow: 0 StackOverFlowErrors have occured

 

OutOfMemory  : 0 OutOfMemoryErrors have occured

 

 

 

Registers (from ThreadContext: 0x42F9F128 / OS context: 0x42F9F4F4):

 

   eax = 00000000    ecx = 00000000    edx = 000000b0    ebx = 44101260

 

   esp = 42f9f7c0    ebp = 4410126c    esi = 01ea9d58    edi = 00b8b0f0

 

    es = 00000023     cs = 0000001b     ss = 00000023     ds = 00000023

 

    fs = 0000003b     gs = 00000000

 

   eip = 008c6204 eflags = 00010202

 

 

 

Stack:

 

(* marks the word pointed to by the stack pointer)

 

42f9f7c0: 00974071* 01ea9d58  00000000  00b8b0f0  00000028  441013c4 

 

42f9f7d8: 009743dd  00b8b0f0  440fcc34  00000028  00000001  440fcc34 

 

42f9f7f0: 00974458  441013c4  440fcc34  00b8b0f0  441013d4  00000000 

 

42f9f808: 441013c4  008d103a  441013c4  00b8b0f0  00000028  441013c4 

 

 

 

Code:

 

(* marks the word pointed to by the instruction pointer)

 

008c61d4: ccccc300  cccccccc  cccccccc  a552b8a1  ccccc300  cccccccc 

 

008c61ec: cccccccc  a552bca1  ccccc300  cccccccc  cccccccc  08244c8b 

 

008c6204: b808518b* 00010000  0774d085  0424548b  c3044289  cccccccc 

 

008c621c: cccccccc  a8f1e8a1  ccccc300  cccccccc  cccccccc  a8f1f0a1 

 

 

 

Loaded modules:

 

(* denotes the module causing the exception)

 

00400000-00411fff  E:\bea\jrockit_160_05\bin\javaw.exe

 

7c800000-7c8c1fff  C:\WINDOWS\system32\ntdll.dll

 

77e40000-77f41fff  C:\WINDOWS\system32\kernel32.dll

 

77380000-77410fff  C:\WINDOWS\system32\USER32.dll

 

77c00000-77c48fff  C:\WINDOWS\system32\GDI32.dll

 

7d1e0000-7d27bfff  C:\WINDOWS\system32\ADVAPI32.dll

 

77c50000-77ceffff  C:\WINDOWS\system32\RPCRT4.dll

 

76f50000-76f62fff  C:\WINDOWS\system32\Secur32.dll

 

77ba0000-77bf9fff  C:\WINDOWS\system32\MSVCRT.dll

 

7c340000-7c395fff  E:\bea\jrockit_160_05\jre\bin\msvcr71.dll

 

00830000-00ad3fff *E:\bea\jrockit_160_05\jre\bin\jrockit\jvm.dll

 

76aa0000-76accfff  C:\WINDOWS\system32\WINMM.dll

 

71c00000-71c16fff  C:\WINDOWS\system32\WS2_32.dll

 

71bf0000-71bf7fff  C:\WINDOWS\system32\WS2HELP.dll

 

71bc0000-71bc7fff  C:\WINDOWS\system32\rdpsnd.dll

 

771f0000-77200fff  C:\WINDOWS\system32\WINSTA.dll

 

71c40000-71c96fff  C:\WINDOWS\system32\NETAPI32.dll

 

76b70000-76b7afff  C:\WINDOWS\system32\PSAPI.DLL

 

6d820000-6d82bfff  E:\bea\jrockit_160_05\jre\bin\verify.dll

 

6d3c0000-6d3defff  E:\bea\jrockit_160_05\jre\bin\java.dll

 

6d320000-6d327fff  E:\bea\jrockit_160_05\jre\bin\hpi.dll

 

6d860000-6d86efff  E:\bea\jrockit_160_05\jre\bin\zip.dll

 

6d620000-6d632fff  E:\bea\jrockit_160_05\jre\bin\net.dll

 

71b20000-71b60fff  C:\WINDOWS\system32\mswsock.dll

 

5f270000-5f2c9fff  C:\WINDOWS\system32\hnetcfg.dll

 

71ae0000-71ae7fff  C:\WINDOWS\System32\wshtcpip.dll

 

68000000-68034fff  C:\WINDOWS\system32\rsaenh.dll

 

76920000-769e1fff  C:\WINDOWS\system32\USERENV.dll

 

76ed0000-76ef9fff  C:\WINDOWS\system32\DNSAPI.dll

 

76f70000-76f76fff  C:\WINDOWS\System32\winrnr.dll

 

76f10000-76f3dfff  C:\WINDOWS\system32\WLDAP32.dll

 

76f80000-76f84fff  C:\WINDOWS\system32\rasadhlp.dll

 

47dd0000-47ee2fff  E:\bea\jrockit_160_05\jre\bin\dbghelp.dll

 

 

 

 

 

"pool-1-thread-36" id=47 idx=0xd8 tid=6164 lastJavaFrame=0x42F9F998

 

 

 

Stack 0: start=0x42F60000, end=0x42FA0000, guards=0x42F63000 (ok), forbidden=0x42F61000

 

Thread Stack Trace:

 

    at javalockInitLockword+4(javalock.c:2811+4)@0x008C6204

 

    at mmAllocObjectOrArray+385(objalloc.c:250+10)@0x00974071

 

    at mmAllocArrayInner+77(objalloc.c:619+25)@0x009743DD

 

    at mmAllocArray+104(objalloc.c:647+11)@0x00974458

 

    at jniNewAddressArray2+26(jniarray.c:442+26)@0x008D103A

 

    at setup_catch_exception+273(exceptionhandler.c:439+0)@0x00886E51

 

    at excCheckUnprocessedException+267(exceptionhandler.c:488+0)@0x00886FBB

 

    at tsCheckTransitToJava+30(execution.c:1414+12)@0x00888C2E

 

    -- Java stack --

 

    at jrockit/vm/ExceptionHandler.throwPendingType()V(Native Method)

 

    at jrockit/vm/RNI.callMarker()V(RNI.java)

 

    at jrockit/vm/Allocator.allocArray(Allocator.java:744)[optimized]

 

    at java/nio/CharBuffer.allocate(CharBuffer.java:95)

 

    at sun/nio/cs/StreamEncoder.flushLeftoverChar(StreamEncoder.java:214)

 

    at sun/nio/cs/StreamEncoder.implClose(StreamEncoder.java:282)

 

    at sun/nio/cs/StreamEncoder.close(StreamEncoder.java:130)

 

    ^-- Holding lock: java/io/OutputStreamWriter@0x0284F2F8[thin lock]

 

    at java/io/OutputStreamWriter.close(OutputStreamWriter.java:216)

 

    at org/postgresql/core/PGStream.close(PGStream.java:531)[inlined]

 

    at org/postgresql/core/v3/ProtocolConnectionImpl.close(ProtocolConnectionImpl.java:138)[optimized]

 

    at org/postgresql/jdbc2/AbstractJdbc2Connection.close(AbstractJdbc2Connection.java:537)[optimized]

 

    at org/hibernate/connection/DriverManagerConnectionProvider.closeConnection(DriverManagerConnectionProvider.java:160)

 

    at org/hibernate/jdbc/ConnectionManager.closeConnection(ConnectionManager.java:474)

 

    at org/hibernate/jdbc/ConnectionManager.aggressiveRelease(ConnectionManager.java:429)

 

    at org/hibernate/jdbc/ConnectionManager.afterTransaction(ConnectionManager.java:316)

 

    at org/hibernate/jdbc/JDBCContext.afterTransactionCompletion(JDBCContext.java:269)[inlined]

 

    at org/hibernate/transaction/JDBCTransaction.commit(JDBCTransaction.java:146)[optimized]

 

    at com/altbu/dao/OBUPeriodicDataDao.insert(OBUPeriodicDataDao.java:21)[optimized]

 

    at com/altbu/db/ConnectDB.insertPeriodicData(ConnectDB.java:29)[inlined]

 

    at com/altbu/comm/Parser.insertPeriodicRecord(Parser.java:423)[inlined]

 

    at com/altbu/comm/Parser.parseAndUpdate(Parser.java:46)[optimized]

 

    at com/altbu/comm/OBUTask.parseAndUpdate(OBUTask.java:205)[inlined]

 

    at com/altbu/comm/OBUTask.run(OBUTask.java:47)[optimized]

 

    at java/util/concurrent/ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)[optimized]

 

    at java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

 

    at java/lang/Thread.run(Thread.java:619)

 

    at jrockit/vm/RNI.c2java(IIIII)V(Native Method)

 

    -- end of trace

 

Pending Exception:

 

java/lang/NullPointerException:

 

    --- End of stack trace

 

 

 

    **********************************************************

 

    *  If you see this dump, please go to                    *

 

    *  http://edocs.bea.com/jrockit/go2troubleshooting.html  *

 

    *  for troubleshooting information.                      *

 

    **********************************************************

 

 

 

===== END DUMP ===============================================================

 

 

Regards,

Rajesh Sundar S

Re: Out Of memory Exception

From
Maciek Sakrejda
Date:
1. The dump says this is an illegal memory access, not an out of
memory error. Where did you get "out of memory exception"?
2. Although the driver, is involved, this does not look like an error
in the driver. Is there something that makes you think that it is? If
anything, this looks like a native code error (JRockit itself?) if
this is indeed a memory access violation.
---
Maciek Sakrejda | System Architect | Truviso

1065 E. Hillsdale Blvd., Suite 215
Foster City, CA 94404
(650) 242-3500 Main
www.truviso.com

Re: Out Of memory Exception

From
Guillaume Cottenceau
Date:
Maciek Sakrejda <msakrejda 'at' truviso.com> writes:

> 2. Although the driver, is involved, this does not look like an error
> in the driver. Is there something that makes you think that it is? If
> anything, this looks like a native code error (JRockit itself?) if
> this is indeed a memory access violation.

The PostgreSQL JDBC driver is written in pure Java, as far as I
know. So it cannot be guilty for a memory access violation or JVM
crash - it's either the JVM itself (albeit not probable at all)
or some native libraries in use..

--
Guillaume Cottenceau

Re: Out Of memory Exception

From
Dave Cramer
Date:
Hi,

JVM's should not crash. I think you should address this with Oracle.

Dave

On Tue, Dec 7, 2010 at 12:41 AM, Rajeshsundar Subramanian
<Rajeshsundar.Subramanian@defiance-tech.com> wrote:
> Hi,
>
> I’m running a java Socket programming using Multithreading and persisting
> data into PostgreSQL 8.3.4 using Hibernate 3.0 .
>
>
>
>
>
> [JRockit] ERROR: The JVM has crashed. Writing crash information to
> E:\bea\user_projects\workspaces\default\CommServerORMImpl\jrockit.5920.dump.
>
>
>
>
>
> ===== BEGIN DUMP
> =============================================================
>
>
>
> JRockit dump produced after 0 days, 00:10:02 on Mon Dec 06 20:45:04 2010
>
>
>
>
>
>
>
>     **********************************************************
>
>
>
>     *  If you see this dump, please go to                    *
>
>
>
>     *  http://edocs.bea.com/jrockit/go2troubleshooting.html  *
>
>
>
>     *  for troubleshooting information.                      *
>
>
>
>     **********************************************************
>
>
>
>
>
>
>
> Additional information is available in:
>
>
>
>
> E:\bea\user_projects\workspaces\default\CommServerORMImpl\jrockit.5920.dump
>
>
>
>
> E:\bea\user_projects\workspaces\default\CommServerORMImpl\jrockit.5920.mdmp
>
>
>
>
>
>
>
> Error Message: Illegal memory access. [54]
>
>
>
> Exception Rec: EXCEPTION_ACCESS_VIOLATION (c0000005) at 0x008C6204 - memory
> at 0x00000008 could not be read.
>
>
>
> Minidump     : Wrote mdmp. Size is 139MB
>
>
>
> SafeDllMode  : -1
>
>
>
> Version      : BEA JRockit(R)
> R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32
>
>
>
> GC Strategy  : Mode: throughput. Currently using strategy: genparpar
>
>
>
> GC Status    : OC is not running. Last finished OC was OC#187.
>
>
>
>              : YC is not running. Last finished YC was YC#2091.
>
>
>
> OC History   : Strategy genparpar was used for OC#1 to OC#187.
>
>
>
> YC History   : Ran 10 YCs before OC#183.
>
>
>
>              : Ran 10 YCs before OC#184.
>
>
>
>              : Ran 11 YCs before OC#185.
>
>
>
>              : Ran 17 YCs before OC#186.
>
>
>
>              : Ran 6 YCs before OC#187.
>
>
>
>              : Ran 1 YCs since last OC.
>
>
>
> YC Promotion : Last YC successfully promoted all objects
>
>
>
> Heap         : 0x00C00000 - 0x04C00000  (Size: 64 MB)
>
>
>
> Compaction   : 0x00C00000 - 0x01000000  (Current compaction type: internal)
>
>
>
> NurseryList  : 0x00F894D8 - 0x029D1068
>
>
>
> KeepArea     : 0x029C8A58 - 0x025F53F8
>
>
>
> NurseryMarker: [ 0x01B42A78,  0x020A3E90 ]
>
>
>
> CompRefs     : References are 32-bit.
>
>
>
> CPU          : Intel (null) SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 EM64T
>
>
>
> Number CPUs  : 8
>
>
>
> Tot Phys Mem : 6431113216 (6133 MB)
>
>
>
> OS version   : Microsoft Windows Server 2003 version 5.2 Service Pack 2
> (Build 3790) (32-bit)
>
>
>
> Thread System: Windows Threads
>
>
>
> Java locking : Lazy unlocking enabled (class banning) (transfer banning)
>
>
>
> State        : JVM is running
>
>
>
> Command Line : -Dsun.java.launcher=SUN_STANDARD com.altbu.comm.Server
>
>
>
> java.home    : E:\bea\jrockit_160_05\jre
>
>
>
> j.class.path :
>
E:\bea\user_projects\workspaces\default\CommServerORMImpl\bin;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\antlr-2.7.6.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\commons-collections-3.1.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\dom4j-1.6.1.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\hibernate3.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\hibernate-jpa-2.0-api-1.0.0.Final.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\javassist-3.12.0.GA.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\jta-1.1.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\log4j-1.2.8.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\mysql-connector-java-5.1.13-bin.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\slf4j-api-1.6.1.jar;E:\BOSS
> Installation Guide\postgresql-8.4-701.jdbc4.jar
>
>
>
> j.lib.path   :
>
E:\bea\jrockit_160_05\bin;.;C:\WINDOWS\system32;C:\WINDOWS;E:\bea\jrockit_160_05\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
>
>
>
> JAVA_HOME    : <not set>
>
>
>
> _JAVA_OPTIONS: <not set>
>
>
>
> PATH         :
> E:\bea\jrockit_160_05\jre\bin;E:\bea\jrockit_160_05\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
>
>
>
> C Heap       : Good; no memory allocations have failed
>
>
>
> StackOverFlow: 0 StackOverFlowErrors have occured
>
>
>
> OutOfMemory  : 0 OutOfMemoryErrors have occured
>
>
>
>
>
>
>
> Registers (from ThreadContext: 0x42F9F128 / OS context: 0x42F9F4F4):
>
>
>
>    eax = 00000000    ecx = 00000000    edx = 000000b0    ebx = 44101260
>
>
>
>    esp = 42f9f7c0    ebp = 4410126c    esi = 01ea9d58    edi = 00b8b0f0
>
>
>
>     es = 00000023     cs = 0000001b     ss = 00000023     ds = 00000023
>
>
>
>     fs = 0000003b     gs = 00000000
>
>
>
>    eip = 008c6204 eflags = 00010202
>
>
>
>
>
>
>
> Stack:
>
>
>
> (* marks the word pointed to by the stack pointer)
>
>
>
> 42f9f7c0: 00974071* 01ea9d58  00000000  00b8b0f0  00000028  441013c4
>
>
>
> 42f9f7d8: 009743dd  00b8b0f0  440fcc34  00000028  00000001  440fcc34
>
>
>
> 42f9f7f0: 00974458  441013c4  440fcc34  00b8b0f0  441013d4  00000000
>
>
>
> 42f9f808: 441013c4  008d103a  441013c4  00b8b0f0  00000028  441013c4
>
>
>
>
>
>
>
> Code:
>
>
>
> (* marks the word pointed to by the instruction pointer)
>
>
>
> 008c61d4: ccccc300  cccccccc  cccccccc  a552b8a1  ccccc300  cccccccc
>
>
>
> 008c61ec: cccccccc  a552bca1  ccccc300  cccccccc  cccccccc  08244c8b
>
>
>
> 008c6204: b808518b* 00010000  0774d085  0424548b  c3044289  cccccccc
>
>
>
> 008c621c: cccccccc  a8f1e8a1  ccccc300  cccccccc  cccccccc  a8f1f0a1
>
>
>
>
>
>
>
> Loaded modules:
>
>
>
> (* denotes the module causing the exception)
>
>
>
> 00400000-00411fff  E:\bea\jrockit_160_05\bin\javaw.exe
>
>
>
> 7c800000-7c8c1fff  C:\WINDOWS\system32\ntdll.dll
>
>
>
> 77e40000-77f41fff  C:\WINDOWS\system32\kernel32.dll
>
>
>
> 77380000-77410fff  C:\WINDOWS\system32\USER32.dll
>
>
>
> 77c00000-77c48fff  C:\WINDOWS\system32\GDI32.dll
>
>
>
> 7d1e0000-7d27bfff  C:\WINDOWS\system32\ADVAPI32.dll
>
>
>
> 77c50000-77ceffff  C:\WINDOWS\system32\RPCRT4.dll
>
>
>
> 76f50000-76f62fff  C:\WINDOWS\system32\Secur32.dll
>
>
>
> 77ba0000-77bf9fff  C:\WINDOWS\system32\MSVCRT.dll
>
>
>
> 7c340000-7c395fff  E:\bea\jrockit_160_05\jre\bin\msvcr71.dll
>
>
>
> 00830000-00ad3fff *E:\bea\jrockit_160_05\jre\bin\jrockit\jvm.dll
>
>
>
> 76aa0000-76accfff  C:\WINDOWS\system32\WINMM.dll
>
>
>
> 71c00000-71c16fff  C:\WINDOWS\system32\WS2_32.dll
>
>
>
> 71bf0000-71bf7fff  C:\WINDOWS\system32\WS2HELP.dll
>
>
>
> 71bc0000-71bc7fff  C:\WINDOWS\system32\rdpsnd.dll
>
>
>
> 771f0000-77200fff  C:\WINDOWS\system32\WINSTA.dll
>
>
>
> 71c40000-71c96fff  C:\WINDOWS\system32\NETAPI32.dll
>
>
>
> 76b70000-76b7afff  C:\WINDOWS\system32\PSAPI.DLL
>
>
>
> 6d820000-6d82bfff  E:\bea\jrockit_160_05\jre\bin\verify.dll
>
>
>
> 6d3c0000-6d3defff  E:\bea\jrockit_160_05\jre\bin\java.dll
>
>
>
> 6d320000-6d327fff  E:\bea\jrockit_160_05\jre\bin\hpi.dll
>
>
>
> 6d860000-6d86efff  E:\bea\jrockit_160_05\jre\bin\zip.dll
>
>
>
> 6d620000-6d632fff  E:\bea\jrockit_160_05\jre\bin\net.dll
>
>
>
> 71b20000-71b60fff  C:\WINDOWS\system32\mswsock.dll
>
>
>
> 5f270000-5f2c9fff  C:\WINDOWS\system32\hnetcfg.dll
>
>
>
> 71ae0000-71ae7fff  C:\WINDOWS\System32\wshtcpip.dll
>
>
>
> 68000000-68034fff  C:\WINDOWS\system32\rsaenh.dll
>
>
>
> 76920000-769e1fff  C:\WINDOWS\system32\USERENV.dll
>
>
>
> 76ed0000-76ef9fff  C:\WINDOWS\system32\DNSAPI.dll
>
>
>
> 76f70000-76f76fff  C:\WINDOWS\System32\winrnr.dll
>
>
>
> 76f10000-76f3dfff  C:\WINDOWS\system32\WLDAP32.dll
>
>
>
> 76f80000-76f84fff  C:\WINDOWS\system32\rasadhlp.dll
>
>
>
> 47dd0000-47ee2fff  E:\bea\jrockit_160_05\jre\bin\dbghelp.dll
>
>
>
>
>
>
>
>
>
>
>
> "pool-1-thread-36" id=47 idx=0xd8 tid=6164 lastJavaFrame=0x42F9F998
>
>
>
>
>
>
>
> Stack 0: start=0x42F60000, end=0x42FA0000, guards=0x42F63000 (ok),
> forbidden=0x42F61000
>
>
>
> Thread Stack Trace:
>
>
>
>     at javalockInitLockword+4(javalock.c:2811+4)@0x008C6204
>
>
>
>     at mmAllocObjectOrArray+385(objalloc.c:250+10)@0x00974071
>
>
>
>     at mmAllocArrayInner+77(objalloc.c:619+25)@0x009743DD
>
>
>
>     at mmAllocArray+104(objalloc.c:647+11)@0x00974458
>
>
>
>     at jniNewAddressArray2+26(jniarray.c:442+26)@0x008D103A
>
>
>
>     at setup_catch_exception+273(exceptionhandler.c:439+0)@0x00886E51
>
>
>
>     at excCheckUnprocessedException+267(exceptionhandler.c:488+0)@0x00886FBB
>
>
>
>     at tsCheckTransitToJava+30(execution.c:1414+12)@0x00888C2E
>
>
>
>     -- Java stack --
>
>
>
>     at jrockit/vm/ExceptionHandler.throwPendingType()V(Native Method)
>
>
>
>     at jrockit/vm/RNI.callMarker()V(RNI.java)
>
>
>
>     at jrockit/vm/Allocator.allocArray(Allocator.java:744)[optimized]
>
>
>
>     at java/nio/CharBuffer.allocate(CharBuffer.java:95)
>
>
>
>     at sun/nio/cs/StreamEncoder.flushLeftoverChar(StreamEncoder.java:214)
>
>
>
>     at sun/nio/cs/StreamEncoder.implClose(StreamEncoder.java:282)
>
>
>
>     at sun/nio/cs/StreamEncoder.close(StreamEncoder.java:130)
>
>
>
>     ^-- Holding lock: java/io/OutputStreamWriter@0x0284F2F8[thin lock]
>
>
>
>     at java/io/OutputStreamWriter.close(OutputStreamWriter.java:216)
>
>
>
>     at org/postgresql/core/PGStream.close(PGStream.java:531)[inlined]
>
>
>
>     at
> org/postgresql/core/v3/ProtocolConnectionImpl.close(ProtocolConnectionImpl.java:138)[optimized]
>
>
>
>     at
> org/postgresql/jdbc2/AbstractJdbc2Connection.close(AbstractJdbc2Connection.java:537)[optimized]
>
>
>
>     at
> org/hibernate/connection/DriverManagerConnectionProvider.closeConnection(DriverManagerConnectionProvider.java:160)
>
>
>
>     at
> org/hibernate/jdbc/ConnectionManager.closeConnection(ConnectionManager.java:474)
>
>
>
>     at
> org/hibernate/jdbc/ConnectionManager.aggressiveRelease(ConnectionManager.java:429)
>
>
>
>     at
> org/hibernate/jdbc/ConnectionManager.afterTransaction(ConnectionManager.java:316)
>
>
>
>     at
> org/hibernate/jdbc/JDBCContext.afterTransactionCompletion(JDBCContext.java:269)[inlined]
>
>
>
>     at
> org/hibernate/transaction/JDBCTransaction.commit(JDBCTransaction.java:146)[optimized]
>
>
>
>     at
> com/altbu/dao/OBUPeriodicDataDao.insert(OBUPeriodicDataDao.java:21)[optimized]
>
>
>
>     at com/altbu/db/ConnectDB.insertPeriodicData(ConnectDB.java:29)[inlined]
>
>
>
>     at com/altbu/comm/Parser.insertPeriodicRecord(Parser.java:423)[inlined]
>
>
>
>     at com/altbu/comm/Parser.parseAndUpdate(Parser.java:46)[optimized]
>
>
>
>     at com/altbu/comm/OBUTask.parseAndUpdate(OBUTask.java:205)[inlined]
>
>
>
>     at com/altbu/comm/OBUTask.run(OBUTask.java:47)[optimized]
>
>
>
>     at
> java/util/concurrent/ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)[optimized]
>
>
>
>     at
> java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>
>
>
>     at java/lang/Thread.run(Thread.java:619)
>
>
>
>     at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
>
>
>
>     -- end of trace
>
>
>
> Pending Exception:
>
>
>
> java/lang/NullPointerException:
>
>
>
>     --- End of stack trace
>
>
>
>
>
>
>
>     **********************************************************
>
>
>
>     *  If you see this dump, please go to                    *
>
>
>
>     *  http://edocs.bea.com/jrockit/go2troubleshooting.html  *
>
>
>
>     *  for troubleshooting information.                      *
>
>
>
>     **********************************************************
>
>
>
>
>
>
>
> ===== END DUMP
> ===============================================================
>
>
>
>
>
> Regards,
>
> Rajesh Sundar S