This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | NPE in JavaTargetChooserPanelGUI when creating empty test | ||
---|---|---|---|
Product: | java | Reporter: | Ondrej Rypacek <rypacek> |
Component: | JUnit | Assignee: | Ondrej Rypacek <rypacek> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | phrebejk |
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 41535 | ||
Attachments: | exception trace |
Description
Ondrej Rypacek
2004-09-27 15:17:20 UTC
Created attachment 17889 [details]
exception trace
I can't reproduce it. In J2SE project. Which kind of project do you use. It seems to me that it is returning illega source groups. It's reproducible only if the project is corrupted, its tests folder is doesn't exists and the source packages have not a test package pair. Ondra will check if the source-groups are correctly set as parameter for JavaTargetChooser. The sourceGroups are not passed correctly - null is among them. I'll fix that in junit. I fixed the issue and some related problems occurring when a project is corrupted by deleting the folder for tests (has support, but the physical folder is missing). checked in: http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/wizards/Utils.java.diff?r1=1.6&r2=1.7 http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/wizards/StepProblemMessage.java.diff?r1=1.1&r2=1.2 http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/wizards/SimpleTestStepLocation.java.diff?r1=1.12&r2=1.13 V |