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 161598 - NPE from TopClassFinder.findTestableTopClasses
Summary: NPE from TopClassFinder.findTestableTopClasses
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexey Butenko
URL: http://deadlock.netbeans.org/hudson/j...
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2009-03-31 14:58 UTC by Jesse Glick
Modified: 2009-04-16 08:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen capture (51.05 KB, image/png)
2009-03-31 14:58 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2009-03-31 14:58:13 UTC
Thrown during C/V:

########  testJUnit  #######
WARNING [global]: junit: TestUtil.isClassImplementingTestInterface(...) could not find TypeElement for junit.framework.Test
SEVERE [org.openide.util.RequestProcessor]
java.lang.NullPointerException
	at org.netbeans.modules.junit.TopClassFinder.findTestableTopClasses(TopClassFinder.java:208)
	at org.netbeans.modules.junit.DefaultPlugin.createSingleTest(DefaultPlugin.java:1704)
	at org.netbeans.modules.junit.DefaultPlugin.createTests(DefaultPlugin.java:1829)
	at org.netbeans.modules.junit.DefaultPlugin.createTests(DefaultPlugin.java:1800)
	at org.netbeans.modules.junit.DefaultPlugin.createTests(DefaultPlugin.java:904)
	at org.netbeans.modules.junit.plugin.JUnitPlugin$1.createTests(JUnitPlugin.java:81)
	at org.netbeans.modules.junit.CreateTestAction$1.run(CreateTestAction.java:312)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
Comment 1 Jesse Glick 2009-03-31 14:58:41 UTC
Created attachment 79144 [details]
Screen capture
Comment 3 Alexey Butenko 2009-04-16 08:02:26 UTC
changeset 0e4636fbed26