This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes Exception in thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Exception in thread "main" java.lang.ExceptionInInitializerError" Watch "Exception in thread "main" java.lang.ExceptionInInitializerError" New topic
Author

Exception in thread "main" java.lang.ExceptionInInitializerError

Goutam reddy
Greenhorn

Joined: Jan 22, 2012
Posts: 6

Log File Entry



ENTRY org.eclipse.osgi 2 0 2012-05-11 09:04:58.916
!MESSAGE While loading class "org.eclipse.wst.jsdt.internal.core.JavaModelManager$16", thread "Thread[Worker-2,5,main]" timed out waiting (5006ms) for thread "Thread[Worker-1,5,main]" to finish starting bundle "org.eclipse.wst.jsdt.core_1.1.100.me201109222040 [983]". To avoid deadlock, thread "Thread[Worker-2,5,main]" is proceeding but "org.eclipse.wst.jsdt.internal.core.JavaModelManager$16" may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: State change in progress for bundle "reference:file:/C:/MyEclipse Blue Edition/Common/plugins/org.eclipse.wst.jsdt.core_1.1.100.me201109222040.jar" by thread "Worker-1".
at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1087)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:297)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager$15.run(JavaModelManager.java:4182)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
... 16 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1087)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:297)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager$15.run(JavaModelManager.java:4182)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)




Exception


Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.J9VMInternals.initialize(J9VMInternals.java:255)
at us.nm.state.hsd.framework.business.services.rulesengine.genericentity.RulesDirectory.<init>(RulesDirectory.java:109)
at us.nm.state.hsd.framework.business.services.rulesengine.genericentity.RulesDirectory.<clinit>(RulesDirectory.java:97)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:233)
at us.nm.state.hsd.aspen.business.rules.ed.TestEDBCLoader.main(TestEDBCLoader.java:67)
Caused by: java.lang.NullPointerException
at us.nm.state.hsd.framework.exceptions.FwLogException.<init>(FwLogException.java:30)
at us.nm.state.hsd.framework.exceptions.FwException.<init>(FwException.java:63)
at us.nm.state.hsd.framework.management.util.FwPropertyLoader.loadPropertyFile(FwPropertyLoader.java:70)
at us.nm.state.hsd.framework.management.util.FwPropertyLoader.getProperties(FwPropertyLoader.java:37)
at us.nm.state.hsd.framework.management.util.FwProperty.getProperties(FwProperty.java:56)
at us.nm.state.hsd.framework.management.util.FwProperty.getProperty(FwProperty.java:74)
at us.nm.state.hsd.framework.management.logging.FwLogger4J.<init>(FwLogger4J.java:129)
at us.nm.state.hsd.framework.management.logging.FwLogger4J.getInstance(FwLogger4J.java:455)
at us.nm.state.hsd.framework.factories.FwServiceFactory.<init>(FwServiceFactory.java:52)
at us.nm.state.hsd.framework.factories.FwServiceFactory.<clinit>(FwServiceFactory.java:43)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:233)
... 5 more







Anayonkar Shivalkar
Bartender

Joined: Dec 08, 2010
Posts: 1456
    
    5

Ok. So? Are you telling this to other people just like that, or are you asking for help, or anything else?

I do not get anything out of this post (apart from an exception stack). Please be specific about what your post is about, and please state the problem clearly (along with what were you doing when the issue occurred), so that other people might be able to help you.

Just FYI - javaa.lang.ExceptionInInitializerError occurs when there is an exception in initialization blocks of a class (either normal initialization blocks or static initialization blocks). From the stack trace, problematic class seems to be us.nm.state.hsd.framework.factories.FwServiceFactory. But some more basic information might be helpful (to you).

I hope this helps.

And Welcome to CodeRanch!


Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception in thread "main" java.lang.ExceptionInInitializerError
 
Similar Threads
Error when loading an eclipse
log4j error
Error when loading an eclipse
"Could not create the view: Plug-in org.eclipse.jdt.ui was unable to load class" error.Please help
Out of memory error:permgen space