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 64061 - NPE when editing
Summary: NPE when editing
Status: RESOLVED DUPLICATE of bug 63476
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-11 19:51 UTC by _ tboudreau
Modified: 2005-09-12 12:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2005-09-11 19:51:55 UTC
On line

mgr.setSelected ( "someString", someBooleanVar );

For mysterious javacore reasons, the class of mgr seems to be unresolvable.  Any
caret motion causes the following exception:


java.lang.NullPointerException
	at
org.netbeans.modules.java.hints.JavaHintsProvider.findClasses(JavaHintsProvider.java:750)
	at
org.netbeans.modules.java.hints.JavaHintsProvider.addImportVariants(JavaHintsProvider.java:700)
	at
org.netbeans.modules.java.hints.JavaHintsProvider.access$500(JavaHintsProvider.java:42)
	at
org.netbeans.modules.java.hints.JavaHintsProvider$UnresolvedSymbolCreator.createHint(JavaHintsProvider.java:513)
	at
org.netbeans.modules.java.hints.JavaHintsProvider.getHints(JavaHintsProvider.java:117)
	at
org.netbeans.modules.editor.hints.HintsOperator$HintPopupTaskImpl.run(HintsOperator.java:233)
	at org.openide.util.Task.run(Task.java:207)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:469)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:870)
Comment 1 Martin Roskanin 2005-09-12 12:49:53 UTC
already reported, thanks

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