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.
Summary: | Unable to run project and IDE hangs | ||
---|---|---|---|
Product: | javafx | Reporter: | Alexandr Scherbatiy <sunflower> |
Component: | Editor | Assignee: | J Bachorik <yardus> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Thread Dump
One more Thread Dump Thread Dump when the IDE hangs |
Description
Alexandr Scherbatiy
2009-12-18 03:51:34 UTC
Created attachment 92745 [details]
Thread Dump
From the thread dump. "JavaFX Error Annotator Worker Thread" prio=6 tid=0x05c12800 nid=0x2c4 runnable [0x0681b000] java.lang.Thread.State: RUNNABLE at java.io.WinNTFileSystem.getBooleanAttributes(Native Method) at java.io.File.exists(File.java:733) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.exists(FileChangedManager.java:97) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.touchExists(FileObjectFactory.java:364) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.issueIfExist(FileObjectFactory.java:303) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.getFileObject(FileObjectFactory.java:189) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.getValidFileObject(FileObjectFactory.java:632) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.getFileObject(FolderObj.java:107) at org.netbeans.modules.parsing.spi.indexing.support.QuerySupport.<init>(QuerySupport.java:346) at org.netbeans.modules.parsing.spi.indexing.support.QuerySupport.forRoots(QuerySupport.java:231) at org.netbeans.api.javafx.source.ClassIndex.getUsageQuery(ClassIndex.java:506) at org.netbeans.api.javafx.source.ClassIndex.getResources(ClassIndex.java:445) at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator.doProcess(FXErrorAnnotator.java:312) at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator.access$300(FXErrorAnnotator.java:88) at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator$3.run(FXErrorAnnotator.java:315) at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator$3.run(FXErrorAnnotator.java:313) at org.netbeans.modules.javafx.source.parsing.LegacyUserTask.run(LegacyUserTask.java:68) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:113) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:190) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:99) at org.netbeans.api.javafx.source.JavaFXSource.runUserActionTask(JavaFXSource.java:250) at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator.doProcess(FXErrorAnnotator.java:313) at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator.access$300(FXErrorAnnotator.java:88) at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator$3.run(FXErrorAnnotator.java:315) at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator$3.run(FXErrorAnnotator.java:313) at org.netbeans.modules.javafx.source.parsing.LegacyUserTask.run(LegacyUserTask.java:68) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:113) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:190) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:99) Yep, JavaFX Error Annotator Worker Thread does not look very healthy. Reassigning... Created attachment 92881 [details]
One more Thread Dump
The IDE hangs after closing. Created attachment 92882 [details]
Thread Dump when the IDE hangs
Attempted to fix in http://hg.netbeans.org/javafx/rev/6c5faa31679b The algorithm is sped-up and it uses an iterative rather than a recursive approach. According to my measurements it yields cca. 80% time savings but I would like to ask the reporter to confirm. Please verify this fix, so it can be included as part of fix for issue 179013 unable to reproduce the issue. verified in NetBeans-JavaFX-Soma: #122 (Jan 21, 2010 12:00:49 AM) The fix has been ported to release68_fixes branch as http://hg.netbeans.org/javafx/rev/852d9e25c7ef (changeset shared with #178404 and #179013) unable to reproduce the issue in the NB 6.8 patch1 2010-01-25_21-27-59 |