Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

null pointer while getting inputstream for a socket  RSS feed

 
Rajesh Subbannavar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am getting null pointer exception while getting input stream for a socket.
Below is the stack trace.Any help would be appreciated.
2002.10.28 20:14:31.120 DA_DSS getXMLoutput Method
java.lang.NullPointerException
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(RuntimeException.java:37)
at java.lang.NullPointerException.<init>(NullPointerException.java:43)
at java.io.FileInputStream.<init>(FileInputStream.java:122)
at java.net.SocketInputStream.<init>(SocketInputStream.java:46)
at java.net.PlainSocketImpl.getInputStream(PlainSocketImpl.java:420)
at java.net.Socket$1.run(Socket.java:330)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.Socket.getInputStream(Socket.java:328)
at com.americanexpress.cst.common.dao.DA_DSS.getXMLOutput(DA_DSS.java:2784)
at com.americanexpress.cst.common.dao.DA_DSS.getGUIDForCupcake(DA_DSS.java:1897)
at com.americanexpress.cst.common.ejb.LoginBean.getRepDetails(LoginBean.java:245)
at com.americanexpress.cst.common.ejb.EJSRemoteLogin.getRepDetails(EJSRemoteLogin.java:35)
at com.americanexpress.cst.common.ejb._Login_BaseStub.getRepDetails(_Login_BaseStub.java:244)
at com.americanexpress.cst.common.ejb._Login_Stub.getRepDetails(Compiled Code)
at com.americanexpress.cst.common.utils.CSTINPAuthCheck.processRequest(CSTINPAuthCheck.java:321)
at com.americanexpress.util.frontservlet.Pipeline.executePipeline(Compiled Code)
at com.americanexpress.util.frontservlet.FrontServlet.processRequest(FrontServlet.java:232)
at com.americanexpress.util.frontservlet.FrontServlet.doGet(FrontServlet.java:49)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:644)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:371)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:793)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:719)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(Compiled Code)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled Code)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:154)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:105)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled Code)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:155)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:216)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:354)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(Compiled Code)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
Thanks in advance
Rajesh
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!