2 Replies Latest reply on Jan 7, 2002 11:53 AM by R B

    Free TDS Driver and java.lang.NullPointerException

    R B Newbie

      Hi all

      I am receiving the following msg when doing back to back calls of a Stateless Session EJB from a Servelet. The first call works fine -- the 2nd results in this exception at the "DriverManager.getConnection(...)" call. I am using the FreeTDS JDBC SQL Server driver with JBoss 2.4.3 with Appache Tomcat 3.2.3 on Win2K system and JDK 1.3.0_02.

      Thanks for your time.

      java.rmi.ServerException: Transaction rolled back; nested exception is: java.lang.NullPointerException java.rmi.ServerException: Transaction rolled back; nested exception is: java.lang.NullPointerException java.lang.NullPointerException at inhouse.usersupport.batchdel.BatchDelBean.removeBatchId(BatchDelBean.java:112) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:543) at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:276) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:87) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195) at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:286) at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:489) at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:335) at org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(StatelessSessionProxy.java:123) at $Proxy3.removeBatchId(Unknown Source) at inhouse.usersupport.batchdel.BatchDelServlet.doPost(BatchDelServlet.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:484)