File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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(
at weblogic.jdbc.jts.Driver.copyConnection(
at weblogic.jdbc.jts.Driver.copyLocalConnection(
at weblogic.jdbc.jts.Driver.connect(
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(
at weblogic.jdbc.common.internal.RmiDataSource_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(
at weblogic.rmi.internal.BasicServerRef$
at weblogic.rmi.internal.BasicServerRef.handleRequest(
at weblogic.rmi.internal.BasicExecuteRequest.execute(
at weblogic.kernel.ExecuteThread.execute(

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:
subject: Null pointer in JTSConnection
It's not a secret anymore!