[jboss-jira] [JBoss JIRA] (AS7-3826) EJB client: NPE is returned to the client in case of server crash

Radoslav Husar (JIRA) jira-events at lists.jboss.org
Mon Feb 20 10:51:36 EST 2012


Radoslav Husar created AS7-3826:
-----------------------------------

             Summary: EJB client: NPE is returned to the client in case of server crash
                 Key: AS7-3826
                 URL: https://issues.jboss.org/browse/AS7-3826
             Project: Application Server 7
          Issue Type: Bug
          Components: Clustering, EJB
    Affects Versions: 7.1.0.Final
            Reporter: Radoslav Husar
            Assignee: jaikiran pai
            Priority: Critical
             Fix For: 7.1.1.Final


In case of remote server crashing, the client gets NPE.

# NPE is not telling at all, I m sure that the client knows what went wrong and can throw a more meaningful exception.
# AFAIR in EAP5 the client could do a retry and not fail. I guess this is still part of discussion whether this will be supported.

{noformat}
2012/02/20 10:26:22:422 EST [ERROR][Runner - 54] HOST perf17.mw.lab.eng.bos.redhat.com:rootProcess:c - Error getting response. <java.lang.NullPointerException>
        java.lang.NullPointerException
	at org.jboss.ejb.client.remoting.ChannelAssociation$UnusableChannelResultProducer.getResult(ChannelAssociation.java:412)
	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:212)
	at org.jboss.ejb.client.TransactionInterceptor.handleInvocationResult(TransactionInterceptor.java:47)
	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:214)
	at org.jboss.ejb.client.ReceiverInterceptor.handleInvocationResult(ReceiverInterceptor.java:96)
	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:203)
	at org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:341)
	at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:140)
	at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121)
	at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104)
	at $Proxy0.getSerialAndIncrement(Unknown Source)
	at org.jboss.smartfrog.clustering.ejb3.StatefulSBProcessorFactoryImpl$EJB3RequestProcessor.processRequest(StatefulSBProcessorFactoryImpl.java:68)
	at org.jboss.smartfrog.loaddriver.CompoundRequestProcessorFactoryImpl$CompoundRequestProcessor.processRequest(CompoundRequestProcessorFactoryImpl.java:51)
	at org.jboss.smartfrog.loaddriver.Runner.run(Runner.java:87)
	at java.lang.Thread.run(Thread.java:662)
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list