Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-710

ContextNotActiveException - No active contexts for scope type javax.inject.Singleton on shutdown

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2016.10.0
    • Fix Version/s: 2016.10.0
    • Component/s: None
    • Labels:
      None

      Description

      There is following exception when doing application shutdown (ctrl+c):

      2016-09-22 08:30:31,084 ERROR [stderr] (Thread-4) org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.inject.Singleton
      2016-09-22 08:30:31,085 ERROR [stderr] (Thread-4) 	at org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:639)
      2016-09-22 08:30:31,085 ERROR [stderr] (Thread-4) 	at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:94)
      2016-09-22 08:30:31,085 ERROR [stderr] (Thread-4) 	at org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:140)
      2016-09-22 08:30:31,085 ERROR [stderr] (Thread-4) 	at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50)
      2016-09-22 08:30:31,085 ERROR [stderr] (Thread-4) 	at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:692)
      2016-09-22 08:30:31,086 ERROR [stderr] (Thread-4) 	at org.jboss.weld.bean.builtin.InstanceImpl.getBeanInstance(InstanceImpl.java:178)
      2016-09-22 08:30:31,086 ERROR [stderr] (Thread-4) 	at org.jboss.weld.bean.builtin.InstanceImpl.get(InstanceImpl.java:98)
      2016-09-22 08:30:31,086 ERROR [stderr] (Thread-4) 	at org.wildfly.swarm.container.runtime.RuntimeServer.stop(RuntimeServer.java:200)
      2016-09-22 08:30:31,086 ERROR [stderr] (Thread-4) 	at org.wildfly.swarm.container.runtime.RuntimeServer.lambda$new$26(RuntimeServer.java:111)
      2016-09-22 08:30:31,086 ERROR [stderr] (Thread-4) 	at java.lang.Thread.run(Thread.java:745)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gastaldi George Gastaldi
                Reporter:
                tremes Tomas Remes
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: