java.lang.IllegalStateException: Singleton is not set. Is your Thread.currentThread().getContextClassLoader() set correctly?

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JBoss Issue Tracker by Tomek D, 1 year ago
Singleton is not set. Is your Thread.currentThread().getContextClassLoader() set correctly?
via JBoss Issue Tracker by Tomek D, 1 year ago
Singleton is not set. Is your Thread.currentThread().getContextClassLoader() set correctly?
via jboss.org by Unknown author, 1 year ago
Singleton is not set. Is your Thread.currentThread().getContextClassLoader() set correctly?
via JBoss Issue Tracker by Nuno Godinho de Matos, 1 year ago
Singleton is not set. Is your Thread.currentThread().getContextClassLoader() set correctly?
java.lang.IllegalStateException: Singleton is not set. Is your Thread.currentThread().getContextClassLoader() set correctly?
at org.jboss.weld.Container.instance(Container.java:55)
at org.jboss.weld.SimpleCDI.(SimpleCDI.java:77)
at org.jboss.weld.servlet.StaticWeldProvider$EnhancedCDI.(StaticWeldProvider.java:28)
at org.jboss.weld.servlet.StaticWeldProvider$EnhancedCDI.(StaticWeldProvider.java:28)
at org.jboss.weld.servlet.StaticWeldProvider.getCDI(StaticWeldProvider.java:45)
at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:64)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
at org.eclipse.jetty.server.handler.RequestLogHandler.doStart(RequestLogHandler.java:162)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
at org.eclipse.jetty.server.Server.doStart(Server.java:282)
at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:717)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:522)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1104)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:844)
at com.google.gwt.dev.DevMode.main(DevMode.java:322)

Users with the same issue

4 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.