wood burning stoves 2.0*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Null pointer in JTSConnection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Null pointer in JTSConnection" Watch "Null pointer in JTSConnection" New topic

Null pointer in JTSConnection

Parameswaran Thangavel
Ranch Hand

Joined: Mar 01, 2005
Posts: 485
hi all
when i invoke the service (EJB) from my application (java client), i am getting the below exception.

Nested Exception: java.lang.NullPointerException
at weblogic.jdbc.wrapper.JTSConnection.initCopy(JTSConnection.java:197)
at weblogic.jdbc.jts.Driver.copyConnection(Driver.java:277)
at weblogic.jdbc.jts.Driver.copyLocalConnection(Driver.java:257)
at weblogic.jdbc.jts.Driver.connect(Driver.java:147)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:329)
at weblogic.jdbc.common.internal.RmiDataSource_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:492)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:435)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:430)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

i am calling that particular function twice and when i called for the second time i am getting the exception. is this has something to do with the previous service call transaction is not committed when i called the same service for second time. its just a browse service.
I agree. Here's the link: http://aspose.com/file-tools
subject: Null pointer in JTSConnection