- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
2.8 gives internal compiler error on 2.7 code
Dear all,
I'm using netbeans 7.1 and currently testing 6.8 RC1.
On both versions I use the respective netbeans plugins for scala.
I'm trying to compile the project developed under 2.7 (which works fine) with 2.8, but I get the following internal compiler error:
Exception in thread "main" java.lang.StackOverflowError
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3662)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4071)
at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1171)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:515)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:513)
at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1307)
at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:761)
at scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
at scala.tools.nsc.typechecker.Contexts$ImportInfo.importedSymbol(Contexts.scala:565)
at scala.tools.nsc.typechecker.Typers$Typer.typedIdent$1(Typers.scala:3525)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3931)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4071)
at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1171)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:515)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:513)
at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1307)
at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:761)
at scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
................... repeated
at scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
at scala.tools.nsc.typechecker.Contexts$ImportInfo.importedSymbol(Contexts.scala:565)
at scala.tools.nsc.typechecker.Typers$Typer.typedIdent$1(Typers.scala:3525)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3931)
/home/pezzatti/wsl/dev/dbFuel/ImporterScala/nbproject/build-impl.xml:405: The following error occurred while executing this line:
/home/pezzatti/wsl/dev/dbFuel/ImporterScala/nbproject/build-impl.xml:236: Compilation failed because of an internal compiler error; see the error output for details.
BUILD FAILED (total time: 7 seconds)
Does anybody have an idea?
Here are the implicit conversions I do (if this could be the problem):
class RichObjectSet[T](objectSet:ObjectSet[T]) extends Iterator[T] {
def hasNext:Boolean = objectSet.hasNext()
def next:T = objectSet.next()
}
implicit def toRichObjectSet[T](objectSet: ObjectSet[T] ) = new RichObjectSet[T](objectSet)
class RichFCollection[T](coll:FCollection[T]) extends Iterator[T]{
def hasNext:Boolean = coll.iterator.hasNext()
def next:T = coll.iterator.next()
}
implicit def toRichFCollection[T](coll:FCollection[T] ) = new RichFCollection[T](coll)
Thank you,
Boris
--
P Please consider the environment before deciding to print this e-mail.
_________________________________________________________
Boris Pezzatti
Swiss Federal Research Institute WSL
Research unit Ecosystem Boundaries
Team Insubric Ecosystems
via Belsoggiorno 22
CH-6500 Bellinzona
Switzerland
phone direct ++41 91 821 52 32
phone ++41 91 821 52 30
fax ++41 91 821 52 39
boris [dot] pezzatti [at] wsl [dot] ch
http://www.wsl.ch
I'm using netbeans 7.1 and currently testing 6.8 RC1.
On both versions I use the respective netbeans plugins for scala.
I'm trying to compile the project developed under 2.7 (which works fine) with 2.8, but I get the following internal compiler error:
Exception in thread "main" java.lang.StackOverflowError
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3662)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4071)
at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1171)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:515)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:513)
at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1307)
at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:761)
at scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
at scala.tools.nsc.typechecker.Contexts$ImportInfo.importedSymbol(Contexts.scala:565)
at scala.tools.nsc.typechecker.Typers$Typer.typedIdent$1(Typers.scala:3525)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3931)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4071)
at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1171)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:515)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:513)
at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1307)
at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:761)
at scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
................... repeated
at scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
at scala.tools.nsc.typechecker.Contexts$ImportInfo.importedSymbol(Contexts.scala:565)
at scala.tools.nsc.typechecker.Typers$Typer.typedIdent$1(Typers.scala:3525)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3931)
/home/pezzatti/wsl/dev/dbFuel/ImporterScala/nbproject/build-impl.xml:405: The following error occurred while executing this line:
/home/pezzatti/wsl/dev/dbFuel/ImporterScala/nbproject/build-impl.xml:236: Compilation failed because of an internal compiler error; see the error output for details.
BUILD FAILED (total time: 7 seconds)
Does anybody have an idea?
Here are the implicit conversions I do (if this could be the problem):
class RichObjectSet[T](objectSet:ObjectSet[T]) extends Iterator[T] {
def hasNext:Boolean = objectSet.hasNext()
def next:T = objectSet.next()
}
implicit def toRichObjectSet[T](objectSet: ObjectSet[T] ) = new RichObjectSet[T](objectSet)
class RichFCollection[T](coll:FCollection[T]) extends Iterator[T]{
def hasNext:Boolean = coll.iterator.hasNext()
def next:T = coll.iterator.next()
}
implicit def toRichFCollection[T](coll:FCollection[T] ) = new RichFCollection[T](coll)
Thank you,
Boris
--
P Please consider the environment before deciding to print this e-mail.
_________________________________________________________
Boris Pezzatti
Swiss Federal Research Institute WSL
Research unit Ecosystem Boundaries
Team Insubric Ecosystems
via Belsoggiorno 22
CH-6500 Bellinzona
Switzerland
phone direct ++41 91 821 52 32
phone ++41 91 821 52 30
fax ++41 91 821 52 39
boris [dot] pezzatti [at] wsl [dot] ch
http://www.wsl.ch










