[ nice-Bugs-938316 ] Error occured while compiling project

"SourceForge.net" <[email protected]> Thu, 24 Jun 2004 04:43:27 -0700
Newsgroups gmane.comp.lang.nice.devel
Message-ID <[email protected]>
Bugs item #938316, was opened at 2004-04-20 05:30
Message generated for change (Comment added) made by bonniot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=938316&group_id=12788

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Arthur Smyles (atsmyles)
>Assigned to: Daniel Bonniot (bonniot)
Summary: Error occured while compiling project

Initial Comment:
using eclipse plugin 0.9.7

Exception in thread "main"
java.lang.AbstractMethodError:
bossa.modules.Package.addGlobalVar(Lgnu/expr/Declaration;Z)V
	at
bossa.syntax.GlobalVarDeclaration$GlobalVarSymbol.getDeclaration(GlobalVarDeclaration.java:76)
	at
bossa.syntax.GlobalVarDeclaration.compile(GlobalVarDeclaration.java:139)
	at bossa.syntax.AST.compile(AST.java:215)
	at bossa.modules.Package.generateCode(Package.java:729)
	at bossa.modules.Package.compile(Package.java:267)
	at mlsub.compilation.fun.lambda25(fun.nice:33)
	at mlsub.compilation.fun.apply1(fun.nice)
	at gnu.expr.ModuleMethod.apply1(ModuleMethod.java:89)
	at nice.lang.fun.foreach(fun.nice:255)
	at nice.lang.dispatch.foreach(dispatch.nice)
	at mlsub.compilation.fun.compileComponent(fun.nice:33)
	at
mlsub.compilation.dispatch.compileComponent(dispatch.nice)
	at mlsub.compilation.fun$make.lambda23(fun.nice:1)
	at mlsub.compilation.fun$make.apply1(fun.nice)
	at gnu.expr.ModuleMethod.apply1(ModuleMethod.java:89)
	at nice.lang.fun.foreach(fun.nice:255)
	at nice.lang.dispatch.foreach(dispatch.nice)
	at mlsub.compilation.fun.make(fun.nice:27)
	at mlsub.compilation.dispatch.make(dispatch.nice)
	at nice.tools.compiler.fun.compile(fun.nice:44)
	at nice.tools.compiler.dispatch.compile(dispatch.nice)
	at nice.eclipse.core.builder.fun.buildAll(fun.nice:85)
	at
nice.eclipse.core.builder.dispatch.buildAll(dispatch.nice)
	at nice.eclipse.core.builder.fun.build(fun.nice:96)
	at
nice.eclipse.core.builder.NiceBuilder.build(NiceBuilder.nice)
	at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:427)
	at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
	at
org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:125)
	at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:181)
	at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:191)
	at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:151)
	at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
	at
org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:165)
	at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:243)
	at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:212)
	at
org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:884)
	at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1600)
	at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:85)
	at
org.eclipse.ui.texteditor.AbstractTextEditor.performSaveOperation(AbstractTextEditor.java:3033)
	at
org.eclipse.ui.texteditor.AbstractTextEditor.doSave(AbstractTextEditor.java:2836)
	at
org.eclipse.ui.editors.text.TextEditor.doSave(TextEditor.java:244)
	at
org.eclipse.ui.internal.EditorManager$11.run(EditorManager.java:1090)
	at
org.eclipse.ui.internal.EditorManager$8.run(EditorManager.java:960)
	at
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
	at
org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
	at
org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:431)
	at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
	at
org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:428)
	at
org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1385)
	at
org.eclipse.ui.internal.EditorManager.runProgressMonitorOperation(EditorManager.java:966)
	at
org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1095)
	at
org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:2353)
	at
org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:2365)
	at
org.eclipse.ui.internal.SaveAction.run(SaveAction.java:57)
	at
org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
	at
org.eclipse.ui.internal.WWinKeyBindingService.pressed(WWinKeyBindingService.java:214)
	at
org.eclipse.ui.internal.WWinKeyBindingService$5.widgetSelected(WWinKeyBindingService.java:332)
	at
org.eclipse.ui.internal.AcceleratorMenu$2.handleEvent(AcceleratorMenu.java:68)
	at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
	at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:923)
	at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1847)
	at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1639)
	at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
	at
org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
	at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
	at
org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
	at
sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
	at org.eclipse.core.launcher.Main.run(Main.java:747)
	at org.eclipse.core.launcher.Main.main(Main.java:583)

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

>Comment By: Daniel Bonniot (bonniot)
Date: 2004-06-24 13:43

Message:
Logged In: YES 
user_id=88952

I just release a new version of the plugin, updated to the
latest compiler, and which fixes this bug.

This was a very silly problem with Ant insisting on using
system-defined tasks even when specified a different
classpath in the build file, which created a version
mismatch. And that only caused problem in specific
situations, so it was harder to notice.

I'm truly sorry that this took us so long to fix. I hope you
could use the command-line compiler, or that you can use
this opportunity to try again the plugin with the updated
compiler. It has better performance, and introduces some new
neat features.

Oh, and thanks for the report! Further feedback is always
welcome.


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

Comment By: Nobody/Anonymous (nobody)
Date: 2004-04-29 05:33

Message:
Logged In: NO 

1.
Eclipse Platform

Version: 2.1.3
Build id: 200403101828

2.  java -jar net.sf.nice_0.9.7/lib/nice.jar --version

Nice compiler version 0.9.7 (build 2004.03.08, 23:46:59 UTC)
Compiled using JDK 1.3
Copyright (C) 2003 Daniel Bonniot
Visit the Nice homepage: http://nice.sourceforge.net

java.runtime.version=1.4.1-gentoo-1056906097

here's the program:

let String URI="\w+:\S+\s*";




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

Comment By: Daniel Bonniot (bonniot)
Date: 2004-04-21 19:25

Message:
Logged In: YES 
user_id=88952

What version of eclipse are you using? 

What does 
    java -jar net.sf.nice_0.9.7/lib/nice.jar --version
print when run inside the eclipse plugin directory? (using a
Unix notation, use \ on windows)

Could you give a short program that generates this behaviour
(I guess it has to do with a package-level variable).

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

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


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com