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 172207 - AssertionError at org.netbeans.modules.java.source.JavaSourceAccessor.addPhaseCompletionTask
Summary: AssertionError at org.netbeans.modules.java.source.JavaSourceAccessor.addPhas...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Zezula
URL: http://statistics.netbeans.org/except...
Keywords:
: 172208 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-14 17:26 UTC by Marian Mirilovic
Modified: 2010-09-23 14:13 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 158470


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2009-09-14 17:26:36 UTC
Build: NetBeans IDE Dev (Build 200909132344)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.28-15-generic, amd64
User comments: tried to enable C/C++ by opening xyz.sh file from Files view

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.java.source.JavaSourceAccessor.addPhaseCompletionTask(JavaSourceAccessor.java:173)
        at org.netbeans.api.java.source.JavaSourceTaskFactory$3.addPhaseCompletionTask(JavaSourceTaskFactory.java:252)
        at org.netbeans.api.java.source.JavaSourceTaskFactory.stateChangedImpl(JavaSourceTaskFactory.java:206)
        at org.netbeans.api.java.source.JavaSourceTaskFactory.access$000(JavaSourceTaskFactory.java:80)
        at org.netbeans.api.java.source.JavaSourceTaskFactory$1.run(JavaSourceTaskFactory.java:141)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1070)
Comment 1 Jan Lahoda 2009-09-14 19:14:04 UTC
*** Issue 172208 has been marked as a duplicate of this issue. ***
Comment 2 Jan Lahoda 2009-10-01 09:36:25 UTC
Hm, no idea what went wrong.
Comment 3 Exceptions Reporter 2010-03-15 00:31:14 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=158470
Comment 4 Exceptions Reporter 2010-06-28 21:38:02 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=158470
Comment 5 David Strupl 2010-07-27 13:40:41 UTC
 if (hanz == null) throw new NullPointerException ();
Comment 6 Tomas Zezula 2010-07-28 12:29:02 UTC
jet-main 8073df481db0 - first (safer) part of the fix.
Comment 7 Tomas Zezula 2010-07-28 14:09:39 UTC
Hopefully fixed in jet-main 9db0752d43ff
Comment 8 Quality Engineering 2010-07-29 03:16:58 UTC
Integrated into 'main-golden', will be available in build *201007290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/8073df481db0
User: Tomas Zezula <tzezula@netbeans.org>
Log: #172207:AssertionError at org.netbeans.modules.java.source.JavaSourceAccessor.addPhaseCompletionTask - part 1
Comment 9 misterm 2010-09-08 17:09:57 UTC
This is soooo annoying... Any chance it might be backported to 6.9?
Comment 10 Tomas Zezula 2010-09-23 14:13:22 UTC
Adding sustaining to cc to decide if it should be a part of patch.