Bug 271137 - Deadlock in APTUtil + Classpath
Deadlock in APTUtil + Classpath
Status: RESOLVED FIXED
Product: java
Classification: Unclassified
Component: Classpath
Dev
PC Mac OS X
: P2 (vote)
: Dev
Assigned To: Tomas Zezula
issues@java
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-21 11:14 UTC by Tomas Zezula
Modified: 2017-07-21 11:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2017-07-21 11:14:20 UTC
Found one Java-level deadlock:
=============================
"org.netbeans.modules.java.source.indexing.JavaIndexerWorker :: FILE_DELETED /Users/tom/Projects/graal/master/graal/sdk/src/org.graalvm.options/nbproject/build":
  waiting to lock monitor 0x00007f996221d838 (object 0x0000000782b3a2b8, a org.netbeans.api.java.classpath.ClassPath),
  which is held by "Editor Parsing Loop (20170622-5c7236c0a7db) :: FILE_DELETED /Users/tom/Projects/graal/master/graal/truffle/src/com.oracle.truffle.api.source/nbproject/build"
"Editor Parsing Loop (20170622-5c7236c0a7db) :: FILE_DELETED /Users/tom/Projects/graal/master/graal/truffle/src/com.oracle.truffle.api.source/nbproject/build":
  waiting to lock monitor 0x00007f99641663e8 (object 0x0000000782b395f0, a org.netbeans.api.java.classpath.ClassPath),
  which is held by "AWT-EventQueue-0 :: FILE_DELETED /Users/tom/Projects/graal/master/graal/sdk/src/org.graalvm.polyglot/nbproject/build"
"AWT-EventQueue-0 :: FILE_DELETED /Users/tom/Projects/graal/master/graal/sdk/src/org.graalvm.polyglot/nbproject/build":
  waiting to lock monitor 0x00007f996221d838 (object 0x0000000782b3a2b8, a org.netbeans.api.java.classpath.ClassPath),
  which is held by "Editor Parsing Loop (20170622-5c7236c0a7db) :: FILE_DELETED /Users/tom/Projects/graal/master/graal/truffle/src/com.oracle.truffle.api.source/nbproject/build"

