[ nice-Bugs-1072970 ] nice.lang.fun.forIterator(ForInIters.nice:23)

"SourceForge.net" <[email protected]> Wed, 24 Nov 2004 20:50:28 -0800
Newsgroups gmane.comp.lang.nice.devel
Message-ID <[email protected]>
Bugs item #1072970, was opened at 2004-11-25 07:50
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=1072970&group_id=12788

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Artem Gr Kozarezov (artemgr)
Assigned to: Nobody/Anonymous (nobody)
Summary: nice.lang.fun.forIterator(ForInIters.nice:23)

Initial Comment:
Test case is attached!

e:\tmp\niceCase>nicec --version
Nice compiler version 0.9.10 prerelease (build 2004.11.22, 
23:31:29 UTC)
Compiled using JDK 1.4.2
Copyright (C) 2003 Daniel Bonniot
Visit the Nice homepage: http://nice.sourceforge.net

e:\tmp\niceCase>run.bat

e:\tmp\niceCase>nicec -d classes b

warning: Path component classes does not exist

warning: Path component classes does not exist
nice.lang: parsing
a: parsing
b: parsing

An exception has occured in the compiler
Please fill-in a bug report at the following webpage:
http://sourceforge.net/tracker/?
func=add&group_id=12788&atid=112788

Stack trace:
Exception in thread "main" java.lang.NullPointerException
        at nice.lang.fun.forIterator(ForInIters.nice:23)
        at nice.lang.dispatch.forIterator(dispatch.nice)
        at nice.lang.fun.foreach(collections.nice:140)
        at nice.lang.dispatch.foreach(dispatch.nice)
        at bossa.syntax.fun.addVars(analyse.nice:222)
        at bossa.syntax.Info.addVars(analyse.nice)
        at bossa.syntax.fun.analyseMethodBody(analyse.
nice:58)
        at bossa.syntax.dispatch.
analyseMethodBody(dispatch.nice)
        at bossa.syntax.CustomConstructor.
resolveBody(CustomConstructor.java:109)
        at bossa.syntax.AST.localResolve(AST.java:159)
        at bossa.modules.Package.localResolve(Package.
java:263)
        at mlsub.compilation.fun.lambda32(load.nice:35)
        at mlsub.compilation.fun.apply1(fun.nice)
        at gnu.expr.ModuleMethod.apply1(ModuleMethod.
java:89)
        at nice.lang.fun.foreach(collections.nice:141)
        at nice.lang.dispatch.foreach(dispatch.nice)
        at mlsub.compilation.fun.loadComponent(load.nice:
35)
        at mlsub.compilation.dispatch.
loadComponent(dispatch.nice)
        at mlsub.compilation.fun$load.lambda28(load.nice:
45)
        at mlsub.compilation.fun$load.apply1(fun.nice)
        at gnu.expr.ModuleMethod.apply1(ModuleMethod.
java:89)
        at nice.lang.fun.foreach(collections.nice:141)
        at nice.lang.dispatch.foreach(dispatch.nice)
        at mlsub.compilation.fun.load(load.nice:44)
        at mlsub.compilation.dispatch.load(dispatch.nice)
        at mlsub.compilation.fun.make(make.nice:41)
        at mlsub.compilation.dispatch.make(dispatch.nice)
        at nice.tools.compiler.fun.compile(interface.nice:
40)
        at bossa.modules.Compilation.compile(Compilation.
nice)
        at nice.tools.compiler.console.fun.compile(main.
nice:165)
        at nice.tools.compiler.console.dispatch.
compile(dispatch.nice)
        at nice.tools.compiler.console.fun.main(main.nice:
181)
        at nice.tools.compiler.console.dispatch.
main(dispatch.nice)



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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/