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 193111 - UnsupportedOperationException at java.util.AbstractList.add
Summary: UnsupportedOperationException at java.util.AbstractList.add
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal with 1 vote (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-09 10:45 UTC by nikpet
Modified: 2011-01-06 09:13 UTC (History)
13 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 174796


Attachments
stacktrace (3.80 KB, text/plain)
2010-12-09 10:45 UTC, nikpet
Details
stacktrace (3.80 KB, text/plain)
2010-12-15 14:50 UTC, oliver.hv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nikpet 2010-12-09 10:45:32 UTC
Build: NetBeans IDE Dev (Build 201012090001)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

User Comments:
GUEST: edit line move cursor with arrow key

GUEST: switch between files

nikpet: Pasted some code form another controller (zend project)




Stacktrace: 
java.lang.UnsupportedOperationException
   at java.util.AbstractList.add(AbstractList.java:131)
   at java.util.AbstractList.add(AbstractList.java:91)
   at org.netbeans.modules.php.editor.model.impl.VariableNameImpl.createLazyFieldAssignment(VariableNameImpl.java:441)
   at org.netbeans.modules.php.editor.model.impl.ModelVisitor.visit(ModelVisitor.java:693)
   at org.netbeans.modules.php.editor.parser.astnodes.Assignment.accept(Assignment.java:112)
   at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:54)
Comment 1 nikpet 2010-12-09 10:45:35 UTC
Created attachment 103811 [details]
stacktrace
Comment 2 Exceptions Reporter 2010-12-14 08:01:26 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=174796
Comment 3 oliver.hv 2010-12-15 14:50:12 UTC
Created attachment 104125 [details]
stacktrace

A fast switch to a terminal window and back to Netbeans, then I clicked in the Editor.
Comment 4 Petr Pisl 2011-01-04 13:40:30 UTC
Fixed in web-main. Should be ok from next build.
Comment 5 Quality Engineering 2011-01-06 09:13:17 UTC
Integrated into 'main-golden', will be available in build *201101060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/554c35a351a7
User: Petr Pisl <ppisl@netbeans.org>
Log: #193111 - UnsupportedOperationException at java.util.AbstractList.add