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

Various exception thrown by Eclipse plug-in

6 replies
Grzegorz Kossakowski
Joined: 2009-01-28,
User offline. Last seen 42 years 45 weeks ago.

Hello,

I'm using Scala Eclipse plug-in version 2.8.0.r17221 installed from snapshots repository.

I'm constantly getting following exceptions:
java.util.ConcurrentModificationException
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:390)
at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:401)
at scala.collection.jcl.MutableIterator$Wrapper.next(MutableIterator.scala:16)
at scala.Iterator$class.foreach(Iterator.scala:414)
at scala.collection.jcl.MutableIterator$Wrapper.foreach(MutableIterator.scala:14)
at scala.Iterable$class.foreach(Iterable.scala:256)
at scala.collection.jcl.LinkedHashSet.foreach(LinkedHashSet.scala:18)
at scala.tools.editor.Typers$class.flushTyper(Typers.scala:296)
at scala.tools.eclipse.ScalaPlugin$Project.flushTyper(ScalaPlugin.scala:427)
at scala.tools.editor.Typers$class.afterParsing(Typers.scala:254)
at scala.tools.eclipse.ScalaPlugin$Project.afterParsing(ScalaPlugin.scala:427)
at lampion.presentation.Presentations$ProjectImpl$class.protected$afterParsing(Presentations.scala:330)
at scala.tools.eclipse.ScalaPlugin$Project.protected$afterParsing(ScalaPlugin.scala:427)
at lampion.presentation.Presentations$ProjectImpl$Job.run(Presentations.scala:330)

or with message:
TYPED: {cqewx=List(class SitemapReductor extends scala.ScalaObject {def () = {
super.();
()
};
st-d778om;
st-dcafgq;
st-d8wuf3;
st-d9n8h1;
st-di9717;
st-demhp6;
st-dfujvf;
st-dinacd;
st-di733q;
st-d62boe;
st-d2wwg6;
st-dd7k7m;
st-dcj2uv;
st-dh5toj;
st-d9vpsr;
st-djnu5k;
st-dt2fn;
st-d62dm9;
st-d8uxml
}), slm539=List(Some(resolveParameter(param)))}
and stack trace:
java.lang.Error
at scala.tools.eclipse.ScalaPlugin.logError(ScalaPlugin.scala:147)
at scala.tools.editor.Typers$class.flushTyper(Typers.scala:278)
at scala.tools.eclipse.ScalaPlugin$Project.flushTyper(ScalaPlugin.scala:427)
at scala.tools.editor.Typers$class.afterParsing(Typers.scala:254)
at scala.tools.eclipse.ScalaPlugin$Project.afterParsing(ScalaPlugin.scala:427)
at lampion.presentation.Presentations$ProjectImpl$class.protected$afterParsing(Presentations.scala:330)
at scala.tools.eclipse.ScalaPlugin$Project.protected$afterParsing(ScalaPlugin.scala:427)
at lampion.presentation.Presentations$ProjectImpl$Job.run(Presentations.scala:330)

After getting first exception for the first time syntax highlight stops to work.

Should I fill issue in Trac or it's already known problem?

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Various exception thrown by Eclipse plug-in

2009/3/2 Grzegorz Kossakowski :
> Should I fill issue in Trac or it's already known problem?

You should always create an issue in Trac unless there's one there already.

Thanks ...

Cheers,

Miles

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Various exception thrown by Eclipse plug-in

2009/3/2 Grzegorz Kossakowski :
> I'm using Scala Eclipse plug-in version 2.8.0.r17221 installed from snapshots repository.
>
> I'm constantly getting following exceptions:
> java.util.ConcurrentModificationException

http://lampsvn.epfl.ch/trac/scala/ticket/1763

Should be fixed now ... try again with tomorrow morning's nightly build ...

Cheers,

Miles

Grzegorz Kossakowski
Joined: 2009-01-28,
User offline. Last seen 42 years 45 weeks ago.
Re: Various exception thrown by Eclipse plug-in

Miles Sabin pisze:
> 2009/3/2 Grzegorz Kossakowski :
>> I'm using Scala Eclipse plug-in version 2.8.0.r17221 installed from snapshots repository.
>>
>> I'm constantly getting following exceptions:
>> java.util.ConcurrentModificationException
>
>
> http://lampsvn.epfl.ch/trac/scala/ticket/1763
>
> Should be fixed now ... try again with tomorrow morning's nightly build ...

Thanks Miles!

I'll try Scala plug-in tomorrow's evening.

On the other hand. Is there any chance to make builds more frequent (of course given there were some commits) to make
testing easier?

I forgot to report my problems to Trac but I'm still very interested in testing Eclipse Scala plug-in and providing some
feedback.

Grzegorz Kossakowski
Joined: 2009-01-28,
User offline. Last seen 42 years 45 weeks ago.
Re: Various exception thrown by Eclipse plug-in

Miles Sabin pisze:
> 2009/3/2 Grzegorz Kossakowski :
>> I'm using Scala Eclipse plug-in version 2.8.0.r17221 installed from snapshots repository.
>>
>> I'm constantly getting following exceptions:
>> java.util.ConcurrentModificationException
>
>
> http://lampsvn.epfl.ch/trac/scala/ticket/1763
>
> Should be fixed now ... try again with tomorrow morning's nightly build ...
>

I found two new problems:
http://lampsvn.epfl.ch/trac/scala/ticket/1771
http://lampsvn.epfl.ch/trac/scala/ticket/1772

At this point snapshot version of Eclipse plug-in is completely broken.

Thanks for your good work, though.

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Various exception thrown by Eclipse plug-in

On Fri, Mar 6, 2009 at 2:13 PM, Grzegorz Kossakowski wrote:
> At this point snapshot version of Eclipse plug-in is completely broken.

I think it's your installation that must be completely broken.

When submitting bug reports it also helps to be a little more informative.

Cheers,

Miles

Grzegorz Kossakowski
Joined: 2009-01-28,
User offline. Last seen 42 years 45 weeks ago.
Re: Various exception thrown by Eclipse plug-in

Miles Sabin pisze:
> On Fri, Mar 6, 2009 at 2:13 PM, Grzegorz Kossakowski wrote:
>> At this point snapshot version of Eclipse plug-in is completely broken.
>
> I think it's your installation that must be completely broken.

Hmmm. That might be interesting. I don't have any exotic plug-ins installed but will try it with fresh Eclipse installation.

> When submitting bug reports it also helps to be a little more informative.

Yep, sure. I was little bit too fast at reporting these issues.

Will test it more throughly (with freshly downloaded Eclipse distribution) and will report more details about my
installation if these problems persist.

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