Hushen Savani [
https://community.jboss.org/people/hushen.savani] created the discussion
"Runtime Exception while creating EJB Object"
To view the discussion, visit:
https://community.jboss.org/message/648806#648806
--------------------------------------------------------------
Hi Community,
I have developed an application with *Java 1.6*, *EJB-2.1*. The application is
deployed on *JBossAS-5.1.0*. The application has been running very smooth for long a time.
But for last two days, I found following sort of Runtime Exception while creating EJB
Local Object/Local Home:
*Log Snippet-1*:
2012-01-25 17:09:02,896 ERROR [STDERR] (WorkerThread#4[127.0.0.1:47153])
Caused by: java.lang.NullPointerException
2012-01-25 17:09:02,896 ERROR [STDERR] (WorkerThread#4[127.0.0.1:47153])
at
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyF
actory.java:343)
2012-01-25 17:09:02,896 ERROR [STDERR] (WorkerThread#4[127.0.0.1:47153])
at
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
2012-01-25 17:09:02,896 ERROR [STDERR] (WorkerThread#4[127.0.0.1:47153])
at $Proxy257.create(Unknown Source)
*Log Snippet-2*:
java.lang.NullPointerException
at
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:457)
at
org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
at $Proxy263.getDynamicLoopMessage_Generalized(Unknown Source)
*Log Snippet-3*:
2012-01-17 16:44:49,063 ERROR [org.jboss.ejb.plugins.LogInterceptor]
(WorkerThread#5[192.168.1.76:19743]) RuntimeException in method: public abstract
com.elitecore.billingengine.utils.BEResultObject
com.elitecore.billingengine.ejb.billpreview.interfaces.IBillPreviewSessionLocal.doBasePriceCalculation(com.elitecore.billingengine.utils.BEHashMap):
java.lang.NullPointerException
at
com.elitecore.billingengine.ejb.billpreview.sessionfacade.BillPreviewSessionFacade.doBasePriceCalculation(BillPreviewSessionFacade.java:357)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
Also, the whole server.log is attached with this thread. Pls. suggest some pointers on the
same.
Thank you.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/648806#648806]
Start a new discussion in EJB3 at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]