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.

Bug 254069 - NullPointerException at org.netbeans.modules.gsf.testrunner.ui.CommonTestsCfgOfCreate.updateClassName
Summary: NullPointerException at org.netbeans.modules.gsf.testrunner.ui.CommonTestsCfg...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: TestNG (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-02 09:33 UTC by mienamoo
Modified: 2015-09-14 08:23 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 218919


Attachments
stacktrace (3.77 KB, text/plain)
2015-08-02 09:33 UTC, mienamoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mienamoo 2015-08-02 09:33:35 UTC
This bug was originally marked as duplicate of bug 253636, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 Beta (Build 201507302201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Windows 8

User Comments:
mienamoo: I was busy testing this:
http://services.netbeans.org/synergy/client/app/#/case/1338/suite/1079/v/1

1. Download sample file for the test suite (JUnitSanity.zip)
2. Unzip and open project in IDE.
3. Resolve missing dependency
4. Right-click on junitsanity, choose Tools and then Create/Update Tests
5. Exception occurs

wshackleAtGmail: Attempting to create update unit tests.

This occured in step 1 of the "Test files" test specification at:

http://services.netbeans.org/synergy/client/app/#/assignment/1133/v/1




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.gsf.testrunner.ui.CommonTestsCfgOfCreate.updateClassName(CommonTestsCfgOfCreate.java:555)
   at org.netbeans.modules.gsf.testrunner.ui.CommonTestsCfgOfCreate.fireFrameworkChanged(CommonTestsCfgOfCreate.java:535)
   at org.netbeans.modules.gsf.testrunner.ui.CommonTestsCfgOfCreate.addTestingFrameworks(CommonTestsCfgOfCreate.java:602)
   at org.netbeans.modules.gsf.testrunner.ui.api.TestCreatorPanelDisplayer.displayPanel(TestCreatorPanelDisplayer.java:105)
   at org.netbeans.modules.gsf.testrunner.ui.TestCreatorAction.performAction(TestCreatorAction.java:129)
   at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:586)
Comment 1 mienamoo 2015-08-02 09:33:38 UTC
Created attachment 155121 [details]
stacktrace
Comment 2 Theofanis Oikonomou 2015-09-14 08:23:54 UTC
From all the stacktraces in exception reports it seems that the build used does not contain the fix from http://hg.netbeans.org/main-silver/rev/2ede7e87355a. Please try a latest build and reopen if it still happens for you. Thank you