Issue Type: Enhancement Enhancement
Affects Versions: 2.0.0.Alpha3
Assignee: Unassigned
Components: Weld SPI
Created: 22/Aug/12 5:41 PM
Description:

Recommend new error message as a hint: "Singleton is not set. Is your Thread.currentThread().getContextClassLoader() set correctly?"

Exception in thread "org.jboss.forge:main" java.lang.IllegalStateException: Singleton is not set
    at org.jboss.weld.bootstrap.api.helpers.IsolatedStaticSingletonProvider$IsolatedStaticSingleton.get(IsolatedStaticSingletonProvider.java:52)
    at org.jboss.weld.Container.instance(Container.java:54)
    at org.jboss.weld.bootstrap.ContainerLifecycleEventPreloader.shutdown(ContainerLifecycleEventPreloader.java:94)
    at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:453)
    at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.validateBeans(ForwardingBootstrap.java:85)
    at org.jboss.weld.environment.se.Weld.initialize(Weld.java:134)
    at org.jboss.forge.container.PluginRunnable.run(PluginRunnable.java:35)
    at java.lang.Thread.run(Thread.java:680)
Fix Versions: 2.0.0.Alpha4
Project: Weld
Priority: Major Major
Reporter: Lincoln Baxter III
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira