[ nice-Bugs-1545582 ] compiler crash: popType called with empty stack

"SourceForge.net" <[email protected]> Wed, 23 Aug 2006 15:12:19 -0700
Newsgroups gmane.comp.lang.nice.devel
Message-ID <[email protected]>
Bugs item #1545582, was opened at 2006-08-23 22:12
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1545582&group_id=12788

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: B S (ben77)
Assigned to: Nobody/Anonymous (nobody)
Summary: compiler crash: popType called with empty stack

Initial Comment:
In nice-0.9.12 if I add an optional parameter to one of
my base class custom constructors, I get a compiler
crash in the linking step. If I just add a second
custom constructor, then there is no problem. If you
need the code, I can post it.

Stack trace:
Exception in thread "main" java.lang.Error: popType
called with empty stack in new
scheme.interp.JavaCodeContinuation(scheme.interp.ExecEnvironment,scheme.interp.Scope,gnu.mapping.Procedure)
	at gnu.bytecode.CodeAttr.popType(CodeAttr.java:211)
	at
gnu.bytecode.CodeAttr.emitInvokeMethod(CodeAttr.java:1084)
	at
gnu.bytecode.CodeAttr.emitInvokeSpecial(CodeAttr.java:1147)
	at gnu.expr.InitializeProc.compile(InitializeProc.java:98)
	at gnu.expr.ApplyExp.compile(ApplyExp.java:192)
	at gnu.expr.ApplyExp.compile(ApplyExp.java:111)
	at
gnu.expr.ConstructorExp.enterFunction(ConstructorExp.java:95)
	at gnu.expr.LambdaExp.compileAsMethod(LambdaExp.java:1534)
	at
gnu.expr.LambdaExp.compileChildMethods(LambdaExp.java:1422)
	at
gnu.expr.ClassExp.compileChildMethods(ClassExp.java:573)
	at gnu.expr.Compilation.compileAll(Compilation.java:1614)
	at gnu.expr.Compilation.generate(Compilation.java:1588)
	at gnu.expr.Compilation.compile(Compilation.java:1556)
	at gnu.expr.Package.compileToFiles(Package.java:100)
	at
bossa.modules.Package.finishCompilation(Package.java:411)
	at bossa.modules.Package.link(Package.java:388)
	at mlsub.compilation.fun.lambda27(Unknown Source)
	at mlsub.compilation.fun.apply1(Unknown Source)
	at gnu.expr.ModuleMethod.apply1(ModuleMethod.java:89)
	at nice.lang.fun.foreach(collections.nice:141)
	at nice.lang.dispatch.foreach(Unknown Source)
	at mlsub.compilation.fun.compileComponent(make.nice:33)
	at mlsub.compilation.dispatch.compileComponent(Unknown
Source)
	at mlsub.compilation.fun$make.lambda24(Unknown Source)
	at mlsub.compilation.fun$make.apply1(Unknown Source)
	at gnu.expr.ModuleMethod.apply1(ModuleMethod.java:89)
	at nice.lang.fun.foreach(collections.nice:141)
	at nice.lang.dispatch.foreach(Unknown Source)
	at mlsub.compilation.fun.make(make.nice:44)
	at mlsub.compilation.dispatch.make(Unknown Source)
	at nice.tools.compiler.fun.compile(interface.nice:40)
	at nice.tools.compiler.dispatch.compile(Unknown Source)
	at nice.tools.compiler.console.fun.compile(main.nice:170)
	at
nice.tools.compiler.console.dispatch.compile(Unknown
Source)
	at nice.tools.compiler.console.fun.main(main.nice:204)
	at nice.tools.compiler.console.dispatch.main(Unknown
Source)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1545582&group_id=12788

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642