Java stack information for the threads listed above:
===================================================
"org.netbeans.modules.java.source.indexing.JavaIndexerWorker :: FILE_DELETED /Users/tom/Projects/graal/master/graal/sdk/src/org.graalvm.options/nbproject/build":
	at org.netbeans.api.java.classpath.ClassPath$RootsListener.processEvent(ClassPath.java:1441)
	- waiting to lock <0x0000000782b3a2b8> (a org.netbeans.api.java.classpath.ClassPath)
	at org.netbeans.api.java.classpath.ClassPath$RootsListener.fileDataCreated(ClassPath.java:1422)
	at org.openide.filesystems.FileChangeImpl.someChange(FileChangeImpl.java:122)
	at org.openide.filesystems.FileChangeImpl.fileDataCreated(FileChangeImpl.java:166)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:172)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapperSingle.dispatchAllEventsSync(FCLSupport.java:224)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:137)
	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:105)
	at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1398)
	at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.java:795)
	at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:84)
	at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:554)
	at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:644)
	at org.openide.filesystems.FileObject.fireFileDataCreatedEvent(FileObject.java:596)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.fireFileDataCreatedEvent(BaseFileObj.java:667)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.refreshImpl(FolderObj.java:508)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.refresh(BaseFileObj.java:893)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.refresh(FolderObj.java:562)
	at org.openide.filesystems.FileObject.refresh(FileObject.java:1219)
	at org.netbeans.api.java.classpath.ClassPath$Entry.getRoot(ClassPath.java:925)
	at org.netbeans.modules.java.source.indexing.APTUtils.lambda$verifyProcessorPath$5(APTUtils.java:553)
	at org.netbeans.modules.java.source.indexing.APTUtils$$Lambda$229/2113594933.apply(Unknown Source)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at org.netbeans.modules.java.source.indexing.APTUtils.verifyProcessorPath(APTUtils.java:559)
	at org.netbeans.modules.java.source.indexing.APTUtils.propertyChange(APTUtils.java:322)
	at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:215)
	at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
	at org.netbeans.api.java.classpath.ClassPath.firePropertyChange(ClassPath.java:700)
	at org.netbeans.api.java.classpath.ClassPath$RootsListener.processEvent(ClassPath.java:1445)
	at org.netbeans.api.java.classpath.ClassPath$RootsListener.fileDataCreated(ClassPath.java:1422)
	at org.openide.filesystems.FileChangeImpl.someChange(FileChangeImpl.java:122)
	at org.openide.filesystems.FileChangeImpl.fileDataCreated(FileChangeImpl.java:166)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:172)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapperSingle.dispatchAllEventsSync(FCLSupport.java:224)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:137)
	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:105)
	at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1398)
	at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.java:795)
	at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:84)
	at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:554)
	at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:644)
	at org.openide.filesystems.FileObject.fireFileDataCreatedEvent(FileObject.java:596)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.fireFileDataCreatedEvent(BaseFileObj.java:667)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.refreshImpl(FolderObj.java:508)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.refresh(BaseFileObj.java:893)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.refresh(FolderObj.java:562)
	at org.openide.filesystems.FileObject.refresh(FileObject.java:1219)
	at org.netbeans.api.java.classpath.ClassPath$Entry.getRoot(ClassPath.java:925)
	at org.netbeans.modules.java.source.indexing.APTUtils.lambda$verifyProcessorPath$5(APTUtils.java:553)
	at org.netbeans.modules.java.source.indexing.APTUtils$$Lambda$229/2113594933.apply(Unknown Source)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at org.netbeans.modules.java.source.indexing.APTUtils.verifyProcessorPath(APTUtils.java:559)
	at org.netbeans.modules.java.source.indexing.APTUtils.propertyChange(APTUtils.java:322)
	at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:215)
	at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
	at org.netbeans.api.java.classpath.ClassPath.firePropertyChange(ClassPath.java:700)
	at org.netbeans.api.java.classpath.ClassPath$RootsListener.processEvent(ClassPath.java:1445)
	at org.netbeans.api.java.classpath.ClassPath$RootsListener.fileDeleted(ClassPath.java:1432)
	at org.openide.filesystems.FileChangeImpl.fileDeleted(FileChangeImpl.java:149)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:181)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapperSingle.dispatchAllEventsSync(FCLSupport.java:224)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:137)
	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:105)
	at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1398)
	at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.java:795)
	at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:84)
	at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:554)
	at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:644)
	at org.openide.filesystems.FileObject.fireFileDeletedEvent(FileObject.java:620)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.fireFileDeletedEvent(BaseFileObj.java:741)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.notifyDeleted(BaseFileObj.java:948)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.invalidateFO(BaseFileObj.java:942)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.refreshExistingParent(BaseFileObj.java:916)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.refresh(BaseFileObj.java:902)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.refresh(FileObj.java:380)
	at org.openide.filesystems.FileObject.refresh(FileObject.java:1219)
	at org.netbeans.api.java.classpath.ClassPath$Entry.getRoot(ClassPath.java:920)
	at org.netbeans.modules.java.source.indexing.APTUtils.pathToString(APTUtils.java:663)
	at org.netbeans.modules.java.source.indexing.APTUtils.verifyAttributes(APTUtils.java:488)
	at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$MetadataCheck.lambda$call$0(JavaCustomIndexer.java:1428)
	at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$MetadataCheck$$Lambda$381/358526971.apply(Unknown Source)
	at java.util.Optional.map(Optional.java:215)
	at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$MetadataCheck.call(JavaCustomIndexer.java:1428)
	at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$MetadataCheck.call(JavaCustomIndexer.java:1414)
	at org.openide.util.RequestProcessor$WaitableCallable.call(RequestProcessor.java:1304)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
