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 62583 - NPE while opening a template from Options dialog
Summary: NPE while opening a template from Options dialog
Status: VERIFIED DUPLICATE of bug 62688
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 5.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-18 14:48 UTC by Max Sauer
Modified: 2005-09-05 10:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exc. stack trace (977 bytes, text/plain)
2005-08-18 14:49 UTC, Max Sauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2005-08-18 14:48:45 UTC
Opening any template from Java Classes section in Options dialog produces
following NPE:

java.lang.NullPointerException
	at org.netbeans.modules.java.JavaEditor.parseSource(JavaEditor.java:245)
	at org.netbeans.modules.java.JavaEditor.changeTimeoutElapsed(JavaEditor.java:210)
	at org.netbeans.modules.java.JavaEditor.access$400(JavaEditor.java:88)
...
(whole exc. stack trace added as attachement)

Steps to reproduce:
-------------------
1) Run the IDE
2) Invoke "Tools | Options"
3) Under "Source creation and management | Templates | Java Classes", select an item
4) Invoke "Open" from its pop-up menu
--> exception

[200508171800, JDK 1.5.0_05 fcs b03, solaris 10 / sparc]
Comment 1 Max Sauer 2005-08-18 14:49:59 UTC
Created attachment 24044 [details]
exc. stack trace
Comment 2 Martin Matula 2005-08-23 16:49:03 UTC
Already fixed.

*** This issue has been marked as a duplicate of 62688 ***
Comment 3 Max Sauer 2005-08-30 09:31:21 UTC
Ok, marking as verified duplicate. On the other hand, I can't understand why
62583 should be marked as duplicate of a later submitted 62688.