[ nice-Bugs-1297261 ] Simple 'hello world' test crashes compiler

"SourceForge.net" <[email protected]> Tue, 20 Sep 2005 22:12:09 -0700
Newsgroups gmane.comp.lang.nice.devel
Message-ID <[email protected]>
Bugs item #1297261, was opened at 2005-09-21 05: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=1297261&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: Raoul Duke (raoulduke42)
Assigned to: Nobody/Anonymous (nobody)
Summary: Simple 'hello world' test crashes compiler

Initial Comment:
(Debian Ubuntu Linux PPC. IBM Java. GNU Classpath built
from source.)


    [nicec] runtime: /usr/share/java/nice.jar
    [nicec] Base dir: /home/x/y/z/Nice
    [nicec] nice.lang: parsing
    [nicec] src: parsing
    [nicec] src: typechecking
    [nicec] src: generating code
    [nicec] src: linking
    [nicec] 
    [nicec] An exception has occured in the compiler
    [nicec] Please fill-in a bug report at the
following webpage:
    [nicec]
http://sourceforge.net/tracker/?func=add&group_id=12788&atid=112788
    [nicec] 
    [nicec] Stack trace:
    [nicec] Exception in thread "main"
java.lang.ClassFormatError: nice/lang/Index (Multiple
SourceDebugExtension attributes)
    [nicec] 	at
java.lang.ClassLoader.defineClass0(ClassLoader.java)
    [nicec] 	at
java.lang.ClassLoader.defineClass(ClassLoader.java)
    [nicec] 	at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java)
    [nicec] 	at
java.net.URLClassLoader.defineClass(URLClassLoader.java)
    [nicec] 	at
java.net.URLClassLoader.access$500(URLClassLoader.java)
    [nicec] 	at
java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java)
    [nicec] 	at
java.security.AccessController.doPrivileged1(AccessController.java)
    [nicec] 	at
java.security.AccessController.doPrivileged(AccessController.java)
    [nicec] 	at
java.net.URLClassLoader.findClass(URLClassLoader.java)
    [nicec] 	at
java.lang.ClassLoader.loadClass(ClassLoader.java)
    [nicec] 	at
java.lang.ClassLoader.loadClass(ClassLoader.java:504)
    [nicec] 	at
java.lang.Class.getDeclaredMethods0(Class.java)
    [nicec] 	at
java.lang.Class.privateGetDeclaredMethods(Class.java)
    [nicec] 	at
java.lang.Class.getDeclaredMethods(Class.java)
    [nicec] 	at
gnu.bytecode.ClassType.addMethods(ClassType.java)
    [nicec] 	at
gnu.bytecode.ClassType.getDeclaredMethod(ClassType.java)
    [nicec] 	at
gnu.bytecode.ClassType.addMethod(ClassType.java:362)
    [nicec] 	at
bossa.syntax.fun.beautifyUncaughtExceptions(Unknown Source)
    [nicec] 	at
bossa.syntax.dispatch.beautifyUncaughtExceptions(Unknown
Source)
    [nicec] 	at
bossa.syntax.fun.compileNiceMethod(Unknown Source)
    [nicec] 	at
bossa.syntax.NiceMethod.compileNiceMethod(niceMethod.nice)
    [nicec] 	at bossa.syntax.fun.testNiceMethod(Unknown
Source)
    [nicec] 	at
bossa.syntax.NiceMethod.testNiceMethod(niceMethod.nice)
    [nicec] 	at bossa.syntax.fun.testCoverage(Unknown
Source)
    [nicec] 	at
bossa.syntax.dispatch.testCoverage(Unknown Source)
    [nicec] 	at
bossa.modules.Package.link(Package.java:342)
    [nicec] 	at mlsub.compilation.fun.lambda26(Unknown
Source)
    [nicec] 	at mlsub.compilation.fun.apply1(Unknown
Source)
    [nicec] 	at
gnu.expr.ModuleMethod.apply1(ModuleMethod.java)
    [nicec] 	at nice.lang.fun.foreach(Unknown Source)
    [nicec] 	at nice.lang.dispatch.foreach(Unknown Source)
    [nicec] 	at
mlsub.compilation.fun.compileComponent(Unknown Source)
    [nicec] 	at
mlsub.compilation.dispatch.compileComponent(Unknown Source)
    [nicec] 	at
mlsub.compilation.fun$make.lambda23(Unknown Source)
    [nicec] 	at
mlsub.compilation.fun$make.apply1(Unknown Source)
    [nicec] 	at
gnu.expr.ModuleMethod.apply1(ModuleMethod.java)
    [nicec] 	at nice.lang.fun.foreach(Unknown Source)
    [nicec] 	at nice.lang.dispatch.foreach(Unknown Source)
    [nicec] 	at mlsub.compilation.fun.make(Unknown Source)
    [nicec] 	at mlsub.compilation.dispatch.make(Unknown
Source)
    [nicec] 	at nice.tools.compiler.fun.compile(Unknown
Source)
    [nicec] 	at
nice.tools.ant.Nicec.execute(Nicec.java:305)
    [nicec] 	at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [nicec] 	at
org.apache.tools.ant.Task.perform(Task.java:364)
    [nicec] 	at
org.apache.tools.ant.Target.execute(Target.java:341)
    [nicec] 	at
org.apache.tools.ant.Target.performTasks(Target.java:369)
    [nicec] 	at
org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    [nicec] 	at
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
    [nicec] 	at
org.apache.tools.ant.Main.runBuild(Main.java:673)
    [nicec] 	at
org.apache.tools.ant.Main.startAnt(Main.java:188)
    [nicec] 	at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
    [nicec] 	at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

BUILD FAILED
/home/x/y/z/Nice/build.xml:33: Compilation failed
because of a bug in the compiler.
	at nice.tools.ant.Nicec.execute(Nicec.java:313)
	at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
	at org.apache.tools.ant.Task.perform(Task.java:364)
	at org.apache.tools.ant.Target.execute(Target.java:341)
	at
org.apache.tools.ant.Target.performTasks(Target.java:369)
	at
org.apache.tools.ant.Project.executeTarget(Project.java:1214)
	at
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
	at org.apache.tools.ant.Main.runBuild(Main.java:673)
	at org.apache.tools.ant.Main.startAnt(Main.java:188)
	at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
	at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

Total time: 28 seconds

Compilation exited abnormally with code 1 at Tue Sep 20
22:08:01

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

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


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php