"Editor Parsing Loop (20170622-5c7236c0a7db) :: FILE_DELETED /Users/tom/Projects/graal/master/graal/truffle/src/com.oracle.truffle.api.source/nbproject/build":
	at org.netbeans.api.java.classpath.ClassPath$RootsListener.processEvent(ClassPath.java:1441)
	- waiting to lock <0x0000000782b395f0> (a org.netbeans.api.java.classpath.ClassPath)
	at org.netbeans.api.java.classpath.ClassPath$RootsListener.fileDataCreated(ClassPath.java:1422)
	at org.openide.filesystems.FileChangeImpl.someChange(FileChangeImpl.java:122)
	at org.openide.filesystems.FileChangeImpl.fileDataCreated(FileChangeImpl.java:166)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:172)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapperSingle.dispatchAllEventsSync(FCLSupport.java:224)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:137)
	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:105)
	at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1398)
	at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.java:795)
	at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:84)
	at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:554)
	at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:644)
	at org.openide.filesystems.FileObject.fireFileDataCreatedEvent(FileObject.java:596)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.fireFileDataCreatedEvent(BaseFileObj.java:667)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.refreshImpl(FolderObj.java:508)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.refresh(BaseFileObj.java:893)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.refresh(FolderObj.java:562)
	at org.openide.filesystems.FileObject.refresh(FileObject.java:1219)
	at org.netbeans.api.java.classpath.ClassPath$Entry.getRoot(ClassPath.java:925)
	at org.netbeans.modules.java.source.indexing.APTUtils.lambda$verifyProcessorPath$5(APTUtils.java:553)
	at org.netbeans.modules.java.source.indexing.APTUtils$$Lambda$229/2113594933.apply(Unknown Source)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at org.netbeans.modules.java.source.indexing.APTUtils.verifyProcessorPath(APTUtils.java:559)
	at org.netbeans.modules.java.source.indexing.APTUtils.propertyChange(APTUtils.java:322)
	at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:215)
	at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
	at org.netbeans.api.java.classpath.ClassPath.firePropertyChange(ClassPath.java:700)
	at org.netbeans.api.java.classpath.ClassPath$RootsListener.processEvent(ClassPath.java:1445)
	at org.netbeans.api.java.classpath.ClassPath$RootsListener.fileDeleted(ClassPath.java:1432)
	at org.openide.filesystems.FileChangeImpl.fileDeleted(FileChangeImpl.java:149)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:181)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapperSingle.dispatchAllEventsSync(FCLSupport.java:224)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:137)
	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:105)
	at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1398)
	at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.java:795)
	at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:84)
	at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:554)
	at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:644)
	at org.openide.filesystems.FileObject.fireFileDeletedEvent(FileObject.java:620)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.fireFileDeletedEvent(BaseFileObj.java:741)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.notifyDeleted(BaseFileObj.java:948)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.invalidateFO(BaseFileObj.java:942)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.refreshExistingParent(BaseFileObj.java:916)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.refresh(BaseFileObj.java:902)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.refresh(FileObj.java:380)
	at org.openide.filesystems.FileObject.refresh(FileObject.java:1219)
	at org.netbeans.api.java.classpath.ClassPath$Entry.getRoot(ClassPath.java:920)
	at org.netbeans.modules.java.source.indexing.APTUtils.lambda$verifyProcessorPath$5(APTUtils.java:553)
	at org.netbeans.modules.java.source.indexing.APTUtils$$Lambda$229/2113594933.apply(Unknown Source)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at org.netbeans.modules.java.source.indexing.APTUtils.verifyProcessorPath(APTUtils.java:559)
	at org.netbeans.modules.java.source.indexing.APTUtils.propertyChange(APTUtils.java:322)
	at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:215)
	at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
	at org.netbeans.api.java.classpath.ClassPath.firePropertyChange(ClassPath.java:700)
	at org.netbeans.api.java.classpath.ClassPath$RootsListener.processEvent(ClassPath.java:1445)
	at org.netbeans.api.java.classpath.ClassPath$RootsListener.fileDeleted(ClassPath.java:1432)
	at org.openide.filesystems.FileChangeImpl.fileDeleted(FileChangeImpl.java:149)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:181)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapperSingle.dispatchAllEventsSync(FCLSupport.java:224)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:137)
	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:105)
	at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1398)
	at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.java:795)
	at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:84)
	at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:554)
	at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:644)
	at org.openide.filesystems.FileObject.fireFileDeletedEvent(FileObject.java:620)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.fireFileDeletedEvent(BaseFileObj.java:741)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.notifyDeleted(BaseFileObj.java:948)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.invalidateFO(BaseFileObj.java:942)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.refreshExistingParent(BaseFileObj.java:916)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.refresh(BaseFileObj.java:902)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.refresh(FileObj.java:380)
	at org.openide.filesystems.FileObject.refresh(FileObject.java:1219)
	at org.netbeans.api.java.classpath.ClassPath$Entry.getRoot(ClassPath.java:920)
	at org.netbeans.api.java.classpath.ClassPath.createRoots(ClassPath.java:296)
	at org.netbeans.api.java.classpath.ClassPath.getRoots(ClassPath.java:280)
	- locked <0x0000000782b3a2b8> (a org.netbeans.api.java.classpath.ClassPath)
	at org.netbeans.modules.java.source.indexing.APTUtils.listenOnProcessorPath(APTUtils.java:343)
	at org.netbeans.modules.java.source.indexing.APTUtils.listen(APTUtils.java:329)
	at org.netbeans.modules.java.source.indexing.APTUtils.create(APTUtils.java:242)
	at org.netbeans.modules.java.source.indexing.APTUtils.get(APTUtils.java:187)
	at org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:773)
	at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:397)
	- locked <0x000000078b6fb180> (a org.netbeans.modules.java.source.parsing.CompilationInfoImpl)
	at org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:509)
	at org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:171)
	at org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:631)
	at org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:262)
	at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:798)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:304)
	at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:725)
	at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:686)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
