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 247029 - UnsupportedOperationException at java.util.AbstractCollection.add
Summary: UnsupportedOperationException at java.util.AbstractCollection.add
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-11 13:08 UTC by Vladimir Riha
Modified: 2015-03-19 03:35 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 211722


Attachments
stacktrace (7.40 KB, text/plain)
2014-09-11 13:08 UTC, Vladimir Riha
Details
stacktrace (5.15 KB, text/plain)
2014-09-16 20:33 UTC, Jesse Glick
Details
stacktrace (5.15 KB, text/plain)
2014-09-19 20:39 UTC, Jesse Glick
Details
stacktrace (5.46 KB, text/plain)
2014-10-14 00:36 UTC, _ tboudreau
Details
stacktrace (5.47 KB, text/plain)
2014-11-01 21:09 UTC, adithyank
Details
stacktrace (4.65 KB, text/plain)
2014-11-04 02:51 UTC, _ tboudreau
Details
stacktrace (5.80 KB, text/plain)
2014-11-06 11:36 UTC, adithyank
Details
stacktrace (5.46 KB, text/plain)
2014-11-07 13:45 UTC, adithyank
Details
stacktrace (5.32 KB, text/plain)
2014-12-22 06:26 UTC, ehsavoie
Details
dump file (the exception report said to attach this) (17.03 KB, application/octet-stream)
2015-03-10 14:05 UTC, terje7601
Details
stacktrace (5.74 KB, text/plain)
2015-03-13 21:20 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-09-11 13:08:22 UTC
Build: NetBeans IDE Dev (Build 201409110001)
VM: Java HotSpot(TM) Client VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Linux

User Comments:
vriha: paste few characters from clipboard into package name in java class




Stacktrace: 
java.lang.UnsupportedOperationException
   at java.util.AbstractCollection.add(AbstractCollection.java:262)
   at org.netbeans.modules.java.source.parsing.CompilationInfoImpl$DiagnosticListenerImpl.report(CompilationInfoImpl.java:529)
   at com.sun.tools.javac.util.Log.writeDiagnostic(Log.java:699)
   at com.sun.tools.javac.util.Log$DefaultDiagnosticHandler.report(Log.java:671)
   at com.sun.tools.javac.util.Log.report(Log.java:642)
   at com.sun.tools.javac.util.AbstractLog.warning(AbstractLog.java:139)
Comment 1 Vladimir Riha 2014-09-11 13:08:23 UTC
Created attachment 149139 [details]
stacktrace
Comment 2 Jesse Glick 2014-09-16 20:33:09 UTC
Created attachment 149270 [details]
stacktrace

Switched branch of an open project from shell.
Comment 3 Jesse Glick 2014-09-19 20:39:22 UTC
Created attachment 149380 [details]
stacktrace

CP scanning after switching branches from shell.
Comment 4 Exceptions Reporter 2014-09-30 03:53:11 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=211722
Comment 5 _ tboudreau 2014-10-14 00:36:59 UTC
Created attachment 149883 [details]
stacktrace

Copying some code out of Wicket sources
Comment 6 adithyank 2014-11-01 21:09:31 UTC
Created attachment 150205 [details]
stacktrace

while opening a java file under a maven project
Comment 7 _ tboudreau 2014-11-04 02:51:36 UTC
Created attachment 150253 [details]
stacktrace

Created a new class in https://kenai.com/projects/simplevalidation and finished typing the line with a static variable:

public class ValidatorTypes {
    public static final Class<? extends Validator> URL = UrlValidator.class;
    
}
Comment 8 adithyank 2014-11-06 11:36:39 UTC
Created attachment 150320 [details]
stacktrace

while clicking another editor tab of java source file
Comment 9 adithyank 2014-11-07 13:45:39 UTC
Created attachment 150349 [details]
stacktrace

frequently coming in teh editor window....... nothing special doing here
Comment 10 Exceptions Reporter 2014-11-07 13:45:46 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=211722
Comment 11 ehsavoie 2014-12-22 06:26:32 UTC
Created attachment 151234 [details]
stacktrace

Refactoring a package name
Comment 12 terje7601 2015-03-10 14:05:25 UTC
Created attachment 152531 [details]
dump file (the exception report said to attach this)
Comment 13 _ tboudreau 2015-03-13 21:20:39 UTC
Created attachment 152616 [details]
stacktrace

Switched back to IDE
Comment 14 Tomas Zezula 2015-03-18 10:59:01 UTC
Fixed jet-main bfa87ddf1f1e
Comment 15 Quality Engineering 2015-03-19 03:35:10 UTC
Integrated into 'main-silver', will be available in build *201503190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/bfa87ddf1f1e
User: Tomas Zezula <tzezula@netbeans.org>
Log: #247029:UnsupportedOperationException at java.util.AbstractCollection.add