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 90755 - NPE when try to use code-completion in Code Templates
Summary: NPE when try to use code-completion in Code Templates
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 5.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: REGRESSION
: 94464 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-07 13:45 UTC by Martin Krauskopf
Modified: 2007-02-05 22:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE.txt (1.90 KB, text/plain)
2006-12-07 13:46 UTC, Martin Krauskopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Krauskopf 2006-12-07 13:45:31 UTC
fresh build, linux, jdk60-b104

1) Menu -> Tools -> Options -> Editor -> Code Templates
2) New Temlated named e.g. 'a'
3) Try to use code-completion in "Expadned Text" area

Attached NPE is thrown.
Comment 1 Martin Krauskopf 2006-12-07 13:46:28 UTC
Created attachment 36552 [details]
NPE.txt
Comment 2 Dusan Balek 2007-02-01 15:05:33 UTC
Fixed.

Checking in JavaCompletionProvider.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCompletionProvider.java,v
 <--  JavaCompletionProvider.java
new revision: 1.78; previous revision: 1.77
done
Comment 3 Vitezslav Stejskal 2007-02-05 22:45:08 UTC
*** Issue 94464 has been marked as a duplicate of this issue. ***