View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821373#3821373

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821373

I get a weird NullPointerException when i invoke a method pairHullATISCode on my 
StatefulSessionBean. When I invoke another method of this bean, all works fine. 
Strangly the only log of this error is the one below:



ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException:

 java.lang.NullPointerException

at be.tinc.bkw.core.BKWUserSessionBean.pairHullATISCode(Unknown Source)

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:324)

at 
org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(StatefulSessionContainer.java:878)at
 org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)

        at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)

        at 
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:271)

        at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

        at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)

        at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)

        at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

        at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

        at 
org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:410)

        at org.jboss.ejb.Container.invoke(Container.java:674)

...



I'm using JBoss 3.2.1, most of the time I'm understand the exceptions that I cause, 
but the this makes me lose my hair.

Greetings

G


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to