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 64611 - ESE from bogus source
Summary: ESE from bogus source
Status: RESOLVED DUPLICATE of bug 65112
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-18 17:50 UTC by _ tboudreau
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2005-09-18 17:50:58 UTC
I have some sources with the following line (buggy processing by my import
cruncher module):

        MessageBodySplit.setDividerSize(dividerSize);
        MessageBodySplit.setOrientation(int.VERTICAL_SPLIT);
        MessageBodySplit.setResizeWeight(0.5);

The middle line causes the following exception to be thrown (more than once):

*********** Exception occurred ************ at 9:47 AM on Sep 18, 2005
java.util.EmptyStackException
        at java.util.Stack.peek(Stack.java:79)
        at java.util.Stack.pop(Stack.java:61)
        at org.netbeans.modules.javacore.parser.MDRParser.enterBody(MDRParser.ja
va:208)
        at org.netbeans.modules.javacore.parser.MDRParser.doAttribution(MDRParse
r.java:174)
        at org.netbeans.modules.javacore.parser.MDRParser.isVariableAccess(MDRPa
rser.java:1021)
        at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getEl
ementProxy(MetadataElement.java:627)
        at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.creat
eElement(MetadataElement.java:548)
        at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.initO
rCreate(MetadataElement.java:1037)
        at org.netbeans.modules.javacore.jmiimpl.javamodel.MethodImpl.initASTEle
ments(MethodImpl.java:106)
        at org.netbeans.modules.javacore.jmiimpl.javamodel.MethodImpl.getTypeNam
e(MethodImpl.java:53)
        at org.netbeans.jmi.javamodel.Method$Impl.getTypeName(Unknown Source)
        at org.netbeans.modules.java.bridge.MethodElementImpl$MethodListener.con
nect(MethodElementImpl.java:191)
        at org.netbeans.modules.java.bridge.MethodElementImpl.connectListener(Me
thodElementImpl.java:53)
        at org.netbeans.modules.java.bridge.ElementImpl.attachedToElement(Elemen
tImpl.java:452)
        at org.openide.src.Element.<init>(Element.java:63)
        at org.openide.src.MemberElement.<init>(MemberElement.java:35)
        at org.openide.src.ConstructorElement.<init>(ConstructorElement.java:40)

        at org.openide.src.MethodElement.<init>(MethodElement.java:44)
        at org.netbeans.modules.java.bridge.DefaultWrapper.wrapMethod(DefaultWra
pper.java:41)
        at org.netbeans.modules.java.bridge.DefaultLangModel.createMethod(Defaul
tLangModel.java:187)
        at org.netbeans.modules.java.bridge.MethodsCollection.createElement(Meth
odsCollection.java:54)
        at org.netbeans.modules.java.bridge.ObjectsCollection.cachedElement(Obje
ctsCollection.java:74)
        at org.netbeans.modules.java.bridge.ObjectsCollection.getElements(Object
sCollection.java:111)
        at org.netbeans.modules.java.bridge.MethodsCollection.getMethods(Methods
Collection.java:76)
        at org.netbeans.modules.java.bridge.ClassElementImpl.getMethods(ClassEle
mentImpl.java:565)
        at org.openide.src.ClassElement.getMethods(ClassElement.java:485)
        at org.netbeans.modules.java.ui.nodes.BridgeUtils.getElement(BridgeUtils
.java:159)
        at org.netbeans.modules.java.ui.nodes.BridgeElement2Source.createMethodN
ode(BridgeElement2Source.java:37)
        at org.netbeans.modules.java.JavaEditor$JavaEditorComponent.createNode(J
avaEditor.java:1294)
        at org.netbeans.modules.java.JavaEditor$JavaEditorComponent.access$800(J
avaEditor.java:1194)
        at org.netbeans.modules.java.JavaEditor$JavaEditorComponent$1$1.run(Java
Editor.java:1246)
        at org.openide.util.Mutex.readAccess(Mutex.java:195)
        at org.netbeans.modules.java.JavaEditor$JavaEditorComponent$1.run(JavaEd
itor.java:1244)
        at org.openide.util.Task.run(Task.java:207)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:469)

[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java
:870)
Comment 1 Jan Becicka 2005-09-22 16:45:29 UTC
Please attach source code. I cannot reproduce it. Thanks.
Comment 2 Milan Kubec 2005-11-01 13:48:31 UTC
Tim, could you provide requested information?
Comment 3 _ tboudreau 2005-11-01 14:15:17 UTC
Sorry, at this point I have no idea what source I was working on.
Comment 4 Jan Becicka 2005-11-28 13:35:36 UTC

*** This issue has been marked as a duplicate of 65112 ***
Comment 5 Quality Engineering 2007-09-20 09:45:20 UTC
Reorganization of java component