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 89701 - Exception dialog on opening new files
Summary: Exception dialog on opening new files
Status: RESOLVED DUPLICATE of bug 88996
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-20 20:42 UTC by Torbjorn Norbye
Modified: 2007-01-17 10:09 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 Torbjorn Norbye 2006-11-20 20:42:22 UTC
I frequently get a popup exception dialog when opening new files. It's getting
pretty annoying so I'm filing it as a P2.

java.lang.NullPointerException
	at
org.netbeans.modules.java.hints.CreatorBasedLazyFixList.getFixes(CreatorBasedLazyFixList.java:75)
	at
org.netbeans.modules.editor.hints.HintsControllerImpl$CompoundLazyFixList.getFixes(HintsControllerImpl.java:458)
	at
org.netbeans.modules.editor.hints.AnnotationHolder.updateAnnotations(AnnotationHolder.java:197)
	at
org.netbeans.modules.editor.hints.AnnotationHolder.access$500(AnnotationHolder.java:69)
	at
org.netbeans.modules.editor.hints.AnnotationHolder$2$1.run(AnnotationHolder.java:178)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:541)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:963)
Comment 1 Torbjorn Norbye 2006-11-20 23:38:01 UTC
I also get the following exception a lot... I don't know if it's related, but
since they both deal with hints, perhaps they are:

java.util.ConcurrentModificationException
	at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
	at java.util.AbstractList$Itr.next(AbstractList.java:420)
	at
org.netbeans.modules.java.hints.LazyHintComputation.run(LazyHintComputation.java:85)
	at
org.netbeans.modules.java.hints.LazyHintComputation.run(LazyHintComputation.java:31)
	at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:1116)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
[catch] at java.lang.Thread.run(Thread.java:613)


This is on OSX, with up to date sources as of 11/20/06.
Comment 2 Jan Lahoda 2006-11-21 16:26:26 UTC
The first NPE is a dupe of issue #88996. The second of issue #88807.

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