Re: 2.8 gives internal compiler error on 2.7 code
On Thu, Dec 3, 2009 at 11:20 AM, boris pezzatti <boris [dot] pezzatti [at] wsl [dot] ch> wrote:
--
Daniel C. Sobral
I travel to the future all the time.
Re: 2.8 gives internal compiler error on 2.7 code
On Thu, 2009-12-03 at 14:20 +0100, boris pezzatti wrote:
> Dear all,
> I'm using netbeans 7.1 and currently testing 6.8 RC1.
> On both versions I use the respective netbeans plugins for scala.
>
> I'm trying to compile the project developed under 2.7 (which works
> fine) with 2.8, but I get the following internal compiler error:
Before you file a bug, please check that you can reproduce it with the
command-line compiler instead of Netbeans.
Best,
Ismael
Re: 2.8 gives internal compiler error on 2.7 code
Also check your stack size settings. I got the same errors when doing Scala
builds with Ant in Eclipse while the same code compiled fine in the IDE. I
had to increase the JVM stack size of the Ant process to something bigger
than the default (think I used 1M). That solved it.
Gr. Silvio
Re: 2.8 gives internal compiler error on 2.7 code
export ANT_OPTS="-Xms512M -Xmx1024M -Xss1M -XX:MaxPermSize=128M"
but always gives the same error
Silvio Bierman wrote:
--
P Please consider the environment before deciding to print this e-mail.
_________________________________________________________
Boris Pezzatti
Swiss Federal Research Institute WSL
Research unit Ecosystem Boundaries
Team Insubric Ecosystems
via Belsoggiorno 22
CH-6500 Bellinzona
Switzerland
phone direct ++41 91 821 52 32
phone ++41 91 821 52 30
fax ++41 91 821 52 39
boris [dot] pezzatti [at] wsl [dot] ch
http://www.wsl.ch
Re: 2.8 gives internal compiler error on 2.7 code
Also try:
ant -verbose
or
ant -debug
To see which class that is under loading causes the error message.
On Fri, Dec 4, 2009 at 11:08 PM, boris pezzatti wrote:
> I also tried setting (from ticket #2748):
>
> export ANT_OPTS="-Xms512M -Xmx1024M -Xss1M -XX:MaxPermSize=128M"
>
> but always gives the same error
>
> Silvio Bierman wrote:
>
> Also check your stack size settings. I got the same errors when doing Scala
> builds with Ant in Eclipse while the same code compiled fine in the IDE. I
> had to increase the JVM stack size of the Ant process to something bigger
> than the default (think I used 1M). That solved it.
>
> Gr. Silvio
>
>
>
> --
> P Please consider the environment before deciding to print this e-mail.
> _________________________________________________________
> Boris Pezzatti
> Swiss Federal Research Institute WSL
> Research unit Ecosystem Boundaries
> Team Insubric Ecosystems
> via Belsoggiorno 22
> CH-6500 Bellinzona
> Switzerland
>
> phone direct ++41 91 821 52 32
> phone ++41 91 821 52 30
> fax ++41 91 821 52 39
> boris [dot] pezzatti [at] wsl [dot] ch
> http://www.wsl.ch
Re: 2.8 gives internal compiler error on 2.7 code (Netbeans)
from the command line (without ant) it is possible to run the code, after setting
Caoyuan wrote:
--
P Please consider the environment before deciding to print this e-mail.
_________________________________________________________
Boris Pezzatti
Swiss Federal Research Institute WSL
Research unit Ecosystem Boundaries
Team Insubric Ecosystems
via Belsoggiorno 22
CH-6500 Bellinzona
Switzerland
phone direct ++41 91 821 52 32
phone ++41 91 821 52 30
fax ++41 91 821 52 39
boris [dot] pezzatti [at] wsl [dot] ch
http://www.wsl.ch
Re: 2.8 gives internal compiler error on 2.7 code
2009/12/4 boris pezzatti <boris [dot] pezzatti [at] wsl [dot] ch>
Re: 2.8 gives internal compiler error on 2.7 code
Please file a ticket in Trac.
On Thu, Dec 3, 2009 at 8:20 AM, boris pezzatti <boris [dot] pezzatti [at] wsl [dot] ch> wrote:
--
http://erikengbrecht.blogspot.com/
Re: 2.8 gives internal compiler error on 2.7 code
Scala-2.8.0 is not compatible with 2.7.x, do not use compiler of
Scala-2.8.0 to compile 2.7.x code.
On Thu, Dec 3, 2009 at 9:20 PM, boris pezzatti wrote:
> Dear all,
> I'm using netbeans 7.1 and currently testing 6.8 RC1.
> On both versions I use the respective netbeans plugins for scala.
>
> I'm trying to compile the project developed under 2.7 (which works fine)
> with 2.8, but I get the following internal compiler error:
>
> Exception in thread "main" java.lang.StackOverflowError
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3662)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4071)
> at
> scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1171)
> at
> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:515)
> at
> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:513)
> at
> scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1307)
> at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:761)
> at
> scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
> at
> scala.tools.nsc.typechecker.Contexts$ImportInfo.importedSymbol(Contexts.scala:565)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedIdent$1(Typers.scala:3525)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3931)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4071)
> at
> scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1171)
> at
> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:515)
> at
> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:513)
> at
> scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1307)
> at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:761)
> at
> scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
>
> ................... repeated
>
> at
> scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
> at
> scala.tools.nsc.typechecker.Contexts$ImportInfo.importedSymbol(Contexts.scala:565)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedIdent$1(Typers.scala:3525)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3931)
> /home/pezzatti/wsl/dev/dbFuel/ImporterScala/nbproject/build-impl.xml:405:
> The following error occurred while executing this line:
> /home/pezzatti/wsl/dev/dbFuel/ImporterScala/nbproject/build-impl.xml:236:
> Compilation failed because of an internal compiler error; see the error
> output for details.
> BUILD FAILED (total time: 7 seconds)
>
> Does anybody have an idea?
>
> Here are the implicit conversions I do (if this could be the problem):
>
> class RichObjectSet[T](objectSet:ObjectSet[T]) extends Iterator[T] {
> def hasNext:Boolean = objectSet.hasNext()
> def next:T = objectSet.next()
> }
> implicit def toRichObjectSet[T](objectSet: ObjectSet[T] ) = new
> RichObjectSet[T](objectSet)
>
> class RichFCollection[T](coll:FCollection[T]) extends Iterator[T]{
> def hasNext:Boolean = coll.iterator.hasNext()
> def next:T = coll.iterator.next()
> }
> implicit def toRichFCollection[T](coll:FCollection[T] ) = new
> RichFCollection[T](coll)
>
>
>
> Thank you,
> Boris
>
>
>
> --
> P Please consider the environment before deciding to print this e-mail.
> _________________________________________________________
> Boris Pezzatti
> Swiss Federal Research Institute WSL
> Research unit Ecosystem Boundaries
> Team Insubric Ecosystems
> via Belsoggiorno 22
> CH-6500 Bellinzona
> Switzerland
>
> phone direct ++41 91 821 52 32
> phone ++41 91 821 52 30
> fax ++41 91 821 52 39
> boris [dot] pezzatti [at] wsl [dot] ch
> http://www.wsl.ch
Re: 2.8 gives internal compiler error on 2.7 code
On Thu, Dec 3, 2009 at 11:40 PM, Caoyuan wrote:
> Scala-2.8.0 is not compatible with 2.7.x, do not use compiler of
> Scala-2.8.0 to compile 2.7.x code.
oops, the correct statement should be:
Scala 2.8.0 is not compatible with classes compiled under 2.7.x. You
should check if your project depends on classes/jars that were
compiled under 2.7.x, if so, may need to re-compile the sources of
classes/jars under 2.8.0 too.
>
> On Thu, Dec 3, 2009 at 9:20 PM, boris pezzatti wrote:
>> Dear all,
>> I'm using netbeans 7.1 and currently testing 6.8 RC1.
>> On both versions I use the respective netbeans plugins for scala.
>>
>> I'm trying to compile the project developed under 2.7 (which works fine)
>> with 2.8, but I get the following internal compiler error:
>>
>> Exception in thread "main" java.lang.StackOverflowError
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3662)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4071)
>> at
>> scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1171)
>> at
>> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:515)
>> at
>> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:513)
>> at
>> scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1307)
>> at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:761)
>> at
>> scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
>> at
>> scala.tools.nsc.typechecker.Contexts$ImportInfo.importedSymbol(Contexts.scala:565)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedIdent$1(Typers.scala:3525)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3931)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4071)
>> at
>> scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1171)
>> at
>> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:515)
>> at
>> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:513)
>> at
>> scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1307)
>> at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:761)
>> at
>> scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
>>
>> ................... repeated
>>
>> at
>> scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
>> at
>> scala.tools.nsc.typechecker.Contexts$ImportInfo.importedSymbol(Contexts.scala:565)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedIdent$1(Typers.scala:3525)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3931)
>> /home/pezzatti/wsl/dev/dbFuel/ImporterScala/nbproject/build-impl.xml:405:
>> The following error occurred while executing this line:
>> /home/pezzatti/wsl/dev/dbFuel/ImporterScala/nbproject/build-impl.xml:236:
>> Compilation failed because of an internal compiler error; see the error
>> output for details.
>> BUILD FAILED (total time: 7 seconds)
>>
>> Does anybody have an idea?
>>
>> Here are the implicit conversions I do (if this could be the problem):
>>
>> class RichObjectSet[T](objectSet:ObjectSet[T]) extends Iterator[T] {
>> def hasNext:Boolean = objectSet.hasNext()
>> def next:T = objectSet.next()
>> }
>> implicit def toRichObjectSet[T](objectSet: ObjectSet[T] ) = new
>> RichObjectSet[T](objectSet)
>>
>> class RichFCollection[T](coll:FCollection[T]) extends Iterator[T]{
>> def hasNext:Boolean = coll.iterator.hasNext()
>> def next:T = coll.iterator.next()
>> }
>> implicit def toRichFCollection[T](coll:FCollection[T] ) = new
>> RichFCollection[T](coll)
>>
>>
>>
>> Thank you,
>> Boris
>>
>>
>>
>> --
>> P Please consider the environment before deciding to print this e-mail.
>> _________________________________________________________
>> Boris Pezzatti
>> Swiss Federal Research Institute WSL
>> Research unit Ecosystem Boundaries
>> Team Insubric Ecosystems
>> via Belsoggiorno 22
>> CH-6500 Bellinzona
>> Switzerland
>>
>> phone direct ++41 91 821 52 32
>> phone ++41 91 821 52 30
>> fax ++41 91 821 52 39
>> boris [dot] pezzatti [at] wsl [dot] ch
>> http://www.wsl.ch
>
Re: 2.8 gives internal compiler error on 2.7 code
All the classes were cleaned and also compiling in a terminal gives the same error ...
... I think I will have to fire a bug.
Thank you all.
cheers,
boris
--
P Please consider the environment before deciding to print this e-mail.
_________________________________________________________
Boris Pezzatti
Swiss Federal Research Institute WSL
Research unit Ecosystem Boundaries
Team Insubric Ecosystems
via Belsoggiorno 22
CH-6500 Bellinzona
Switzerland
phone direct ++41 91 821 52 32
phone ++41 91 821 52 30
fax ++41 91 821 52 39
boris [dot] pezzatti [at] wsl [dot] ch
http://www.wsl.ch
Re: 2.8 gives internal compiler error on 2.7 code
I recalled I encountered similar error message before, it may be
caused by that the SCALA_HOME pointed to a version of Scala runtime,
but the PATH pointed to another version of scala's runtime bin
directory. I can not remember what was the exactly condition now.
On Fri, Dec 4, 2009 at 4:15 PM, boris pezzatti wrote:
> Actually the project is made by only 3 scala classes and all the
> dependencies are java ones.
> All the classes were cleaned and also compiling in a terminal gives the same
> error ...
>
> ... I think I will have to fire a bug.
>
> Thank you all.
>
> cheers,
> boris
>
>
> On Thu, Dec 3, 2009 at 11:40 PM, Caoyuan wrote:
>
>
> Scala-2.8.0 is not compatible with 2.7.x, do not use compiler of
> Scala-2.8.0 to compile 2.7.x code.
>
>
> oops, the correct statement should be:
> Scala 2.8.0 is not compatible with classes compiled under 2.7.x. You
> should check if your project depends on classes/jars that were
> compiled under 2.7.x, if so, may need to re-compile the sources of
> classes/jars under 2.8.0 too.
>
>
>
> On Thu, Dec 3, 2009 at 9:20 PM, boris pezzatti
> wrote:
>
>
> Dear all,
> I'm using netbeans 7.1 and currently testing 6.8 RC1.
> On both versions I use the respective netbeans plugins for scala.
>
> I'm trying to compile the project developed under 2.7 (which works fine)
> with 2.8, but I get the following internal compiler error:
>
> Exception in thread "main" java.lang.StackOverflowError
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3662)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4071)
> at
> scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1171)
> at
> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:515)
> at
> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:513)
> at
> scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1307)
> at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:761)
> at
> scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
> at
> scala.tools.nsc.typechecker.Contexts$ImportInfo.importedSymbol(Contexts.scala:565)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedIdent$1(Typers.scala:3525)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3931)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4071)
> at
> scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1171)
> at
> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:515)
> at
> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:513)
> at
> scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1307)
> at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:761)
> at
> scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
>
> ................... repeated
>
> at
> scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
> at
> scala.tools.nsc.typechecker.Contexts$ImportInfo.importedSymbol(Contexts.scala:565)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typedIdent$1(Typers.scala:3525)
> at
> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3931)
> /home/pezzatti/wsl/dev/dbFuel/ImporterScala/nbproject/build-impl.xml:405:
> The following error occurred while executing this line:
> /home/pezzatti/wsl/dev/dbFuel/ImporterScala/nbproject/build-impl.xml:236:
> Compilation failed because of an internal compiler error; see the error
> output for details.
> BUILD FAILED (total time: 7 seconds)
>
> Does anybody have an idea?
>
> Here are the implicit conversions I do (if this could be the problem):
>
> class RichObjectSet[T](objectSet:ObjectSet[T]) extends Iterator[T] {
> def hasNext:Boolean = objectSet.hasNext()
> def next:T = objectSet.next()
> }
> implicit def toRichObjectSet[T](objectSet: ObjectSet[T] ) = new
> RichObjectSet[T](objectSet)
>
> class RichFCollection[T](coll:FCollection[T]) extends Iterator[T]{
> def hasNext:Boolean = coll.iterator.hasNext()
> def next:T = coll.iterator.next()
> }
> implicit def toRichFCollection[T](coll:FCollection[T] ) = new
> RichFCollection[T](coll)
>
>
>
> Thank you,
> Boris
>
>
>
> --
> P Please consider the environment before deciding to print this e-mail.
> _________________________________________________________
> Boris Pezzatti
> Swiss Federal Research Institute WSL
> Research unit Ecosystem Boundaries
> Team Insubric Ecosystems
> via Belsoggiorno 22
> CH-6500 Bellinzona
> Switzerland
>
> phone direct ++41 91 821 52 32
> phone ++41 91 821 52 30
> fax ++41 91 821 52 39
> boris [dot] pezzatti [at] wsl [dot] ch
> http://www.wsl.ch
>
>
>
>
> --
> P Please consider the environment before deciding to print this e-mail.
> _________________________________________________________
> Boris Pezzatti
> Swiss Federal Research Institute WSL
> Research unit Ecosystem Boundaries
> Team Insubric Ecosystems
> via Belsoggiorno 22
> CH-6500 Bellinzona
> Switzerland
>
> phone direct ++41 91 821 52 32
> phone ++41 91 821 52 30
> fax ++41 91 821 52 39
> boris [dot] pezzatti [at] wsl [dot] ch
> http://www.wsl.ch
Re: 2.8 gives internal compiler error on 2.7 code
I tried both from a terminal:
- without setting PATH and SCALA_HOME
- setting them (PATH to $SCALA_HOME/bin
but both always give the same error.
To Silvio:
Is your comment valid also if I compile from a terminal? How can I set the JVM stack size? (sorry ... I'm quite a newbie ...)
Thanks
Boris
Caoyuan wrote:
--
P Please consider the environment before deciding to print this e-mail.
_________________________________________________________
Boris Pezzatti
Swiss Federal Research Institute WSL
Research unit Ecosystem Boundaries
Team Insubric Ecosystems
via Belsoggiorno 22
CH-6500 Bellinzona
Switzerland
phone direct ++41 91 821 52 32
phone ++41 91 821 52 30
fax ++41 91 821 52 39
boris [dot] pezzatti [at] wsl [dot] ch
http://www.wsl.ch
Re: 2.8 gives internal compiler error on 2.7 code
Compiling 2.7 code and examining the output is a pretty normal way of
finding out what you need to change.
In any case, bug reports go in Trac, rather than getting lost in scala-user.
2009/12/3 Caoyuan :
> Scala-2.8.0 is not compatible with 2.7.x, do not use compiler of
> Scala-2.8.0 to compile 2.7.x code.
>
> On Thu, Dec 3, 2009 at 9:20 PM, boris pezzatti wrote:
>> Dear all,
>> I'm using netbeans 7.1 and currently testing 6.8 RC1.
>> On both versions I use the respective netbeans plugins for scala.
>>
>> I'm trying to compile the project developed under 2.7 (which works fine)
>> with 2.8, but I get the following internal compiler error:
>>
>> Exception in thread "main" java.lang.StackOverflowError
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3662)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4071)
>> at
>> scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1171)
>> at
>> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:515)
>> at
>> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:513)
>> at
>> scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1307)
>> at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:761)
>> at
>> scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
>> at
>> scala.tools.nsc.typechecker.Contexts$ImportInfo.importedSymbol(Contexts.scala:565)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedIdent$1(Typers.scala:3525)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3931)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3899)
>> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4002)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4069)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4071)
>> at
>> scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1171)
>> at
>> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:515)
>> at
>> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:513)
>> at
>> scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1307)
>> at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:761)
>> at
>> scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
>>
>> ................... repeated
>>
>> at
>> scala.tools.nsc.typechecker.Contexts$ImportInfo.qual(Contexts.scala:546)
>> at
>> scala.tools.nsc.typechecker.Contexts$ImportInfo.importedSymbol(Contexts.scala:565)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typedIdent$1(Typers.scala:3525)
>> at
>> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3931)
>> /home/pezzatti/wsl/dev/dbFuel/ImporterScala/nbproject/build-impl.xml:405:
>> The following error occurred while executing this line:
>> /home/pezzatti/wsl/dev/dbFuel/ImporterScala/nbproject/build-impl.xml:236:
>> Compilation failed because of an internal compiler error; see the error
>> output for details.
>> BUILD FAILED (total time: 7 seconds)
>>
>> Does anybody have an idea?
>>
>> Here are the implicit conversions I do (if this could be the problem):
>>
>> class RichObjectSet[T](objectSet:ObjectSet[T]) extends Iterator[T] {
>> def hasNext:Boolean = objectSet.hasNext()
>> def next:T = objectSet.next()
>> }
>> implicit def toRichObjectSet[T](objectSet: ObjectSet[T] ) = new
>> RichObjectSet[T](objectSet)
>>
>> class RichFCollection[T](coll:FCollection[T]) extends Iterator[T]{
>> def hasNext:Boolean = coll.iterator.hasNext()
>> def next:T = coll.iterator.next()
>> }
>> implicit def toRichFCollection[T](coll:FCollection[T] ) = new
>> RichFCollection[T](coll)
>>
>>
>>
>> Thank you,
>> Boris
>>
>>
>>
>> --
>> P Please consider the environment before deciding to print this e-mail.
>> _________________________________________________________
>> Boris Pezzatti
>> Swiss Federal Research Institute WSL
>> Research unit Ecosystem Boundaries
>> Team Insubric Ecosystems
>> via Belsoggiorno 22
>> CH-6500 Bellinzona
>> Switzerland
>>
>> phone direct ++41 91 821 52 32
>> phone ++41 91 821 52 30
>> fax ++41 91 821 52 39
>> boris [dot] pezzatti [at] wsl [dot] ch
>> http://www.wsl.ch
>