-
1. Re: TransactionRolledbackException Embedded Exception null;
oravecz Mar 26, 2002 10:56 AM (in response to abcd)It appears that your bean class is throwing a NullPointerException. It appears, that this exception is erroneously getting wrapped many times by jBoss. Look about halfway through the trace and you should see the line number of your NullPointerException.
-
2. Re: TransactionRolledbackException Embedded Exception null;
abcd Mar 27, 2002 4:55 AM (in response to abcd)hi,
i went through the code and found that the NullPointerException came when the Servlet calls the Bean method.
can u tell me what is wrong and why this error pops up ?.
thanks.
java.lang.NullPointerException
at beanprg.generateRegid(RegIDGenBean.java:43)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:542)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:82) -
3. Re: TransactionRolledbackException Embedded Exception null;
oravecz Mar 27, 2002 4:03 PM (in response to abcd)You want to know why your code throws a NPE at line 43 of your RegIDGenBean class? I am assuming it is your class...check the code...