Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Exception in thread "main" java.lang.ExceptionInInitializerError

807588May 14 2009 — edited Jun 3 2009
Hi folks!!

Really troubled with the following error. trying to run an eclipse like IDE for C/C++ made by my college senior (who himself is not able to help me out with this error.).Taking help from it to develop my own IDE for C/C++ (in SWING). But i cannot seem to run his project fine. as soon as i run the project, the IDE opens up.., but the moment i try to work with that IDE (say trying to create a .C file from File menu).., the following run-time exception occurs.

Exception in thread "main" java.lang.ExceptionInInitializerError
at galaxCIDE.widgets.text.GalaxCSourceCodeEditor.isContentAssistantPossible(GalaxCSourceCodeEditor.java:163)
at galaxCIDE.widgets.text.GalaxCSourceCodeEditor$ModifyListener.modifyText(GalaxCSourceCodeEditor.java:198)
at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:32)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:709)
at org.eclipse.swt.custom.StyledText.setText(StyledText.java:7858)
at galaxCIDE.widgets.text.GalaxCSourceCodeEditor.setProgramText(GalaxCSourceCodeEditor.java:80)
at galaxCIDE.widgets.GalaxCSourceWindow.addTab(GalaxCSourceWindow.java:102)
at galaxCIDE.widgets.GalaxCNewFileDialog.processInput(GalaxCNewFileDialog.java:52)
at galaxCIDE.widgets.GalaxCInputDialog$1.widgetSelected(GalaxCInputDialog.java:54)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at galaxCIDE.widgets.GalaxCInputDialog.showInputDialog(GalaxCInputDialog.java:88)
at galaxCIDE.MainWindow.showNewFileDialog(MainWindow.java:225)
at galaxCIDE.eventHandlers.PopUpMenuSelectionListener.widgetSelected(PopUpMenuSelectionListener.java:73)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at galaxCIDE.MainWindow.buildWindow(MainWindow.java:160)
at GalaxC.<init>(GalaxC.java:174)
at GalaxC.main(GalaxC.java:182)
Caused by: java.lang.NullPointerException
at galaxCIDE.widgets.text.GalaxCContentAssistantInformation.fillProposals(GalaxCContentAssistantInformation.java:112)
at galaxCIDE.widgets.text.GalaxCContentAssistantInformation.<init>(GalaxCContentAssistantInformation.java:65)
at galaxCIDE.widgets.text.GalaxCContentAssistantInformation.<clinit>(GalaxCContentAssistantInformation.java:48)
... 29 more

Plz help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 1 2009
Added on May 14 2009
15 comments
320 views