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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 2016.10.0
    • 2016.10.0
    • None
    • 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)
      

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            tremes1@redhat.com Tomas Remes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: