Skip to main content



      Home
Home » Modeling » EMF » java.lang.ExceptionInInitializerError(refactoring)
java.lang.ExceptionInInitializerError [message #1404174] Wed, 30 July 2014 05:00 Go to next message
Eclipse UserFriend
I am facing the following errors.so please say how to rectify my errors
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at org.eclipse.jdt.core.JavaCore.getOptions(JavaCore.java:2400)
at org.eclipse.jdt.core.dom.ASTParser.initializeDefaults(ASTParser.java:222)
at org.eclipse.jdt.core.dom.ASTParser.<init>(ASTParser.java:204)
at org.eclipse.jdt.core.dom.ASTParser.newParser(ASTParser.java:109)
at Main.DesignAnalyzer.parse(DesignAnalyzer.java:70)
at Main.DesignAnalyzer.main(DesignAnalyzer.java:165)
at GUI.MainTabbedPane.<init>(MainTabbedPane.java:41)
at GUI.MainGUI$refactorButtonListener.actionPerformed(MainGUI.java:208)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.eclipse.jdt.internal.core.search.indexing.IndexManager.getJavaPluginWorkingLocation(IndexManager.java:283)
at org.eclipse.jdt.internal.core.search.indexing.IndexManager.<init>(IndexManager.java:50)
at org.eclipse.jdt.internal.core.JavaModelManager.<init>(JavaModelManager.java:671)
at org.eclipse.jdt.internal.core.JavaModelManager.<clinit>(JavaModelManager.java:649)
... 44 more
Re: java.lang.ExceptionInInitializerError [message #1404230 is a reply to message #1404174] Wed, 30 July 2014 10:51 Go to previous messageGo to next message
Eclipse UserFriend
Raj,

This doesn't appear to be an EMF question and you ought not to expect
much help from just a stack trace.

On 30/07/2014 3:25 PM, raj kumar wrote:
> I am facing the following errors.so please say how to rectify my errors
> Exception in thread "AWT-EventQueue-0"
> java.lang.ExceptionInInitializerError
> at org.eclipse.jdt.core.JavaCore.getOptions(JavaCore.java:2400)
> at
> org.eclipse.jdt.core.dom.ASTParser.initializeDefaults(ASTParser.java:222)
> at org.eclipse.jdt.core.dom.ASTParser.<init>(ASTParser.java:204)
> at org.eclipse.jdt.core.dom.ASTParser.newParser(ASTParser.java:109)
> at Main.DesignAnalyzer.parse(DesignAnalyzer.java:70)
> at Main.DesignAnalyzer.main(DesignAnalyzer.java:165)
> at GUI.MainTabbedPane.<init>(MainTabbedPane.java:41)
> at
> GUI.MainGUI$refactorButtonListener.actionPerformed(MainGUI.java:208)
> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> at
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
> at java.awt.Component.processMouseEvent(Unknown Source)
> at javax.swing.JComponent.processMouseEvent(Unknown Source)
> at java.awt.Component.processEvent(Unknown Source)
> at java.awt.Container.processEvent(Unknown Source)
> at java.awt.Component.dispatchEventImpl(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Window.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> at java.awt.EventQueue.access$200(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
> at
> java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> Caused by: java.lang.NullPointerException
> at
> org.eclipse.jdt.internal.core.search.indexing.IndexManager.getJavaPluginWorkingLocation(IndexManager.java:283)
> at
> org.eclipse.jdt.internal.core.search.indexing.IndexManager.<init>(IndexManager.java:50)
> at
> org.eclipse.jdt.internal.core.JavaModelManager.<init>(JavaModelManager.java:671)
> at
> org.eclipse.jdt.internal.core.JavaModelManager.<clinit>(JavaModelManager.java:649)
> ... 44 more
>
Re: java.lang.ExceptionInInitializerError [message #1404244 is a reply to message #1404174] Wed, 30 July 2014 11:32 Go to previous message
Eclipse UserFriend
Hi

In my experience, an ExceptionInInitializerError is often heavily
nested. You only shows two nests.

Use the debugger to find the first exception.

Regards

Ed Willink

On 30/07/2014 14:25, raj kumar wrote:
> I am facing the following errors.so please say how to rectify my errors
> Exception in thread "AWT-EventQueue-0"
> java.lang.ExceptionInInitializerError
> at org.eclipse.jdt.core.JavaCore.getOptions(JavaCore.java:2400)
> at
> org.eclipse.jdt.core.dom.ASTParser.initializeDefaults(ASTParser.java:222)

> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> Caused by: java.lang.NullPointerException
> at
> org.eclipse.jdt.internal.core.search.indexing.IndexManager.getJavaPluginWorkingLocation(IndexManager.java:283)
> at
> org.eclipse.jdt.internal.core.search.indexing.IndexManager.<init>(IndexManager.java:50)
> at
> org.eclipse.jdt.internal.core.JavaModelManager.<init>(JavaModelManager.java:671)
> at
> org.eclipse.jdt.internal.core.JavaModelManager.<clinit>(JavaModelManager.java:649)
> ... 44 more
>
Previous Topic:[EMF] XSD enumerations end with "member0" when generated to Java
Next Topic:How to get IResource from EObject?
Goto Forum:
  


Current Time: Thu Apr 24 10:54:07 EDT 2025

Powered by FUDForum. Page generated in 0.03725 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top