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 50504 - ConcurrentModificationException while pasting into source
Summary: ConcurrentModificationException while pasting into source
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Martin Matula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 21:55 UTC by Jan Chalupa
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception stack trace (1.51 KB, text/plain)
2004-10-15 21:55 UTC, Jan Chalupa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Chalupa 2004-10-15 21:55:00 UTC
[custom build of 200410115 trunk; JDK 1.4.2_04]

While trying to verify issue #47491, I pasted 
the following code fragment into a newly created 
class:

static class MyTest extends JButton {
    public MyTest() {
         super("Ok");
         addActionListener(new ActionListener() {
           // *this*
         });
     }
}

ConcurrentModificationException was thrown 
immediately (stack trace attached).
Comment 1 Jan Chalupa 2004-10-15 21:55:37 UTC
Created attachment 18332 [details]
Exception stack trace
Comment 2 Martin Matula 2004-10-18 16:30:17 UTC
Fixed.

Checking in
src/org/netbeans/modules/javacore/jmiimpl/javamodel/MetadataElement.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/MetadataElement.java,v
 <--  MetadataElement.java
new revision: 1.35; previous revision: 1.34
done
Checking in
src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java,v
 <--  ResourceImpl.java
new revision: 1.38; previous revision: 1.37
done
Checking in
src/org/netbeans/modules/javacore/jmiimpl/javamodel/SemiPersistentElement.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/SemiPersistentElement.java,v
 <--  SemiPersistentElement.java
new revision: 1.50; previous revision: 1.49
done
Processing log script arguments...
More commits to come...
Checking in src/org/netbeans/modules/javacore/parser/ResourceInfo.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/ResourceInfo.java,v
 <--  ResourceInfo.java
new revision: 1.12; previous revision: 1.11
done
Comment 3 Jiri Prox 2005-07-12 13:42:27 UTC
Verified in 4.2 (200507110943)
Comment 4 Quality Engineering 2007-09-20 12:46:31 UTC
Reorganization of java component