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 225033 - java.util.ConcurrentModificationException: Current owner: [java.io.WinNTFileSystem.list(Native Method), java.io.File.list(File.java:1048), java.io.File.listFiles(File.java:1133), org.netbeans.modules.
Summary: java.util.ConcurrentModificationException: Current owner: [java.io.WinNTFileS...
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-17 15:11 UTC by Jiri Prox
Modified: 2013-08-29 12:18 UTC (History)
17 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197694


Attachments
stacktrace (3.64 KB, text/plain)
2013-01-17 15:11 UTC, Jiri Prox
Details
stacktrace (4.66 KB, text/plain)
2013-01-18 12:58 UTC, Marian Petras
Details
stacktrace (9.72 KB, text/plain)
2013-01-21 17:13 UTC, javydreamercsw
Details
stacktrace (8.74 KB, text/plain)
2013-01-21 18:43 UTC, alied
Details
stacktrace (3.64 KB, text/plain)
2013-01-21 20:43 UTC, emiddio
Details
stacktrace (4.64 KB, text/plain)
2013-01-22 19:13 UTC, javydreamercsw
Details
stacktrace (3.99 KB, text/plain)
2013-01-22 19:46 UTC, alied
Details
stacktrace (3.64 KB, text/plain)
2013-01-23 11:22 UTC, Vladimir Voskresensky
Details
stacktrace (3.79 KB, text/plain)
2013-01-24 09:34 UTC, Milos Kleint
Details
stacktrace (3.64 KB, text/plain)
2013-01-24 11:13 UTC, Ondrej Vrabec
Details
stacktrace (5.12 KB, text/plain)
2013-01-31 04:10 UTC, Chiana
Details
stacktrace (4.46 KB, text/plain)
2013-02-04 11:53 UTC, misterm
Details
stacktrace (3.41 KB, text/plain)
2013-02-04 20:13 UTC, alied
Details
stacktrace (4.68 KB, text/plain)
2013-02-07 14:52 UTC, misterm
Details
stacktrace (4.68 KB, text/plain)
2013-02-08 14:46 UTC, tim_sa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2013-01-17 15:11:16 UTC
Build: NetBeans IDE Dev (Build 20130117-1c2fba4f4903)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_11-b21
OS: Windows 7

User Comments:
jiriprox: CME when editiing file (using CC to complete the statement)
The actual package was renamed several times if it matters




Stacktrace: 
java.util.ConcurrentModificationException: Current owner: [java.io.WinNTFileSystem.list(Native Method), java.io.File.list(File.java:1048), java.io.File.listFiles(File.java:1133), org.netbeans.modules.java.source.parsing.FolderArchive.getFiles(FolderArchive.java:118), org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:130), org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:189), com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2561), com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:2234), com.sun.tools.javac.code.Symbol.complete(Symbol.java:422), com.sun.tools.javac.jvm.ClassReader.completeOwners(ClassReader.java:2246), com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:2219), com.sun.tools.javac.code.Symbol.complete(Symbol.java:422), com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:833), com.sun.tools.javac.code.Symbol$ClassSymbol.flags(Symbol.java:771), com.sun.tools.javac.comp.Resolve.
   at org.netbeans.modules.java.source.parsing.ProxyFileManager.checkSingleOwnerThread(ProxyFileManager.java:529)
   at org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:184)
   at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2561)
   at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:2234)
   at com.sun.tools.javac.code.Symbol.complete(Symbol.java:422)
   at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:339)
Comment 1 Jiri Prox 2013-01-17 15:11:18 UTC
Created attachment 130332 [details]
stacktrace
Comment 2 Marian Petras 2013-01-18 12:58:35 UTC
Created attachment 130358 [details]
stacktrace

I was replacing part of code (content of parenthesis, on a single line) with another code. I did it using plugin jVi, with command 'ci('.

I am sorry I cannot attach the dump file.
Comment 3 javydreamercsw 2013-01-21 17:13:39 UTC
Created attachment 130460 [details]
stacktrace

Using code completion.
Comment 4 Exceptions Reporter 2013-01-21 17:13:46 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=197694
Comment 5 alied 2013-01-21 18:43:37 UTC
Created attachment 130463 [details]
stacktrace

editing a java source file. Invoking code completion on a new <myException>() constructor.
Comment 6 emiddio 2013-01-21 20:43:38 UTC
Created attachment 130471 [details]
stacktrace
Comment 7 Exceptions Reporter 2013-01-22 11:04:42 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=197694
Comment 8 javydreamercsw 2013-01-22 19:13:41 UTC
Created attachment 130500 [details]
stacktrace

Code completion.
Comment 9 alied 2013-01-22 19:46:40 UTC
Created attachment 130502 [details]
stacktrace

debugging a read-only java source file (a maven-downloaded dependency source)
Comment 10 Vladimir Voskresensky 2013-01-23 11:22:42 UTC
Created attachment 130523 [details]
stacktrace

debugging
Comment 11 Exceptions Reporter 2013-01-23 11:22:49 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=197694
Comment 12 Jan Lahoda 2013-01-23 13:15:35 UTC
I really doubt this can happen in 7.3 - I checked the source, and neither the changeset that added the "assert", nor the change itself appears to be part of 7.3:
http://hg.netbeans.org/jet-main/rev/82d9e208e78d
Comment 13 Milos Kleint 2013-01-24 09:34:42 UTC
Created attachment 130565 [details]
stacktrace

new ActionEvent_ completion
Comment 14 Ondrej Vrabec 2013-01-24 11:13:43 UTC
Created attachment 130571 [details]
stacktrace
Comment 15 Marian Mirilovic 2013-01-24 15:30:36 UTC
22 dups in 5 days
Comment 16 Chiana 2013-01-31 04:10:51 UTC
Created attachment 130862 [details]
stacktrace

Not sure why this has occured, IDE has been running for a while and was just trying to start debugging, will restart IDE and try again
Comment 17 misterm 2013-02-04 11:53:01 UTC
Created attachment 130993 [details]
stacktrace
Comment 18 alied 2013-02-04 20:13:59 UTC
Created attachment 131014 [details]
stacktrace

editing a java JPA Entity. adding a new constructor
Comment 19 misterm 2013-02-07 14:52:32 UTC
Created attachment 131101 [details]
stacktrace
Comment 20 tim_sa 2013-02-08 14:46:44 UTC
Created attachment 131154 [details]
stacktrace

code completion
Comment 21 Tomas Zezula 2013-02-08 16:14:18 UTC
Fixed jet-main 304adfc830c9
Comment 22 Quality Engineering 2013-02-10 01:41:33 UTC
Integrated into 'main-golden', will be available in build *201302092300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/304adfc830c9
User: Tomas Zezula <tzezula@netbeans.org>
Log: #225033:java.util.ConcurrentModificationException: Current owner: [java.io.WinNTFileSystem.list(Native Method), java.io.File.list(File.java:1048), java.io.File.listFiles(File.java:1133), org.netbeans.modules.
Comment 23 Jiri Prox 2013-08-29 12:18:11 UTC
No exception occurred since February 2013 -> verified