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: | IDE hangs up when expanding a folder containing some hundreds of files. | ||
---|---|---|---|
Product: | java | Reporter: | ayermolayev <ayermolayev> |
Component: | Unsupported | Assignee: | Daniel Prusa <dprusa> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P1 | Keywords: | PERFORMANCE |
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
ayermolayev
2005-01-26 21:38:36 UTC
Here is the stack from the log file: *********** Exception occurred ************ at 2:47 PM on Jan 26, 2005 Annotation: Exception occurred in Request Processor java.lang.NullPointerException at org.netbeans.modules.clazz.SourceElementImpl.initializeData (SourceElementImpl.java:108) at org.netbeans.modules.clazz.SourceElementImpl.attachedToElement (SourceElementImpl.java:91) at org.openide.src.Element.<init>(Element.java:54) at org.openide.src.SourceElement.<init> (SourceElement.java:49) at org.netbeans.modules.clazz.ClassDataObject.getSource (ClassDataObject.java:174) at org.netbeans.modules.clazz.ClassDataNode.initialize (ClassDataNode.java:96) at org.netbeans.modules.clazz.ClassDataNode.<init> (ClassDataNode.java:76) at org.netbeans.modules.clazz.ClassDataNode.<init> (ClassDataNode.java:71) at org.netbeans.modules.clazz.CompiledDataNode.<init> (CompiledDataNode.java:57) at org.netbeans.modules.clazz.CompiledDataObject.createNodeDelegate (CompiledDataObject.java:107) at org.openide.loaders.DataObject$1.run(DataObject.java:249) at org.openide.util.Mutex.readAccess(Mutex.java:246) at org.openide.loaders.DataObject.getNodeDelegate (DataObject.java:245) at org.openide.loaders.DataObject.getClonedNodeDelegate (DataObject.java:270) at org.openide.loaders.FolderChildren.createNodes (FolderChildren.java:143) at org.openide.nodes.Children$Keys$KE.nodes (Children.java:2028) at org.openide.nodes.ChildrenArray.nodesFor (ChildrenArray.java:112) at org.openide.nodes.Children$Info.nodes(Children.java:1125) at org.openide.nodes.Children.updateAdd(Children.java:933) at org.openide.nodes.Children.setEntries(Children.java:720) at org.openide.nodes.Children$5.run(Children.java:1919) at org.openide.util.Mutex.postRequest(Mutex.java:987) at org.openide.util.Mutex.postWriteRequest(Mutex.java:438) at org.openide.nodes.Children$Keys.applyKeys (Children.java:1927) at org.openide.nodes.Children$Keys.setKeys (Children.java:1886) at org.openide.loaders.FolderChildren.access$500 (FolderChildren.java:33) at org.openide.loaders.FolderChildren$ChildrenRefreshRunnable.run (FolderChildren.java:251) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run (RequestProcessor.java:330) [catch] at org.openide.util.RequestProcessor$Processor.run (RequestProcessor.java:686) When a folder contains less than some 200 files but more than 100 the expand operation takes about 5-10 minutes! The computer has 1GB of physical memory and dual 3GHz Pentium 4 processors. Dan, please look at it. Performance has been already improved and the NPE fixed. it would be better to mark as a dup of a particular bug that was fixed. anyway I recall that the behaiour of clazz DO was improved during 4.1 verified |