zhenyajiang / jupiter-eclipse-plugin

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

New Review doesn't work and NullPointerException in eclipse .log #118

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Remove the DEFAULT review from .jupiter (we cleaned out our file between 
releases)
2. Open the Review list dialog from Project properties
3. click the New button

What is the expected output? What do you see instead?
Either an actual new review, or a warning as to why a new one cannot be created

What version of the product are you using? On what operating system?
3.5.1

Which Eclipse bundle do you have?

A. Eclipse IDE for Java EE Developers
  Build id: 20090621-0832
Please provide any additional information below.

The solution was merely to put back the DEFAULT node.  Not it took a while to 
figure out why.  The source, of course, showed the reason.

java.lang.NullPointerException
    at edu.hawaii.ics.csdl.jupiter.ui.wizard.ReviewIdNewAuthorPage.createProjectSelectionContent(ReviewIdNewAuthorPage.java:91)
    at edu.hawaii.ics.csdl.jupiter.ui.wizard.ReviewIdNewAuthorPage.createControl(ReviewIdNewAuthorPage.java:59)
    at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
    at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:675)
    at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:549)
    at org.eclipse.jface.window.Window.create(Window.java:431)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
    at edu.hawaii.ics.csdl.jupiter.util.ReviewDialog.processConfigWizardDialog(ReviewDialog.java:71)
    at edu.hawaii.ics.csdl.jupiter.ui.property.ReviewPropertyPage.addReviewId(ReviewPropertyPage.java:270)
    at edu.hawaii.ics.csdl.jupiter.ui.property.ReviewPropertyPage.access$1(ReviewPropertyPage.java:269)
    at edu.hawaii.ics.csdl.jupiter.ui.property.ReviewPropertyPage$3.handleEvent(ReviewPropertyPage.java:190)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)

Original issue reported on code.google.com by kevinfri...@gmail.com on 10 Dec 2010 at 4:46