3 Replies Latest reply on Jan 28, 2011 6:08 AM by jaikiran pai

    ERROR [LogInterceptor] RuntimeException in method

    Dinesh venkatesan Newbie

      Hi,

       

       

      I am using Jboss 4.2.3 and i deployed joa.ear file in default server.

      Application is working fine.But if i enter the login page i am getting some exception

       

       

       

      15:15:06,315 ERROR [LogInterceptor] RuntimeException in method: public abstract java.util.ArrayList com.tcs.joa.ejb.BasicUtilities.getPassWord(java.lang.String,java.lang.String) throws java.rmi.RemoteException,com.tcs.joa.error.MyException:

      java.lang.ArrayIndexOutOfBoundsException: 0

              at com.tcs.joa.error.util.ErrorUtility.appendError(ErrorUtility.java:264)

              at com.tcs.joa.error.util.ErrorUtility.appendError(ErrorUtility.java:96)

              at com.tcs.joa.dao.JOADBConnection.getJOADBConnection(JOADBConnection.java:211)

              at com.tcs.joa.dao.JOADao.getConnection(JOADao.java:92)

              at com.tcs.joa.dao.JOADao.executePasswordQuery(JOADao.java:924)

              at com.tcs.joa.ejb.BasicUtilitiesBean.getPassWord(BasicUtilitiesBean.java:342)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

              at java.lang.reflect.Method.invoke(Unknown Source)

              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 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 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 sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

              at java.lang.reflect.Method.invoke(Unknown Source)

              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

              at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)

              at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)

              at org.jboss.invocation.InvokerInterceptor.invokeLocalMarshalled(InvokerInterceptor.java:295)

              at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.java:61)

              at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)

              at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)

              at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)

              at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)

              at $Proxy80.getPassWord(Unknown Source)

              at com.tcs.joa.security.LdapLoginModule.login(LdapLoginModule.java:85)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

              at java.lang.reflect.Method.invoke(Unknown Source)

              at javax.security.auth.login.LoginContext.invoke(Unknown Source)

              at javax.security.auth.login.LoginContext.access$000(Unknown Source)

              at javax.security.auth.login.LoginContext$4.run(Unknown Source)

              at java.security.AccessController.doPrivileged(Native Method)

              at javax.security.auth.login.LoginContext.invokePriv(Unknown Source)

              at javax.security.auth.login.LoginContext.login(Unknown Source)

              at com.tcs.joa.actions.JOA0010ZAction.authenticate(JOA0010ZAction.java:583)

              at com.tcs.joa.actions.JOA0010ZAction.login(JOA0010ZAction.java:167)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

              at java.lang.reflect.Method.invoke(Unknown Source)

              at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274)

              at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)

              at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)

              at com.tcs.joa.struts.JOARequestProcessor.processActionPerform(JOARequestProcessor.java:421)

              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)

              at com.tcs.joa.struts.JOARequestProcessor.process(JOARequestProcessor.java:206)

              at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)

              at com.tcs.joa.struts.ActionServlet.process(ActionServlet.java:298)

              at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:430)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

              at java.lang.Thread.run(Unknown Source)

      15:15:06,348 INFO  [ActionServlet] Total time required = 169

      15:15:06,348 INFO  [ActionServlet] EXITING ActionServlet.process()

      15:15:35,697 INFO  [ActionServlet] ENTERING ActionServlet.process()

      15:15:35,705 INFO  [STDOUT] getJOADBConnection called for UtRepos

       

       

      Please anyone help me.

       

      Thanks in advance

      Dinesh v.