VishalWadhwa / jupiter-eclipse-plugin

Automatically exported from code.google.com/p/jupiter-eclipse-plugin
0 stars 0 forks source link

Jupiter causes exceptions when opening Java files in Eclipse #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am using Ubuntu and I have Eclipse 3.3.  When I double-click and open a
Java file it throws the following error:

java.lang.NoClassDefFoundError
at
edu.hawaii.ics.csdl.jupiter.ui.marker.ReviewMarker.updateMarkers(ReviewMarker.ja
va:161)
at
edu.hawaii.ics.csdl.jupiter.ui.marker.MarkerTextPartListener.partOpened(MarkerTe
xtPartListener.java:62)
at org.eclipse.ui.internal.PartListenerList$5.run(PartListenerList.java:132)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
at
org.eclipse.ui.internal.PartListenerList.firePartOpened(PartListenerList.java:13
0)
at org.eclipse.ui.internal.PartService.firePartOpened(PartService.java:141)
at
org.eclipse.ui.internal.WorkbenchPagePartList.firePartOpened(WorkbenchPagePartLi
st.java:34)
at org.eclipse.ui.internal.PartList.partOpened(PartList.java:227)
at org.eclipse.ui.internal.PartList.access$0(PartList.java:200)
at org.eclipse.ui.internal.PartList$1.propertyChanged(PartList.java:37)
at
org.eclipse.ui.internal.WorkbenchPartReference.fireInternalPropertyChange(Workbe
nchPartReference.java:372)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.ja
va:607)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:263)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2
721)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2633)
at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:2625)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2577)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2572)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2556)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2547)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.
java:298)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.
java:172)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:194)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:175)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatch
Action.java:268)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.j
ava:244)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(Pa
ckageExplorerActionGroup.java:316)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open(PackageExplor
erPart.java:613)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193)
at
org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
at
org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079
)
at
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:11
83)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java
:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecli
pseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)

I installed it from
http://jupiter-eclipse-plugin.googlecode.com/svn/trunk/site/.  I didn't try
the zip release.

Original issue reported on code.google.com by jsakuda on 19 Jul 2007 at 8:24

GoogleCodeExporter commented 9 years ago
Here is another stack trace:

java.lang.ExceptionInInitializerError
at 
edu.hawaii.ics.csdl.jupiter.file.PrefResource.getPhaseArray(PrefResource.java:99
)
at 
edu.hawaii.ics.csdl.jupiter.model.review.PhaseManager.<init>(PhaseManager.java:2
0)
at 
edu.hawaii.ics.csdl.jupiter.model.review.PhaseManager.<clinit>(PhaseManager.java
:11)
at 
edu.hawaii.ics.csdl.jupiter.model.review.ReviewModel.<init>(ReviewModel.java:39)
at 
edu.hawaii.ics.csdl.jupiter.model.review.ReviewModel.<clinit>(ReviewModel.java:2
7)
at
edu.hawaii.ics.csdl.jupiter.ui.marker.ReviewMarker.updateMarkers(ReviewMarker.ja
va:161)
at
edu.hawaii.ics.csdl.jupiter.ui.marker.MarkerTextPartListener.partOpened(MarkerTe
xtPartListener.java:62)
at org.eclipse.ui.internal.PartListenerList$5.run(PartListenerList.java:132)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
at 
org.eclipse.ui.internal.PartListenerList.firePartOpened(PartListenerList.java:13
0)
at org.eclipse.ui.internal.PartService.firePartOpened(PartService.java:141)
at
org.eclipse.ui.internal.WorkbenchPagePartList.firePartOpened(WorkbenchPagePartLi
st.java:34)
at org.eclipse.ui.internal.PartList.partOpened(PartList.java:227)
at org.eclipse.ui.internal.PartList.addPart(PartList.java:87)
at org.eclipse.ui.internal.WorkbenchPage.partAdded(WorkbenchPage.java:1568)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:210)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:774)
at 
org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.jav
a:673)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:634)
at 
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2
719)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2633)
at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:2625)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2577)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2572)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2556)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2547)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.
java:298)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.
java:172)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:194)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:175)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatch
Action.java:268)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.j
ava:244)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(Pa
ckageExplorerActionGroup.java:316)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open(PackageExplor
erPart.java:613)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193)
at 
org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
at 
org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079
)
at 
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:11
83)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java
:106)
at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecli
pseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
Caused by: java.util.MissingResourceException: Can't find bundle for base name
edu.hawaii.ics.csdl.jupiter.message, locale en_US
at 
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:549)
at edu.hawaii.ics.csdl.jupiter.ReviewI18n.<clinit>(ReviewI18n.java:21)
... 72 more

Original comment by jsakuda on 3 Aug 2007 at 8:11

GoogleCodeExporter commented 9 years ago
I have gone ahead and fixed this bug.  It was mostly due to Jupiter being 
unable to
find the jupiter.properties files.  Jupiter was trying to find a property that 
was
stored inside the file.

Original comment by jsakuda on 6 Aug 2007 at 1:31

GoogleCodeExporter commented 9 years ago
jsakudas answer worked for me
if you work with multiple workspaces you have to navigate into the .plugins 
folder of the workspace you installed the plugin jupiter with
copy the preference file of this workspace (folder edu.hawaii.ics.csdl.jupiter) 
into the plugin folder of the workspace you get the initializererror

Original comment by dmnk...@gmail.com on 26 Feb 2013 at 9:03