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 247781 - UnsupportedOperationException at java.util.AbstractCollection.add
Summary: UnsupportedOperationException at java.util.AbstractCollection.add
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-07 19:57 UTC by Jesse Glick
Modified: 2014-11-03 10:24 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 212537


Attachments
stacktrace (5.20 KB, text/plain)
2014-10-07 19:57 UTC, Jesse Glick
Details
stacktrace (5.78 KB, text/plain)
2014-10-09 22:09 UTC, Jesse Glick
Details
stacktrace (4.90 KB, text/plain)
2014-10-16 15:46 UTC, Jesse Glick
Details
stacktrace (6.94 KB, text/plain)
2014-11-03 09:36 UTC, akobberup
Details
stacktrace (7.01 KB, text/plain)
2014-11-03 10:24 UTC, akobberup
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2014-10-07 19:57:16 UTC
Build: NetBeans IDE Dev (Build 20141006-4ea7f3351b6c)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_67-b01
OS: Linux

User Comments:
jglick: Resolving conflicts from git-cherry-pick.




Stacktrace: 
java.lang.UnsupportedOperationException
   at java.util.AbstractCollection.add(AbstractCollection.java:260)
   at org.netbeans.modules.java.source.parsing.CompilationInfoImpl$DiagnosticListenerImpl.report(CompilationInfoImpl.java:529)
   at com.sun.tools.javac.util.Log.writeDiagnostic(Log.java:696)
   at com.sun.tools.javac.util.Log$DefaultDiagnosticHandler.report(Log.java:680)
   at com.sun.tools.javac.util.Log$DeferredDiagnosticHandler.reportDeferredDiagnostics(Log.java:175)
   at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.showDiagnostics(JavacProcessingEnvironment.java:1074)
Comment 1 Jesse Glick 2014-10-07 19:57:18 UTC
Created attachment 149775 [details]
stacktrace
Comment 2 Jesse Glick 2014-10-09 22:09:23 UTC
Created attachment 149822 [details]
stacktrace

Switched branch and was trying to browse sources.
Comment 3 Jesse Glick 2014-10-16 15:46:24 UTC
Created attachment 149945 [details]
stacktrace

Resolving merge conflicts.
Comment 4 akobberup 2014-11-03 09:36:32 UTC
Created attachment 150227 [details]
stacktrace

Typing in a new method in an interface..
Comment 5 akobberup 2014-11-03 10:24:32 UTC
Created attachment 150228 [details]
stacktrace

Using code completion while typing in an import
Comment 6 Exceptions Reporter 2014-11-03 10:24:35 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=212537