No Exception stack trace printed in server.log by org.jboss.ejb.plugins.LogInterceptor when invoked from browser
bondchan921 Apr 24, 2013 10:33 PMDear friends,
We are using Jboss 4.2.3 and both EJB2.1 and EJB3, this error is interceptored by EJB2.1 which configure in conf/standardjboss.xml,
No stack trace get printed when invoke the same logic by web browser.
--invoked through browser
2013-04-24 11:33:44,497 ERROR [org.jboss.ejb.plugins.LogInterceptor] (http-172.20.20.195-8080-4:) TransactionRolledbackLocalException in method: public abstract java.util.Collection com.lombardrisk.collateral.statement.calculate.StatementCalculateServiceLocal.calculateExposure(com.lombardrisk.collateral.persistence.agreement.ColAgreementHeaderData), causedBy:
java.lang.NullPointerException
--invoked through quartz scheduler
2013-04-18 00:02:25,963 ERROR [org.jboss.ejb.plugins.LogInterceptor] (WorkManager(2)-1615:) TransactionRolledbackLocalException in method: public abstract java.util.Collection com.lombardrisk.collateral.statement.calculate.StatementCalculateServiceLocal.calculateExposure(com.lombardrisk.collateral.persistence.agreement.ColAgreementHeaderData), causedBy:
java.lang.NullPointerException
at java.util.Calendar.setTime(Calendar.java:1076)
at com.lombardrisk.common.Date.<init>(Date.java:283)
at com.lombardrisk.collateral.statement.calculate.StatementCalculateServiceBean.setRatingBasedOrTimeBasedIA(StatementCalculateServiceBean.java:680)
at com.lombardrisk.collateral.statement.calculate.StatementCalculateServiceBean.calculateExposure(StatementCalculateServiceBean.java:440)
at com.lombardrisk.collateral.statement.calculate.StatementCalculateServiceBean.calculateExposure(StatementCalculateServiceBean.java:258)
at sun.reflect.GeneratedMethodAccessor1383.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
at com.lombardrisk.f3.audit.AuditTrailInterceptor.invoke(AuditTrailInterceptor.java:233)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at com.lombardrisk.f3.accesscontrol.JBossEJBInterceptor.invoke(JBossEJBInterceptor.java:139)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:960)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
at $Proxy2921.calculateExposure(Unknown Source)
at com.lombardrisk.collateral.statement.calculate.exposure.CommonExposureCalculator.calculateExposure(CommonExposureCalculator.java:37)
at com.lombardrisk.collateral.statement.calculate.exposure.ExposureCalculator.calculateResult(ExposureCalculator.java:70)
at com.lombardrisk.collateral.statement.Calculator.calculate(Calculator.java:21)
at com.lombardrisk.collateral.statement.calculate.StatementCalculator.calculate(StatementCalculator.java:334)
at com.lombardrisk.collateral.statement.calculate.StatementCalculator.calculate(StatementCalculator.java:264)
Thanks for any clue..
Bond