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 157888 - java.util.EmptyStackException at java.util.Stack.peek
Summary: java.util.EmptyStackException at java.util.Stack.peek
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Entlicher
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-04 09:34 UTC by Jiri Prox
Modified: 2012-03-28 12:12 UTC (History)
11 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 145878


Attachments
stacktrace (1.20 KB, text/plain)
2009-02-04 09:34 UTC, Jiri Prox
Details
stacktrace (1.20 KB, text/plain)
2009-03-09 17:02 UTC, Exceptions Reporter
Details
stacktrace (1.20 KB, text/plain)
2009-03-18 15:35 UTC, ihsiak
Details
stacktrace (1.20 KB, text/plain)
2009-03-26 11:44 UTC, ieising
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2009-02-04 09:34:43 UTC
Build: NetBeans IDE Dev (Build 20090203114639)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Linux, 2.6.24-23-generic, i386

User Comments:
jiriprox: ESE when remote debuging



Stacktrace: 
java.util.EmptyStackException
        at java.util.Stack.peek(Stack.java:85)
        at java.util.Stack.pop(Stack.java:67)
        at javax.swing.tree.VariableHeightLayoutCache.getNodeForPath(VariableHeightLayoutCache.java:816)
        at javax.swing.tree.VariableHeightLayoutCache.getRowForPath(VariableHeightLayoutCache.java:234)
        at org.openide.explorer.view.PropertiesRowModel.rowForNode(PropertiesRowModel.java:111)
        at org.openide.explorer.view.PropertiesRowModel.access$000(PropertiesRowModel.java:63)
Comment 1 Jiri Prox 2009-02-04 09:34:47 UTC
Created attachment 76535 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-03-09 17:01:51 UTC
Build: NetBeans IDE Dev (Build 200902231810)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments: 
debugging ^^

Stacktrace: 
java.util.EmptyStackException
        at java.util.Stack.peek(Stack.java:85)
        at java.util.Stack.pop(Stack.java:67)
        at javax.swing.tree.VariableHeightLayoutCache.getNodeForPath(VariableHeightLayoutCache.java:816)
        at javax.swing.tree.VariableHeightLayoutCache.getRowForPath(VariableHeightLayoutCache.java:234)
        at org.openide.explorer.view.PropertiesRowModel.rowForNode(PropertiesRowModel.java:111)
        at org.openide.explorer.view.PropertiesRowModel.access$000(PropertiesRowModel.java:63)
Comment 3 Exceptions Reporter 2009-03-09 17:02:00 UTC
Created attachment 77922 [details]
stacktrace
Comment 4 ihsiak 2009-03-18 15:35:06 UTC
Build: NetBeans IDE Dev (Build 200902231810)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments: 
step over...

Stacktrace: 
java.util.EmptyStackException
        at java.util.Stack.peek(Stack.java:85)
        at java.util.Stack.pop(Stack.java:67)
        at javax.swing.tree.VariableHeightLayoutCache.getNodeForPath(VariableHeightLayoutCache.java:816)
        at javax.swing.tree.VariableHeightLayoutCache.getRowForPath(VariableHeightLayoutCache.java:234)
        at org.openide.explorer.view.PropertiesRowModel.rowForNode(PropertiesRowModel.java:111)
        at org.openide.explorer.view.PropertiesRowModel.access$000(PropertiesRowModel.java:63)
Comment 5 ihsiak 2009-03-18 15:35:09 UTC
Created attachment 78389 [details]
stacktrace
Comment 6 ieising 2009-03-26 11:44:10 UTC
Build: NetBeans IDE Dev (Build 200903250219)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows Vista, 6.0, x86

User Comments: 
I did continue while debugging my J2ME application that is reading from an InputStream on a StreamConnection.

Stacktrace: 
java.util.EmptyStackException
        at java.util.Stack.peek(Stack.java:85)
        at java.util.Stack.pop(Stack.java:67)
        at javax.swing.tree.VariableHeightLayoutCache.getNodeForPath(VariableHeightLayoutCache.java:816)
        at javax.swing.tree.VariableHeightLayoutCache.getRowForPath(VariableHeightLayoutCache.java:234)
        at org.openide.explorer.view.PropertiesRowModel.rowForNode(PropertiesRowModel.java:111)
        at org.openide.explorer.view.PropertiesRowModel.access$000(PropertiesRowModel.java:63)
Comment 7 ieising 2009-03-26 11:44:15 UTC
Created attachment 78895 [details]
stacktrace
Comment 8 Exceptions Reporter 2009-04-27 18:53:03 UTC
This issue already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=145878
Comment 9 Jiri Rechtacek 2009-05-04 12:06:51 UTC
core-main/rev/d502c587303a
Comment 10 Quality Engineering 2009-05-05 07:51:28 UTC
Integrated into 'main-golden', will be available in build *200905050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d502c587303a
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #157888: ESE when remote debuging
Comment 11 Martin Entlicher 2012-03-27 15:24:43 UTC
This was a bad fix, it only masks the problem.
See issue #209923.
Comment 12 Martin Entlicher 2012-03-28 12:12:23 UTC
Revert of the original fix is done by changeset:   216711:420cdc320ef3
http://hg.netbeans.org/main/rev/420cdc320ef3
It's assured, that the layout cache is accessed in AWT thread in
changeset:   216712:f5822dd8a30b
http://hg.netbeans.org/main/rev/f5822dd8a30b