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 141380

Summary: Current thread hogging too much space in debugging view
Product: debugger Reporter: Petr Cyhelsky <cyhelsky>
Component: JavaAssignee: issues@debugger <issues>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: See the debugging view in upper left part.

Description Petr Cyhelsky 2008-07-23 16:05:13 UTC
Product Version: NetBeans IDE Dev (Build 200807221016)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: SunOS version 5.10 running on sparc; ISO646-US; en (nb)

Observed: Sometimes when one thread is made current (doesn't matter in which way) the area with green background
stretches too much (see screenshot) thus hogging all the space in the debugging view.

it is accompanied by this exception in messages.log:

java.lang.IndexOutOfBoundsException
	at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:41)
	at com.sun.tools.jdi.ThreadReferenceImpl.privateFrames(ThreadReferenceImpl.java:367)
	at com.sun.tools.jdi.ThreadReferenceImpl.frames(ThreadReferenceImpl.java:308)
	at org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl.getCallStack(JPDAThreadImpl.java:447)
	at org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl.getCallStack(JPDAThreadImpl.java:382)
	at org.netbeans.modules.debugger.jpda.ui.models.DebuggingTreeModel.computeChildren(DebuggingTreeModel.java:140)
	at org.netbeans.modules.debugger.jpda.ui.models.CachedChildrenTreeModel.getChildren(CachedChildrenTreeModel.java:74)
	at org.netbeans.spi.viewmodel.Models$DelegatingTreeModel.getChildren(Models.java:1198)
	at org.netbeans.modules.debugger.jpda.ui.models.DebuggingMonitorModel.getChildren(DebuggingMonitorModel.java:199)
	at org.netbeans.spi.viewmodel.Models$CompoundTreeModel.getChildren(Models.java:678)
	at
org.netbeans.modules.debugger.jpda.ui.models.HiddenCallStackFramesFilter.getChildren(HiddenCallStackFramesFilter.java:227)
	at org.netbeans.spi.viewmodel.Models$CompoundTreeModel.getChildren(Models.java:678)
	at org.netbeans.spi.viewmodel.Models$CompoundModel.getChildren(Models.java:2971)
[catch] at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.evaluateLazily(TreeModelNode.java:750)
	at org.netbeans.modules.viewmodel.TreeModelNode$LazyEvaluator.run(TreeModelNode.java:1177)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
WARNING [org.netbeans.api.java.source.JavaSource]: JavaSource.runUserActionTask called in AWT event thread by:
org.netbeans.modules.editor.java.JavaCompletionItem$MethodItem.substituteText(JavaCompletionItem.java:1323)
WARNING [org.netbeans.api.java.source.JavaSource]: JavaSource.runUserActionTask called in AWT event thread by:
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.initParsing(JavaCodeTemplateProcessor.java:738)
WARNING [org.netbeans.api.java.source.JavaSource]: JavaSource.runUserActionTask called in AWT event thread by:
org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:86)
WARNING [org.netbeans.api.java.source.JavaSource]: JavaSource.runUserActionTask called in AWT event thread by:
org.netbeans.modules.editor.java.JavaCodeTemplateFilter.<init>(JavaCodeTemplateFilter.java:78)
Comment 1 Petr Cyhelsky 2008-07-23 16:07:08 UTC
Created attachment 65404 [details]
See the debugging view in upper left part.
Comment 2 Petr Cyhelsky 2008-09-18 09:11:13 UTC
unable to reproduce now, was most probably fixed with fixing of Issue #139692.
Comment 3 Petr Cyhelsky 2008-09-22 17:39:54 UTC
Verified on:
Product Version: NetBeans IDE Dev (Build 200809220201)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1250; cs_CZ (nb)