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 192168 - NullPointerException at org.netbeans.modules.junit.actions.TestClassInfoTask.run
Summary: NullPointerException at org.netbeans.modules.junit.actions.TestClassInfoTask.run
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-19 12:15 UTC by jonycus
Modified: 2012-04-13 09:49 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 173256


Attachments
stacktrace (3.46 KB, text/plain)
2010-11-19 12:15 UTC, jonycus
Details
stacktrace (3.46 KB, text/plain)
2010-12-08 12:06 UTC, Exceptions Reporter
Details
stacktrace (3.46 KB, text/plain)
2011-02-09 23:21 UTC, simpatico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jonycus 2010-11-19 12:15:00 UTC
Build: NetBeans IDE 7.0 M2 (Build 201010151251)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Windows 7

User Comments:
jonycus: right click in editor

GUEST: <ctrl>b




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.junit.actions.TestClassInfoTask.run(TestClassInfoTask.java:87)
   at org.netbeans.modules.junit.actions.TestClassInfoTask.run(TestClassInfoTask.java:55)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:483)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:154)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:138)
   at org.netbeans.modules.parsing.impl.TaskProcessor$1.call(TaskProcessor.java:199)
Comment 1 jonycus 2010-11-19 12:15:05 UTC
Created attachment 103099 [details]
stacktrace
Comment 2 Exceptions Reporter 2010-12-08 12:06:48 UTC
Created attachment 103739 [details]
stacktrace

Trying to go to a method by holding Ctrl and clicking the mouse.
The file containing the method opened, but was empty.

java.lang.NullPointerException
	at org.netbeans.modules.junit.actions.TestClassInfoTask.run(TestClassInfoTask.java:87)
	at org.netbeans.modules.junit.actions.TestClassInfoTask.run(TestClassInfoTask.java:55)
	at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:483)
	at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:154)
	at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:138)
	at org.netbeans.modules.parsing.impl.TaskProcessor$1.call(TaskProcessor.java:199)
	at org.netbeans.modules.parsing.impl.TaskProcessor$1.call(TaskProcessor.java:196)
	at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:167)
	at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:323)
	at org.netbeans.modules.p
Comment 3 simpatico 2011-02-09 23:21:49 UTC
Created attachment 105811 [details]
stacktrace
Comment 4 Exceptions Reporter 2011-02-09 23:22:02 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=173256
Comment 5 Theofanis Oikonomou 2012-04-12 12:02:57 UTC
Fixed: http://hg.netbeans.org/core-main/rev/61420cd5cae6
Comment 6 Quality Engineering 2012-04-13 09:49:32 UTC
Integrated into 'main-golden', will be available in build *201204130400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/61420cd5cae6
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #192168 - NullPointerException at org.netbeans.modules.junit.actions.TestClassInfoTask.run