zhenyajiang / jupiter-eclipse-plugin

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

"Add Jupiter Issue" causes "Unhandled event loop exception" with jupiter plugin 3.5.0 on Eclipse 3.5 #80

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Eclipse 3.5.0
2. Install Jupiter plugin 3.5.0 (problem also occurs with 3.4.2)
3. In "Review Table" tab, click on "Add Jupiter Issue" icon

What is the expected output? What do you see instead?

* In "Error Log" tab the Message reads: "Unhandled event loop exception"

What version of the product are you using? On what operating system?
    Jupiter Feature 3.5.0

     Eclipse Platform:

     Version: 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ
     Build id: I20090611-1540

If applicable, what editor does the problem occur in (Jupiter is tested
against the 'Eclipse for RCP/Plug-in Developers' so the editors may vary)?

Please provide any additional information below.

Error Message:  "Unhandled event loop exception"

=================================================
Session Data:

eclipse.buildId=I20090611-1540
java.version=1.6.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product
org.eclipse.epp.package.jee.product -data C:\appserver\applyonlinenow\java\apps

======================================================
Stack Trace:

java.lang.NullPointerException
    at
edu.hawaii.ics.csdl.jupiter.file.PropertyXmlSerializer.newProperty(PropertyXmlSe
rializer.java:79)
    at
edu.hawaii.ics.csdl.jupiter.file.PropertyResource.fillReviewIdReviewMap(Property
Resource.java:93)
    at
edu.hawaii.ics.csdl.jupiter.file.PropertyResource.getInstance(PropertyResource.j
ava:67)
    at
edu.hawaii.ics.csdl.jupiter.file.FileResource.getOpenedAndReviewIdContainedProje
cts(FileResource.java:396)
    at
edu.hawaii.ics.csdl.jupiter.ui.menu.PhaseSelectionMenu.doUpdateMenuCommand(Phase
SelectionMenu.java:283)
    at
edu.hawaii.ics.csdl.jupiter.ui.view.table.ReviewTableViewAction$8.run(ReviewTabl
eViewAction.java:411)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionCont
ributionItem.java:584)
    at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.
java:501)
    at
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContribution
Item.java:452)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java
:113)
    at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecli
pseAppLauncher.java:110)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.java:79)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

Original issue reported on code.google.com by grimshaw...@gmail.com on 29 Jun 2009 at 5:39

GoogleCodeExporter commented 8 years ago
Hello, thank you for providing all the info!  Does the project have existing 
reviews?
 Or does this happen regardless?

Original comment by jsakuda on 29 Jun 2009 at 6:26

GoogleCodeExporter commented 8 years ago
I have reproduced this issue and it will be fixed in the next release.  It 
occurs
when you try to create an issue with the "+" and there is no project currently
selected.  This should be checked for.

Original comment by jsakuda on 29 Jun 2009 at 7:09

GoogleCodeExporter commented 8 years ago
Fixed in revision 173.  
http://code.google.com/p/jupiter-eclipse-plugin/source/detail?r=173

Original comment by jsakuda on 12 Oct 2009 at 3:04