Error Popups

61 views
Skip to first unread message

Ruediger Keller

unread,
Aug 6, 2011, 5:26:13 AM8/6/11
to scala-i...@googlegroups.com
Hello,

while working on my scala collections tests, I today started getting a
lot of error popups, whenever the project is built: "'Building
Workspace' has encountered a problem. Errors occured during the
build.". The errors in the log are always the same. Please find the
relevant part of the log file attached.

I'm using a nightly build of the plugin: "Scala IDE for Eclipse
2.0.0.nightly-210-201107220048-65854ae" with Eclipse 3.7 x64 on
Windows 7.

The project I'm working on is this:
https://github.com/ruedigerk/collection-tests

And the file I was editing, which is probably the cause of the problems is this:

scala.collection.TraversableSpec

Also, together with this, the presentation compiler started showing me
a lot of fake errors. I guess both problems are related, though.

Regards,
Rüdiger

error-log.txt

Mirco Dotta

unread,
Aug 8, 2011, 3:55:16 AM8/8/11
to scala-i...@googlegroups.com
Hi Rüdiger,

If you do a full project's clean, does it work then?

-- Mirco

Ruediger Keller

unread,
Aug 8, 2011, 4:57:13 AM8/8/11
to scala-i...@googlegroups.com
Hi,

I just updated to the latest nightly build of 2.10, but that doesn't
change the behavior.

When I do a clean, the project builds successfully.

But whenever I edit the aforementioned source file, save my changes
and the automatic build is triggered, I get an error popup with the
aforementioned error. With the new version of the plugin, the popup
contains the stack trace, though.

I also attached the stack trace.

Regards,
Rüdiger

2011/8/8 Mirco Dotta <mirco...@gmail.com>:

.log

Ruediger Keller

unread,
Aug 8, 2011, 5:10:30 AM8/8/11
to scala-i...@googlegroups.com
Hi,

I just tried using the 2.9 Beta 9 version of the plugin and that works
fine without any errors.

Regards,
Rüdiger

2011/8/8 Mirco Dotta <mirco...@gmail.com>:

Mirco Dotta

unread,
Aug 8, 2011, 5:24:14 AM8/8/11
to scala-i...@googlegroups.com
Good to know.

Still, I would like to try to reproduce this problem. So, if I got it right you imported the
scala library sources as a project in Eclipse and then when editing
`scala.collection.TraversableSpec` the builder issues some error. Perform a full clean
get rid of the error, though as soon as you start typing again, the error is back. Is that correct?

Also, what is the scala-library sources version you are looking at? (2.10? 2.9.x? any other)

-- Mirco

Mirco Dotta

unread,
Aug 8, 2011, 5:25:40 AM8/8/11
to Mirco Dotta, scala-i...@googlegroups.com
> Also, what is the scala-library sources version you are looking at? (2.10? 2.9.x? any other)

Sorry, my bad, I forgot you provided a link to your project. I'll check it out during the day or tomorrow.

-- Mirco

Ruediger Keller

unread,
Aug 8, 2011, 5:32:56 AM8/8/11
to scala-i...@googlegroups.com
Hi Mirco,

yes, when cleaning+building it works fine, but when I edit, save and
build, I get an error popup.

Btw. building the project with sbt works fine, too.

Mirco Dotta

unread,
Aug 9, 2011, 2:26:40 PM8/9/11
to scala-i...@googlegroups.com
Ok, it definitely looks like it is a builder issue from the behavior.

Today I really didn't find time to look at your sources. I will wait
another few days as the sbt is about to get in the nightly (awesome
news!), so I'd like to test your project with the two builders for comparison.

I'll let you know when I do so.

-- Mirco

Ruediger Keller

unread,
Aug 9, 2011, 5:33:55 PM8/9/11
to scala-i...@googlegroups.com
That's great, thank you!

Btw. it seems Alex Black is experiencing the same
"AssertionFailedException: Marker property value is too long".

I'm looking forward to the sbt based builder. :-)

Regards,
Rüdiger


2011/8/9 Mirco Dotta <mirco...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages