huahouye / jupiter-eclipse-plugin

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

Getting Unhandled event loop exception java.lang.NullPointerException at edu.hawaii.ics.csdl.jupiter.file.PropertyXmlSerializer.newProperty(Property) #91

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. For a project already having the existing review comments, when trying 
to rework for the first time, enter the name of the review project as 
different than the review comments project.
2. Choose option 3. Review Phase. 
3. You will get the java.lang.NullPointerException
at edu.hawaii.ics.csdl.jupiter.file.PropertyXmlSerializer.newProperty

What is the expected output? What do you see instead?
I should able to see all the existing issues 
I should be able to correct the Project Name for which review comments were 
raised.

What version of the product are you using? On what operating system?
It is Ecplise 3.5 and Windows XP

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)?
I have downloaded the plugin from Jupiter - http://jupiter-eclipse-
plugin.googlecode.com/svn/trunk/site/ site

Please provide any additional information below.

stack trace

eclipse.buildId=I20090611-1540
java.version=1.6.0_12
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 -
setworkspace -showlocation
Command-line arguments:  -os win32 -ws win32 -arch x86 -product 
org.eclipse.epp.package.jee.product -setworkspace -showlocation

Error
Sun Oct 11 01:54:12 CDT 2009
Unhandled event loop exception

java.lang.NullPointerException
at 
edu.hawaii.ics.csdl.jupiter.file.PropertyXmlSerializer.newProperty(Property
XmlSerializer.java:79)
at 
edu.hawaii.ics.csdl.jupiter.file.PropertyResource.fillReviewIdReviewMap(Pro
pertyResource.java:93)
at 
edu.hawaii.ics.csdl.jupiter.file.PropertyResource.getInstance(PropertyResou
rce.java:67)
at 
edu.hawaii.ics.csdl.jupiter.file.FileResource.getOpenedAndReviewIdContained
Projects(FileResource.java:396)
at 
edu.hawaii.ics.csdl.jupiter.ui.menu.PhaseSelectionMenu.doSelectionMenuComma
nd(PhaseSelectionMenu.java:150)
at 
edu.hawaii.ics.csdl.jupiter.ui.menu.PhaseSelectionMenu.access$0(PhaseSelect
ionMenu.java:143)
at 
edu.hawaii.ics.csdl.jupiter.ui.menu.PhaseSelectionMenu$2.widgetSelected(Pha
seSelectionMenu.java:126)
at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
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
(EclipseAppLauncher.java:110)
at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseA
ppLauncher.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:3
9)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java: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 suryara...@gmail.com on 11 Oct 2009 at 7:00

GoogleCodeExporter commented 8 years ago
I'm sorry I'm not quite understanding how to reproduce this issue.  How did you 
change the name of your 
project?

Original comment by jsakuda on 12 Oct 2009 at 1:41