Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » After Migration 2.10 -> 2.11. Cannot start application(After migration 2.10 -> 2.11 strange error in runtime occurs)
After Migration 2.10 -> 2.11. Cannot start application [message #1753810] Fri, 10 February 2017 11:26 Go to next message
Alex Gor is currently offline Alex GorFriend
Messages: 105
Registered: November 2014
Location: Russia
Senior Member
Hello All

I've moved my application from Xtext 2.10 to XText 2.11 platform.
When I rebuild application I observed the following error

-----
Errors occurred during the build.
Errors running builder 'Xtext Project Builder' on project 'com.psl.atom'.
org.eclipse.xtend2.lib.StringConcatenation.append(Ljava/lang/String;)V
----

I don't use xtend language in my code
I use Eclipse (Mars + xtext 2.11) (32-bits)

I cannot understand what is the reason of this bug.

Thank you in advance
Alex

[Updated on: Fri, 10 February 2017 11:29]

Report message to a moderator

Re: After Migration 2.10 -> 2.11. Cannot start application [message #1753812 is a reply to message #1753810] Fri, 10 February 2017 11:28 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 11062
Registered: July 2009
Senior Member
it looks like you still have somewhere a 2.10er version of xbase.lib floating around.
StringConcatenation for new methods in 2.11 and these will be used


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: After Migration 2.10 -> 2.11. Cannot start application [message #1753813 is a reply to message #1753810] Fri, 10 February 2017 11:28 Go to previous messageGo to next message
Jeroen Laverman is currently offline Jeroen LavermanFriend
Messages: 2
Registered: December 2016
Junior Member
I had a similar error. Updating the Xtend version fixed it for me.
Re: After Migration 2.10 -> 2.11. Cannot start application [message #1753818 is a reply to message #1753813] Fri, 10 February 2017 11:52 Go to previous messageGo to next message
Alex Gor is currently offline Alex GorFriend
Messages: 105
Registered: November 2014
Location: Russia
Senior Member
I've checked version of installed plugins via (Help->Installation details).
Look at attached screenshot

All version of plugins from XTEXT framework is 2.11


UUPPS : I found the reason in Run Configuration in plugin section there were two libraries 2.10 and 2.11. I've checked out old library. Problem is fixed
  • Attachment: version.png
    (Size: 140.63KB, Downloaded 49 times)

[Updated on: Fri, 10 February 2017 11:56]

Report message to a moderator

Re: After Migration 2.10 -> 2.11. Cannot start application [message #1753951 is a reply to message #1753818] Mon, 13 February 2017 10:12 Go to previous message
Alex Gor is currently offline Alex GorFriend
Messages: 105
Registered: November 2014
Location: Russia
Senior Member
I observed the interesting behavior. I observed this issue again. I check run configuration, the old library (2.10) was unchecked, Take into consolidation the following scenario
- So I've checked in old library run build
- Observed error again
- I've checked out the old library run build
- The issue is not observed

Seems to me old library is there in class path somewhere
Previous Topic:How to deresolve a URI
Next Topic:dsl maven build cannot resolve types defined in xtend
Goto Forum:
  


Current Time: Thu Aug 17 23:44:31 GMT 2017

Powered by FUDForum. Page generated in 0.03553 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software