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.
Created attachment 119347 [details] testing project Product Version: NetBeans IDE Dev (Build 201205110400) Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21 System: Mac OS X version 10.7.3 running on x86_64; US-ASCII; en_US (nb) User directory: /Users/tomas/Library/Application Support/NetBeans/dev Cache directory: /Users/tomas/Library/Caches/NetBeans/dev ----------- - in attached project, run test suite (from popup). You see there's a failure in test results, but you are not able to get any stracktrace. Click on node with test failure navigates only to testcase and method which failed. - OTOH, while running single testcae (TC2), output is verbose and at least in output window I'm able to navigate using call stack: [VerboseTestNG] java.lang.NullPointerException [VerboseTestNG] at testingprj.TestingPrj.failMe(TestingPrj.java:22) [VerboseTestNG] at testngpack.TC2.hello2a(TC2.java:43) would be nice to integrate this to test results window directly.
I am sorry but I cannot reproduce. I am attaching a screenshot of what I get. The stacktrace is integrated in the Test Results Window and I can navigate using the "Go to Source" popup action.
Created attachment 119355 [details] Test Results Window with stacktrace
hmm, now it works for me as well:( Some kind of random bug probably, will see if i can reproduce again.
just happend again... marking with RANDOM
try to reproduce with: - create Anagrame game sample (samples|java) - on com.toy.anagrams.lib invoke "Create tests" - create testNG tests + suite - invoke "Test file" on suite --> Random number of tests has not expandable stacktrace IMO this has something to to with refreshing status of nodes, since toggling off and on "Show failed" does some kind of refresh. After that all nodes are ok. Worth to take a look if this could be fixed for 7.2
(In reply to comment #5) > IMO this has something to to with refreshing status of nodes, since toggling > off and on "Show failed" does some kind of refresh. After that all nodes are > ok. Worth to take a look if this could be fixed for 7.2 This seems to be the reason. Some synchronization problem. Since there is a workaround I am changing to P3 and targeting to fix it in trunk for 7.3 or a patch in 7.2 if there will be one
unfortunately we won't have a fix in 72patch1 timeframe, let's try 72patch2
Too risky for 7.2.1. Removing "72patch2-candidate" tag.
Using the steps from comment 5, I can reproduce it in NetBeans IDE 7.2 (Build 201207171143) but not in latest builds NetBeans IDE Dev (Build 20121119-3e15ac13b3cf). Please reopen if it still happens for you. Thank you
Created attachment 128207 [details] screenshot - some nodes not expandable. Still reproducible in build, see screenshot Product Version: NetBeans IDE Dev (Build 201211180002) 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: Mac OS X version 10.8.2 running on x86_64; UTF-8; en_US (nb) User directory: /Users/tomas/Library/Application Support/NetBeans/dev Cache directory: /Users/tomas/Library/Caches/NetBeans/dev
I think that this is fixed by http://hg.netbeans.org/core-main/rev/da970729846b
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/da970729846b User: Theofanis Oikonomou <theofanis@netbeans.org> Log: Issue #212381 - Unable to navigate to failure - no stracktrace in results nor output
works now fine, thanks! Product Version: NetBeans IDE Dev (Build 201212100001)