javax.ejb.NoSuchEJBException: reference is invalid

openejb-users | Ravindranath Akila | 6 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    call ejb remote interface from another ejb module

    Stack Overflow | 3 years ago | xav56883728
    javax.ejb.NoSuchEJBException: Singleton NewBean is unavailable because its original initialization failed.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.ejb.NoSuchEJBException

      reference is invalid

      at org.apache.openejb.core.ivm.BaseEjbProxyHandler.isValidReference()
    2. OpenEJB :: OSGi :: Core
      BaseEjbProxyHandler.invoke
      1. org.apache.openejb.core.ivm.BaseEjbProxyHandler.isValidReference(BaseEjbProxyHandler.java:319)[openejb-core-3.1.jar:3.1]
      2. org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:232)[openejb-core-3.1.jar:3.1]
      2 frames
    3. Unknown
      $Proxy112.getHumanUserId
      1. $Proxy112.getHumanUserId(Unknown Source)[na:na]
      1 frame
    4. ai.ilikeplaces.util
      AbstractListener.getUsername
      1. ai.ilikeplaces.util.AbstractListener.getUsername(AbstractListener.java:291)[AbstractListener.class:na]
      1 frame
    5. ai.ilikeplaces.logic
      ListenerOrganize$1.init
      1. ai.ilikeplaces.logic.Listeners.AbstractSkeletonListener.init(AbstractSkeletonListener.java:111)[AbstractSkeletonListener.class:na]
      2. ai.ilikeplaces.logic.Listeners.ListenerOrganize$1.init(ListenerOrganize.java:83)[ListenerOrganize$1.class:na]
      2 frames
    6. ai.ilikeplaces.util
      AbstractListener.<init>
      1. ai.ilikeplaces.util.AbstractListener.<init>(AbstractListener.java:83)[AbstractListener.class:na]
      1 frame
    7. ai.ilikeplaces.logic
      ListenerOrganize.processRequest
      1. ai.ilikeplaces.logic.Listeners.AbstractSkeletonListener.<init>(AbstractSkeletonListener.java:49)[AbstractSkeletonListener.class:na]
      2. ai.ilikeplaces.logic.Listeners.ListenerOrganize$1.<init>(ListenerOrganize.java:75)[ListenerOrganize$1.class:na]
      3. ai.ilikeplaces.logic.Listeners.ListenerOrganize.processRequest(ListenerOrganize.java:75)[ListenerOrganize.class:na]
      3 frames
    8. org.itsnat.impl
      ItsNatHttpServletImpl.processRequest
      1. org.itsnat.impl.core.servlet.ItsNatServletResponseImpl.dispatchRequestListener(ItsNatServletResponseImpl.java:164)[ItsNat.jar:1.0]
      2. org.itsnat.impl.core.servlet.ItsNatServletResponseImpl.dispatchItsNatServletRequestListeners(ItsNatServletResponseImpl.java:174)[ItsNat.jar:1.0]
      3. org.itsnat.impl.core.resp.norm.ResponseNormalLoadDocImpl.dispatchRequestListeners(ResponseNormalLoadDocImpl.java:108)[ItsNat.jar:1.0]
      4. org.itsnat.impl.core.resp.norm.ResponseNormalLoadStfulDocImpl.dispatchRequestListeners(ResponseNormalLoadStfulDocImpl.java:162)[ItsNat.jar:1.0]
      5. org.itsnat.impl.core.resp.shared.ResponseDelegateStfulLoadDocImpl.dispatchRequestListeners(ResponseDelegateStfulLoadDocImpl.java:235)[ItsNat.jar:1.0]
      6. org.itsnat.impl.core.resp.shared.html.ResponseDelegateHTMLLoadDocWebKitImpl.dispatchRequestListeners(ResponseDelegateHTMLLoadDocWebKitImpl.java:80)[ItsNat.jar:1.0]
      7. org.itsnat.impl.core.resp.shared.ResponseDelegateStfulLoadDocImpl.processResponse(ResponseDelegateStfulLoadDocImpl.java:166)[ItsNat.jar:1.0]
      8. org.itsnat.impl.core.resp.norm.ResponseNormalLoadStfulDocImpl.processResponse(ResponseNormalLoadStfulDocImpl.java:85)[ItsNat.jar:1.0]
      9. org.itsnat.impl.core.resp.ResponseImpl.process(ResponseImpl.java:93)[ItsNat.jar:1.0]
      10. org.itsnat.impl.core.resp.norm.ResponseNormalLoadDocImpl.process(ResponseNormalLoadDocImpl.java:73)[ItsNat.jar:1.0]
      11. org.itsnat.impl.core.req.norm.RequestNormalLoadDocImpl.processThreadSync(RequestNormalLoadDocImpl.java:98)[ItsNat.jar:1.0]
      12. org.itsnat.impl.core.req.norm.RequestNormalLoadDocImpl$1.syncMethod(RequestNormalLoadDocImpl.java:83)[ItsNat.jar:1.0]
      13. org.itsnat.impl.core.doc.ItsNatDocSynchronizerImpl.exec(ItsNatDocSynchronizerImpl.java:56)[ItsNat.jar:1.0]
      14. org.itsnat.impl.core.req.norm.RequestNormalLoadDocImpl.processRequest(RequestNormalLoadDocImpl.java:86)[ItsNat.jar:1.0]
      15. org.itsnat.impl.core.req.RequestImpl.process(RequestImpl.java:132)[ItsNat.jar:1.0]
      16. org.itsnat.impl.core.servlet.ItsNatServletRequestImpl.process(ItsNatServletRequestImpl.java:204)[ItsNat.jar:1.0]
      17. org.itsnat.impl.core.servlet.http.ItsNatHttpServletImpl.processRequest(ItsNatHttpServletImpl.java:56)[ItsNat.jar:1.0]
      18. org.itsnat.impl.core.servlet.http.ItsNatHttpServletImpl.processRequest(ItsNatHttpServletImpl.java:61)[ItsNat.jar:1.0]
      18 frames
    9. ai.ilikeplaces.servlets
      Controller$1.processRequest
      1. ai.ilikeplaces.servlets.Controller$1.processRequest(Controller.java:1161)[Controller$1.class:na]
      1 frame
    10. org.itsnat.impl
      ItsNatHttpServletImpl.processRequest
      1. org.itsnat.impl.core.servlet.ItsNatServletResponseImpl.dispatchRequestListener(ItsNatServletResponseImpl.java:164)[ItsNat.jar:1.0]
      2. org.itsnat.impl.core.servlet.ItsNatServletResponseImpl.dispatchItsNatServletRequestListeners(ItsNatServletResponseImpl.java:174)[ItsNat.jar:1.0]
      3. org.itsnat.impl.core.servlet.ItsNatServletImpl.dispatchItsNatServletRequestListeners(ItsNatServletImpl.java:202)[ItsNat.jar:1.0]
      4. org.itsnat.impl.core.req.RequestCustomImpl.processRequest(RequestCustomImpl.java:51)[ItsNat.jar:1.0]
      5. org.itsnat.impl.core.req.RequestImpl.process(RequestImpl.java:132)[ItsNat.jar:1.0]
      6. org.itsnat.impl.core.servlet.ItsNatServletRequestImpl.process(ItsNatServletRequestImpl.java:204)[ItsNat.jar:1.0]
      7. org.itsnat.impl.core.servlet.http.ItsNatHttpServletImpl.processRequest(ItsNatHttpServletImpl.java:56)[ItsNat.jar:1.0]
      8. org.itsnat.impl.core.servlet.http.ItsNatHttpServletImpl.processRequest(ItsNatHttpServletImpl.java:61)[ItsNat.jar:1.0]
      8 frames
    11. org.itsnat.core
      HttpServletWrapper.doGet
      1. org.itsnat.core.http.HttpServletWrapper.processRequest(HttpServletWrapper.java:79)[ItsNat.jar:1.0]
      2. org.itsnat.core.http.HttpServletWrapper.doGet(HttpServletWrapper.java:92)[ItsNat.jar:1.0]
      2 frames
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:690)[servlet-api.jar:na]
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)[servlet-api.jar:na]
      2 frames
    13. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)[catalina.jar:na]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:na]
      2 frames
    14. ai.ilikeplaces.servlets
      SubdomainForward.doFilter
      1. ai.ilikeplaces.servlets.filters.SubdomainForward.doFilter(SubdomainForward.java:77)[SubdomainForward.class:na]
      1 frame
    15. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:na]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:na]
      2 frames
    16. ai.ilikeplaces.servlets
      LogoutNRedirect.doFilter
      1. ai.ilikeplaces.servlets.filters.LogoutNRedirect.doFilter(LogoutNRedirect.java:71)[LogoutNRedirect.class:na]
      1 frame
    17. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:na]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:na]
      2 frames
    18. ai.ilikeplaces.servlets
      FilterCharset.doFilter
      1. ai.ilikeplaces.servlets.filters.FilterCharset.doFilter(FilterCharset.java:50)[FilterCharset.class:na]
      1 frame
    19. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:na]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:na]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)[catalina.jar:na]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)[catalina.jar:na]
      4 frames
    20. OpenEJB :: Assembly :: Tomcat :: Catalina
      OpenEJBValve.invoke
      1. org.apache.openejb.tomcat.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)[openejb-tomcat-catalina-3.1.jar:3.1]
      1 frame
    21. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)[catalina.jar:na]
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)[catalina.jar:na]
      3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[catalina.jar:na]
      4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)[catalina.jar:na]
      4 frames
    22. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)[tomcat-coyote.jar:na]
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)[tomcat-coyote.jar:na]
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)[tomcat-coyote.jar:na]
      3 frames
    23. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)[na:1.6.0_16]
      1 frame