This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Looks like fundamental problems triggered during a big rebuild within Eclipse

1 reply
dr2chase
Joined: 2009-03-07,
User offline. Last seen 3 years 34 weeks ago.

I do not have a reproducible test case for this (giant Scala clean/rebuild within Eclipse, this came from the Presentation Compiler) but this seems like a fundamental error, meaning someone should eyeball the line numbers mentioned in the exceptions:

java.lang.ArrayIndexOutOfBoundsException: 116514
at scala.tools.nsc.util.HashSet.findEntryOrUpdate(HashSet.scala:31)
at scala.tools.nsc.symtab.Types$class.scala$tools$nsc$symtab$Types$$unique(Types.scala:2677)
at scala.tools.nsc.symtab.Types$class.singleType(Types.scala:2399)

java.lang.AssertionError: assertion failed: List(object Option, object Option)
at scala.tools.nsc.symtab.Symbols$Symbol.suchThat(Symbols.scala:1037)
at scala.tools.nsc.symtab.Symbols$Symbol.linkedModuleOfClass0(Symbols.scala:1223)
at scala.tools.nsc.symtab.Symbols$Symbol.linkedModuleOfClass(Symbols.scala:1231)
at scala.tools.nsc.typechecker.Namers$Namer.templateSig(Namers.scala:729)

This is specifically from

Scala Eclipse Plugin 2.8.0.r21030-b20100302035619 ch.epfl.lamp.sdt.feature.group

extempore
Joined: 2008-12-17,
User offline. Last seen 35 weeks 3 days ago.
Re: Looks like fundamental problems triggered during a big rebu

On Wed, Mar 03, 2010 at 09:08:01AM -0500, David Chase wrote:
> I do not have a reproducible test case for this (giant Scala
> clean/rebuild within Eclipse, this came from the Presentation
> Compiler) but this seems like a fundamental error, meaning someone
> should eyeball the line numbers mentioned in the exceptions:
>
> java.lang.ArrayIndexOutOfBoundsException: 116514
> at scala.tools.nsc.util.HashSet.findEntryOrUpdate(HashSet.scala:31)

http://lampsvn.epfl.ch/trac/scala/ticket/2911
http://lampsvn.epfl.ch/trac/scala/ticket/2987

That container is definitely not threadsafe: this appears to be an
eclipse issue.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland