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 100754 - NPE from SourceUtils
Summary: NPE from SourceUtils
Status: RESOLVED DUPLICATE of bug 100741
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-12 10:34 UTC by Erno Mononen
Modified: 2007-04-12 10:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (1000 bytes, text/plain)
2007-04-12 10:35 UTC, Erno Mononen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2007-04-12 10:34:56 UTC
NetBeans IDE Dev (Build 200704111800)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Linux version 2.6.20-13-386 running on i386
en_US (nb); UTF-8

I get the following exception every time when trying to open the 
o.n.m.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator class in the 
editor. The class opened normally and I can continue working on it after 
closing the exception dialog, but every time I switch to another tab and back I 
get the exception again.

java.lang.NullPointerException
	at 
org.netbeans.modules.profiler.utils.SourceUtils$4.run(SourceUtils.java:370)
	at 
org.netbeans.modules.profiler.utils.SourceUtils$4.run(SourceUtils.java:350)
	at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:450)
	at 
org.netbeans.modules.profiler.utils.SourceUtils.isInstanceOf(SourceUtils.java:347)
Comment 1 Erno Mononen 2007-04-12 10:35:35 UTC
Created attachment 40810 [details]
stack trace
Comment 2 Jiri Sedlacek 2007-04-12 10:39:58 UTC
Looks like a duplicate of Issue 100741.

*** This issue has been marked as a duplicate of 100741 ***