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 210458 - NullPointerException at org.netbeans.modules.testng.ui.TestUtil.getPluginForProject
Summary: NullPointerException at org.netbeans.modules.testng.ui.TestUtil.getPluginForP...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: TestNG (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-30 17:08 UTC by 280Z28
Modified: 2012-04-04 10:12 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186318


Attachments
stacktrace (3.06 KB, text/plain)
2012-03-30 17:09 UTC, 280Z28
Details
stacktrace (2.74 KB, text/plain)
2012-04-02 12:44 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 280Z28 2012-03-30 17:08:54 UTC
Build: NetBeans IDE Dev (Build 20120329-6e58d6122929)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7

User Comments:
GUEST: Startup




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.testng.ui.TestUtil.getPluginForProject(TestUtil.java:780)
   at org.netbeans.modules.testng.ui.GoToOppositeAction.appliesTo(GoToOppositeAction.java:356)
   at org.netbeans.modules.gototest.GotoOppositeAction.getLocatorFor(GotoOppositeAction.java:193)
   at org.netbeans.modules.gototest.GotoOppositeAction.getFileType(GotoOppositeAction.java:211)
   at org.netbeans.modules.gototest.GotoOppositeAction.getCurrentFileType(GotoOppositeAction.java:222)
   at org.netbeans.modules.gototest.GotoOppositeAction.isEnabled(GotoOppositeAction.java:116)
Comment 1 280Z28 2012-03-30 17:09:01 UTC
Created attachment 117570 [details]
stacktrace
Comment 2 Tomas Mysik 2012-04-02 12:44:20 UTC
Created attachment 117654 [details]
stacktrace

IDE started only with PHP projects (so apparently no TestNG support available/expected)
Comment 3 Theofanis Oikonomou 2012-04-03 14:27:24 UTC
Fixed: http://hg.netbeans.org/core-main/rev/fc75f19edf80
Comment 4 Quality Engineering 2012-04-04 10:12:27 UTC
Integrated into 'main-golden', will be available in build *201204040400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/fc75f19edf80
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #210458 - NullPointerException at org.netbeans.modules.testng.ui.TestUtil.getPluginForProject