"AWT-EventQueue-0 :: FILE_DELETED /Users/tom/Projects/graal/master/graal/sdk/src/org.graalvm.polyglot/nbproject/build":
	at org.netbeans.api.java.classpath.ClassPath$RootsListener.processEvent(ClassPath.java:1441)
	- waiting to lock <0x0000000782b3a2b8> (a org.netbeans.api.java.classpath.ClassPath)
	at org.netbeans.api.java.classpath.ClassPath$RootsListener.fileDeleted(ClassPath.java:1432)
	at org.openide.filesystems.FileChangeImpl.fileDeleted(FileChangeImpl.java:149)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:181)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapperSingle.dispatchAllEventsSync(FCLSupport.java:224)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:137)
	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:105)
	at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1398)
	at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.java:795)
	at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:84)
	at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:554)
	at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:644)
	at org.openide.filesystems.FileObject.fireFileDeletedEvent(FileObject.java:620)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.fireFileDeletedEvent(BaseFileObj.java:741)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.notifyDeleted(BaseFileObj.java:948)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.invalidateFO(BaseFileObj.java:942)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.refreshExistingParent(BaseFileObj.java:916)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.refresh(BaseFileObj.java:902)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.refresh(FileObj.java:380)
	at org.openide.filesystems.FileObject.refresh(FileObject.java:1219)
	at org.netbeans.api.java.classpath.ClassPath$Entry.getRoot(ClassPath.java:920)
	at org.netbeans.api.java.classpath.ClassPath.createRoots(ClassPath.java:296)
	at org.netbeans.api.java.classpath.ClassPath.getRoots(ClassPath.java:280)
	- locked <0x0000000782b395f0> (a org.netbeans.api.java.classpath.ClassPath)
	at org.netbeans.api.java.classpath.ClassPath.findResource(ClassPath.java:470)
	at org.netbeans.modules.web.beans.navigation.actions.WebBeansActionHelper.hasResource(WebBeansActionHelper.java:271)
	at org.netbeans.modules.web.beans.navigation.actions.WebBeansActionHelper.hasJsr330(WebBeansActionHelper.java:208)
	at org.netbeans.modules.web.beans.navigation.actions.WebBeansActionHelper.isEnabled(WebBeansActionHelper.java:189)
	at org.netbeans.modules.web.beans.navigation.actions.WebBeansActionHelper.isEnabled(WebBeansActionHelper.java:171)
	at org.netbeans.modules.web.beans.navigation.actions.AbstractWebBeansAction.isEnabled(AbstractWebBeansAction.java:82)
	at org.netbeans.modules.web.beans.navigation.actions.GoToInjectableAtCaretAction.isEnabled(GoToInjectableAtCaretAction.java:84)
	at javax.swing.AbstractAction.setEnabledFromAction(AbstractAction.java:102)
	at javax.swing.AbstractButton.configurePropertiesFromAction(AbstractButton.java:1167)
	at javax.swing.JMenuItem.configurePropertiesFromAction(JMenuItem.java:377)
	at javax.swing.AbstractButton.setAction(AbstractButton.java:1109)
	at javax.swing.JMenuItem.<init>(JMenuItem.java:140)
	at org.netbeans.modules.editor.NbEditorKit.createLocalizedMenuItem(NbEditorKit.java:368)
	at org.netbeans.modules.editor.NbEditorKit.access$400(NbEditorKit.java:140)
	at org.netbeans.modules.editor.NbEditorKit$LayerSubFolderMenu.addAction(NbEditorKit.java:1257)
	at org.netbeans.modules.editor.NbEditorKit$LayerSubFolderMenu.<init>(NbEditorKit.java:1177)
	at org.netbeans.modules.editor.NbEditorKit$LayerSubFolderMenu.<init>(NbEditorKit.java:1161)
	at org.netbeans.modules.editor.NbEditorKit$NbBuildPopupMenuAction.buildPopupMenu(NbEditorKit.java:755)
	at org.netbeans.editor.ext.ExtKit$BuildPopupMenuAction.actionPerformed(ExtKit.java:279)
	at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:347)
	at org.netbeans.spi.editor.AbstractEditorAction.actionPerformed(AbstractEditorAction.java:468)
	at org.netbeans.editor.EditorUI.showPopupMenu(EditorUI.java:1817)
	at org.netbeans.editor.EditorUI$7.run(EditorUI.java:1739)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Found 1 deadlock.
Comment 1 Tomas Zezula 2017-07-21 11:31:52 UTC
Fixed jet-main http://hg.netbeans.org/jet-main/rev/ea8babc7985a


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo