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 222985 - IllegalArgumentException: Called DataObject.find on null
Summary: IllegalArgumentException: Called DataObject.find on null
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: TestNG (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-29 14:39 UTC by Jiri Kovalsky
Modified: 2012-12-06 09:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 195866


Attachments
stacktrace (2.40 KB, text/plain)
2012-11-29 14:39 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2012-11-29 14:39:07 UTC
Build: NetBeans IDE Dev (Build 201211200002)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.12-b01-434, Java(TM) SE Runtime Environment, 1.6.0_37-b06-434-11M3909
OS: Mac OS X

User Comments:
jkovalsky: Had "Test Results" output window displaying JUnit test results. Removed JUnit test library and deleted all JUnit tests. Created new TestNG tests and pushed "Re-run" button in the "Test Results" window.




Stacktrace: 
java.lang.IllegalArgumentException: Called DataObject.find on null
   at org.openide.loaders.DataObject.find(DataObject.java:533)
   at org.netbeans.modules.testng.output.TestNGExecutionManager.<init>(TestNGExecutionManager.java:109)
   at org.netbeans.modules.testng.output.TestNGOutputReader.<init>(TestNGOutputReader.java:152)
   at org.netbeans.modules.testng.output.TestNGAntLogger.getOutputReader(TestNGAntLogger.java:433)
   at org.netbeans.modules.testng.output.TestNGAntLogger.taskStarted(TestNGAntLogger.java:366)
   at org.apache.tools.ant.module.bridge.impl.NbBuildLogger.taskStarted(NbBuildLogger.java:524)
Comment 1 Jiri Kovalsky 2012-11-29 14:39:09 UTC
Created attachment 128589 [details]
stacktrace
Comment 2 Theofanis Oikonomou 2012-11-29 15:08:32 UTC
Fixed: http://hg.netbeans.org/core-main/rev/e1244f90af31
Comment 3 Quality Engineering 2012-12-02 03:07:17 UTC
Integrated into 'main-golden', will be available in build *201212020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e1244f90af31
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #222985 - IllegalArgumentException: Called DataObject.find on null
Comment 4 Jiri Kovalsky 2012-12-06 09:21:15 UTC
Product Version: NetBeans IDE Dev (Build 201212060001)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15
System: Linux version 3.0.0-12-generic running on amd64; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/dev
Cache directory: /home/cesilko/.cache/netbeans/dev

Verified.