org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PreDestroy public ch.irix.decos.controller.ErrorDetailController.destroy() on ch.irix.decos.controller.ErrorDetailController@4473409d

GitHub | hendrikebbers | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Remove bean should not throw Exception if not managed by GC

    GitHub | 9 months ago | hendrikebbers
    org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PreDestroy public ch.irix.decos.controller.ErrorDetailController.destroy() on ch.irix.decos.controller.ErrorDetailController@4473409d
  2. 0

    issuehub.io

    issuehub.io | 9 months ago
    org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PreDestroy public ch.irix.decos.controller.ErrorDetailController.destroy() on ch.irix.decos.controller.ErrorDetailController@4473409d

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Can't find reference for ch.irix.decos.model.ErrorItem@42b459d9

      at com.canoo.dolphin.server.impl.gc.GarbageCollector.getInstance()
    2. com.canoo.dolphin
      ObservableArrayList.clear
      1. com.canoo.dolphin.server.impl.gc.GarbageCollector.getInstance(GarbageCollector.java:365)[dolphin-platform-server-0.8.6.jar:0.8.6]
      2. com.canoo.dolphin.server.impl.gc.GarbageCollector.removeReferenceAndCheckForGC(GarbageCollector.java:222)[dolphin-platform-server-0.8.6.jar:0.8.6]
      3. com.canoo.dolphin.server.impl.gc.GarbageCollector.onRemovedFromList(GarbageCollector.java:183)[dolphin-platform-server-0.8.6.jar:0.8.6]
      4. com.canoo.dolphin.server.impl.ServerBeanBuilderImpl$2.listChanged(ServerBeanBuilderImpl.java:83)[dolphin-platform-server-0.8.6.jar:0.8.6]
      5. com.canoo.dolphin.impl.collections.ObservableArrayList.notifyExternalListeners(ObservableArrayList.java:67)[dolphin-platform-core-0.8.6.jar:0.8.6]
      6. com.canoo.dolphin.impl.collections.ObservableArrayList.fireListChanged(ObservableArrayList.java:56)[dolphin-platform-core-0.8.6.jar:0.8.6]
      7. com.canoo.dolphin.impl.collections.ObservableArrayList.clear(ObservableArrayList.java:190)[dolphin-platform-core-0.8.6.jar:0.8.6]
      7 frames
    3. ch.irix.decos
      ErrorDetailController.destroy
      1. ch.irix.decos.controller.ErrorDetailController.destroy(ErrorDetailController.java:65)[classes:]
      1 frame
    4. Weld Implementation
      SecureReflections.invoke
      1. org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)[weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
      2. org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)[weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
      3. org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)[weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
      4. org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)[weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
      4 frames
    5. Weld
      WeldMethodImpl.invoke
      1. org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:168)[weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
      1 frame
    6. Weld Implementation
      SimpleInjectionTarget.preDestroy
      1. org.jboss.weld.manager.SimpleInjectionTarget.preDestroy(SimpleInjectionTarget.java:131)[weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
      1 frame
    7. com.canoo.dolphin
      DolphinPlatformContextualLifecycle.destroy
      1. com.canoo.dolphin.server.javaee.DolphinPlatformContextualLifecycle.destroy(DolphinPlatformContextualLifecycle.java:66)[dolphin-platform-server-javaee-0.8.6.jar:0.8.6]
      1 frame
    8. Apache DeltaSpike Core-API
      ImmutableBean.destroy
      1. org.apache.deltaspike.core.util.bean.ImmutableBean.destroy(ImmutableBean.java:78)[deltaspike-core-api-1.3.0.jar:1.3.0]
      1 frame
    9. com.canoo.dolphin
      DolphinContext$2$4.handleCommand
      1. com.canoo.dolphin.server.javaee.CdiContainerManager.destroyController(CdiContainerManager.java:97)[dolphin-platform-server-javaee-0.8.6.jar:0.8.6]
      2. com.canoo.dolphin.server.controller.ControllerHandler.destroyController(ControllerHandler.java:116)[dolphin-platform-server-0.8.6.jar:0.8.6]
      3. com.canoo.dolphin.server.context.DolphinContext.onDestroyController(DolphinContext.java:266)[dolphin-platform-server-0.8.6.jar:0.8.6]
      4. com.canoo.dolphin.server.context.DolphinContext.access$500(DolphinContext.java:68)[dolphin-platform-server-0.8.6.jar:0.8.6]
      5. com.canoo.dolphin.server.context.DolphinContext$2$4.handleCommand(DolphinContext.java:184)[dolphin-platform-server-0.8.6.jar:0.8.6]
      5 frames
    10. org.opendolphin.core
      ServerConnector.receive
      1. org.opendolphin.core.server.comm.CommandHandler$handleCommand.call(Unknown Source)
      2. org.opendolphin.core.server.comm.CommandHandler$handleCommand.call(Unknown Source)
      3. org.opendolphin.core.server.ServerConnector.receive(ServerConnector.groovy:63)[dolphin-remoting-server-0.8.6.jar:0.8.6]
      3 frames
    11. com.canoo.dolphin
      DolphinPlatformServlet.doPost
      1. com.canoo.dolphin.server.context.DolphinContext.handle(DolphinContext.java:314)[dolphin-platform-server-0.8.6.jar:0.8.6]
      2. com.canoo.dolphin.server.context.DolphinContextCommunicationHandler.handle(DolphinContextCommunicationHandler.java:76)[dolphin-platform-server-0.8.6.jar:0.8.6]
      3. com.canoo.dolphin.server.servlet.DolphinPlatformServlet.doPost(DolphinPlatformServlet.java:39)[dolphin-platform-server-0.8.6.jar:0.8.6]
      3 frames
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)[jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      2 frames
    13. com.canoo.dolphin
      DolphinContextFilter.doFilter
      1. com.canoo.dolphin.server.context.DolphinContextFilter.doFilter(DolphinContextFilter.java:73)[dolphin-platform-server-0.8.6.jar:0.8.6]
      1 frame
    14. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)[jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      2 frames
    15. com.canoo.dolphin
      CrossSiteOriginFilter.doFilter
      1. com.canoo.dolphin.server.servlet.CrossSiteOriginFilter.doFilter(CrossSiteOriginFilter.java:50)[dolphin-platform-server-0.8.6.jar:0.8.6]
      1 frame
    16. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)[jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)[jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)[jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      4 frames
    17. JPA
      WebNonTxEmCloserValve.invoke
      1. org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)[jboss-as-jpa-7.5.5.Final-redhat-3.jar:7.5.5.Final-redhat-3]
      2. org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)[jboss-as-jpa-7.5.5.Final-redhat-3.jar:7.5.5.Final-redhat-3]
      2 frames
    18. JBoss Web
      SecurityContextAssociationValve.invoke
      1. org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)[jboss-as-web-7.5.5.Final-redhat-3.jar:7.5.5.Final-redhat-3]
      1 frame
    19. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150)[jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)[jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)[jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)[jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      4 frames
    20. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854)[jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)[jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)[jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      3 frames