0 Replies Latest reply on Feb 6, 2002 2:28 AM by Kiran Kumar Kintali

    I am getting this errors can any one tell why i am getting t

    Kiran Kumar Kintali Newbie

      After deployment and at the time accessing the application i am getting this error:
      ==========================================================


      [Default] java.lang.ClassCastException: $Proxy34
      [Default] at com.mms.CommonBean.getProject(CommonBean.java:45)
      [Default]
      [Default] at java.lang.reflect.Method.invoke(Native Method)
      [Default]
      [Default] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:543)
      [Default]
      [Default] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:87)
      [Default]
      [Default] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)
      [Default]
      [Default] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:307)
      [Default]
      [Default] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
      [Default]
      [Default] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)
      [Default]
      [Default] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
      [Default]
      [Default] at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:286)
      [Default]
      [Default] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:489)
      [Default]
      [Default] at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:335)
      [Default]
      [Default] at org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(StatelessSessionProxy.java:123)
      [Default]
      [Default] at $Proxy26.getProject(Unknown Source)
      [Default]
      [Default] at _0002fadd_0005fproject_0002ejspadd_0005fproject_jsp_1._jspService(_0002fadd_0005fproject_0002ejspadd_0005fproject_jsp_1.java:84)
      [Default]
      [Default] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
      [Default]
      [Default] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      [Default]
      [Default] at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
      [Default]
      [Default] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      [Default]
      [Default] at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
      [Default]
      [Default] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
      [Default]
      [Default] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
      [Default]
      [Default] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      [Default]
      [Default] at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
      [Default]
      [Default] at org.apache.tomcat.core.Handler.service(Handler.java:287)
      [Default]
      [Default] at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
      [Default]
      [Default] at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
      [Default]
      [Default] at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
      [Default]
      [Default] at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
      [Default]
      [Default] at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
      [Default]
      [Default] at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
      [Default]
      [Default] at java.lang.Thread.run(Unknown Source)
      [Default]
      [CommonBean] TRANSACTION ROLLBACK EXCEPTION:null
      Embedded Exception
      null; nested exception is:
      javax.ejb.EJBException: null
      Embedded Exception
      null
      [CommonBean] java.lang.NullPointerException
      [CommonBean] at com.mms.CommonBean.getProject(CommonBean.java:65)
      [CommonBean] at java.lang.reflect.Method.invoke(Native Method)
      [CommonBean] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:543)
      [CommonBean] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:87)
      [CommonBean] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)
      [CommonBean] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:307)
      [CommonBean] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
      [CommonBean] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)
      [CommonBean] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
      [CommonBean] at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:286)
      [CommonBean] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:489)
      [CommonBean] at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:335)
      [CommonBean] at org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(StatelessSessionProxy.java:123)
      [CommonBean] at $Proxy26.getProject(Unknown Source)
      [CommonBean] at _0002fadd_0005fproject_0002ejspadd_0005fproject_jsp_1._jspService(_0002fadd_0005fproject_0002ejspadd_0005fproject_jsp_1.java:84)
      [CommonBean] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
      [CommonBean] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      [CommonBean] at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
      [CommonBean] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      [CommonBean] at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
      [CommonBean] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
      [CommonBean] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
      [CommonBean] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      [CommonBean] at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
      [CommonBean] at org.apache.tomcat.core.Handler.service(Handler.java:287)
      [CommonBean] at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
      [CommonBean] at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
      [CommonBean] at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
      [CommonBean] at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
      [CommonBean] at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
      [CommonBean] at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
      [CommonBean] at java.lang.Thread.run(Unknown Source)