Nagin Kothari [
http://community.jboss.org/people/nagin.kothari] replied to the discussion
"NPE in StateslessContainer at line 396"
To view the discussion, visit:
http://community.jboss.org/message/540691#540691
--------------------------------------------------------------
I am using Jboss 6.0.0M2
Following is complete stacktrace
java.lang.NullPointerException
at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(
StatelessContainer.java:396)at
org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(
InvokableContextClassProxyHack.java:53)at org.jboss.aop.Dispatcher.invoke(
Dispatcher.java:91)at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(
AOPRemotingInvocationHandler.java:82)at org.jboss.remoting.ServerInvoker.invoke(
ServerInvoker.java:897)at
org.jboss.remoting.transport.socket.ServerThread.completeInvocation(
ServerThread.java:768)at
org.jboss.remoting.transport.socket.ServerThread.processInvocation(
ServerThread.java:721)at org.jboss.remoting.transport.socket.ServerThread.dorun(
ServerThread.java:548)at org.jboss.remoting.transport.socket.ServerThread.run(
ServerThread.java:234)at org.jboss.remoting.MicroRemoteClientInvoker.invoke(
MicroRemoteClientInvoker.java:163)at org.jboss.remoting.Client.invoke(
Client.java:1634)at org.jboss.remoting.Client.invoke(
Client.java:548)at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(
InvokeRemoteInterceptor.java:62)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
MethodInvocation.java:101)at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(
ClientTxPropagationInterceptor.java:67)at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
MethodInvocation.java:101)at
org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(
SecurityClientInterceptor.java:65)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
MethodInvocation.java:101)at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(
IsLocalInterceptor.java:74)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
MethodInvocation.java:101)at org.jboss.aspects.remoting.PojiProxy.invoke(
PojiProxy.java:61)at $Proxy44.invoke(Unknown Source)
at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(
SessionProxyInvocationHandlerBase.java:188)at $Proxy43.authenticateUser(Unknown Source)
at com.acknow.servlets.login.GreetingServiceImpl.greetServer(
GreetingServiceImpl.java:45)at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(
RPC.java:562)at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(
RemoteServiceServlet.java:188)at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(
RemoteServiceServlet.java:224)at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(
AbstractRemoteServiceServlet.java:62)at javax.servlet.http.HttpServlet.service(
HttpServlet.java:637)at javax.servlet.http.HttpServlet.service(
HttpServlet.java:717)at org.mortbay.jetty.servlet.ServletHolder.handle(
ServletHolder.java:487)at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
ServletHandler.java:1097)at com.acknow.webcore.WebAccessFilter.doFilter(
WebAccessFilter.java:39)at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
ServletHandler.java:1088)at org.mortbay.jetty.servlet.ServletHandler.handle(
ServletHandler.java:360)at org.mortbay.jetty.security.SecurityHandler.handle(
SecurityHandler.java:216)at org.mortbay.jetty.servlet.SessionHandler.handle(
SessionHandler.java:181)at org.mortbay.jetty.handler.ContextHandler.handle(
ContextHandler.java:729)at org.mortbay.jetty.webapp.WebAppContext.handle(
WebAppContext.java:405)at org.mortbay.jetty.handler.HandlerWrapper.handle(
HandlerWrapper.java:152)at org.mortbay.jetty.handler.RequestLogHandler.handle(
RequestLogHandler.java:49)at org.mortbay.jetty.handler.HandlerWrapper.handle(
HandlerWrapper.java:152)at org.mortbay.jetty.Server.handle(
Server.java:324)at org.mortbay.jetty.HttpConnection.handleRequest(
HttpConnection.java:505)at org.mortbay.jetty.HttpConnection$RequestHandler.content(
HttpConnection.java:843)at org.mortbay.jetty.HttpParser.parseNext(
HttpParser.java:647)at org.mortbay.jetty.HttpParser.parseAvailable(
HttpParser.java:211)at org.mortbay.jetty.HttpConnection.handle(
HttpConnection.java:380)at org.mortbay.io.nio.SelectChannelEndPoint.run(
SelectChannelEndPoint.java:395)at org.mortbay.thread.QueuedThreadPool$PoolThread.run(
QueuedThreadPool.java:488)at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(
InvokeRemoteInterceptor.java:74)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
MethodInvocation.java:101)at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(
ClientTxPropagationInterceptor.java:67)at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
MethodInvocation.java:101)at
org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(
SecurityClientInterceptor.java:65)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
MethodInvocation.java:101)at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(
IsLocalInterceptor.java:74)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
MethodInvocation.java:101)at org.jboss.aspects.remoting.PojiProxy.invoke(
PojiProxy.java:61)at $Proxy44.invoke(Unknown Source)
at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(
SessionProxyInvocationHandlerBase.java:188)at $Proxy43.authenticateUser(Unknown Source)
at com.acknow.servlets.login.GreetingServiceImpl.greetServer(
GreetingServiceImpl.java:45)at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(
RPC.java:562)at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(
RemoteServiceServlet.java:188)at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(
RemoteServiceServlet.java:224)at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(
AbstractRemoteServiceServlet.java:62)at javax.servlet.http.HttpServlet.service(
HttpServlet.java:637)at javax.servlet.http.HttpServlet.service(
HttpServlet.java:717)at org.mortbay.jetty.servlet.ServletHolder.handle(
ServletHolder.java:487)at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
ServletHandler.java:1097)at com.acknow.webcore.WebAccessFilter.doFilter(
WebAccessFilter.java:39)at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
ServletHandler.java:1088)at org.mortbay.jetty.servlet.ServletHandler.handle(
ServletHandler.java:360)at org.mortbay.jetty.security.SecurityHandler.handle(
SecurityHandler.java:216)at org.mortbay.jetty.servlet.SessionHandler.handle(
SessionHandler.java:181)at org.mortbay.jetty.handler.ContextHandler.handle(
ContextHandler.java:729)at org.mortbay.jetty.webapp.WebAppContext.handle(
WebAppContext.java:405)at org.mortbay.jetty.handler.HandlerWrapper.handle(
HandlerWrapper.java:152)at org.mortbay.jetty.handler.RequestLogHandler.handle(
RequestLogHandler.java:49)at org.mortbay.jetty.handler.HandlerWrapper.handle(
HandlerWrapper.java:152)at org.mortbay.jetty.Server.handle(
Server.java:324)at org.mortbay.jetty.HttpConnection.handleRequest(
HttpConnection.java:505)at org.mortbay.jetty.HttpConnection$RequestHandler.content(
HttpConnection.java:843)at org.mortbay.jetty.HttpParser.parseNext(
HttpParser.java:647)at org.mortbay.jetty.HttpParser.parseAvailable(
HttpParser.java:211)at org.mortbay.jetty.HttpConnection.handle(
HttpConnection.java:380)at org.mortbay.io.nio.SelectChannelEndPoint.run(
SelectChannelEndPoint.java:395)at org.mortbay.thread.QueuedThreadPool$PoolThread.run(
QueuedThreadPool.java:488)
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/540691#540691]
Start a new discussion in EJB 3.0 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]