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 27754

Summary: Inconsistent stack height 3 != 4
Product: java Reporter: _ briansmith <briansmith>
Component: UnsupportedAssignee: issues@java <issues>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: metamodel

Description _ briansmith 2002-10-03 04:24:55 UTC
RE: [mdr-cvs] CVS update: MODIFIED: xmidiffs ...
> October 2nd, 2002
> ... bugfix in bytecode generators...

I think there is a regression in this checkin.
This module was working fine yesterday. After I
did a "cvs update" and "ant clean" in mdr and then
rebuilt from nbbuild, I consistently get:

Compiler.run(CompilationEngineImpl.java:290)
java.lang.VerifyError: (class:
org/brianlsmith/smn/directory/DirectoryEntryClass
$Impl, method: _createInstance signature:
([Ljava/lang/Object;)Ljavax/jmi/reflec
t/RefObject;) Inconsistent stack height 3 != 4
        at
java.lang.Class.getDeclaredConstructors0(Native
Method)
        at
java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
        at
java.lang.Class.getConstructor0(Class.java:1762)
        at
java.lang.Class.getConstructor(Class.java:1002)
        at
org.netbeans.mdr.handlers.BaseObjectHandler.getHandler(BaseObjectHand
ler.java:208)
        at
org.netbeans.mdr.handlers.BaseObjectHandler.getHandler(BaseObjectHand
ler.java:166)
        at
org.netbeans.mdr.handlers.PackageProxyHandler._handleGetClassProxy(Pa
ckageProxyHandler.java:102)
        at
org.brianlsmith.smn.directory.DirectoryPackage$Impl.getDirectoryEntry
(Unknown Source)
        at
org.brianlsmith.smn.directory.DirectoryManager.createEntry(DirectoryM
anager.java:79)
        at
org.brianlsmith.smn.netbeans.compilers.TransientSmnCompiler.executeIn
Transaction(TransientSmnCompiler.java:38)
        at
org.brianlsmith.smn.netbeans.compilers.SmnCompiler.execute(SmnCompile
r.java:31)
        at
org.brianlsmith.smn.netbeans.compilers.SmnCompilerGroup.start(SmnComp
ilerGroup.java:28)
        at
org.netbeans.core.compiler.CompilationEngineImpl$CompilerThread$Group
Compiler.run(CompilationEngineImpl.java:290)
Comment 1 _ briansmith 2002-10-03 04:26:51 UTC
Created attachment 7575 [details]
metamodel
Comment 2 _ briansmith 2002-10-03 04:44:52 UTC
I confirm that deleting MDR module and then doing a "cvs -q checkout
-D yesterday -P mdr" at 20:30 PDT and then rebuilding causes this
problem to go away. So, it is indeed a regression.

Comment 3 Martin Matula 2002-10-03 12:21:39 UTC
should be fixed
Comment 4 _ briansmith 2002-10-04 05:00:57 UTC
My module is happy again today. Marking this issue "verified fixed".