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.
I am unable to expand a folder with more than 200 files in the Files or Versions view. NetBeans 4.0 either hangs up forever or shows the error message in the status bar "Exception occurred in Request Processor" after which the folder is treated as if it is empty and there is no way to see anything under it.
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