Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Formatting2 (2.8.1): AbstractRegionAccess.regionForEObject
icon5.gif  Formatting2 (2.8.1): AbstractRegionAccess.regionForEObject [message #1695658] Mon, 18 May 2015 12:13 Go to next message
aurel pestell is currently offline aurel pestellFriend
Messages: 90
Registered: October 2013
Location: Sweden
Member
Hi,

While attempting to format a XBinaryOperation object using the XbaseFormatter, I get a NPE in AbstractRegionAccess.regionForEObject at this line (the second one):

AbstractEObjectTokens tokens = eObjectToTokens.get(object);
		int offset = tokens.leadingGap.getEndOffset();


as
tokens == null


Seems like the object is not mapped in "eObjectToTokens" but I can't find the reason.
Any idea why this happens ?

Thanks !
Re: Formatting2 (2.8.1): AbstractRegionAccess.regionForEObject [message #1695718 is a reply to message #1695658] Mon, 18 May 2015 15:01 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Could you also try one of the recent nightly builds? There were a few
fixes in that area.

Best,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Find help at http://xtext.itemis.com or xtext(@)itemis.com
Blog: zarnekow.blogspot.com
Twitter: @szarnekow
Google+: https://www.google.com/+SebastianZarnekow
Re: Formatting2 (2.8.1): AbstractRegionAccess.regionForEObject [message #1695833 is a reply to message #1695718] Tue, 19 May 2015 15:42 Go to previous message
aurel pestell is currently offline aurel pestellFriend
Messages: 90
Registered: October 2013
Location: Sweden
Member
I just checkout 2.9.0, I just need to readjust my code and test if things work. Thank you !
Previous Topic:Semantic Highlighting
Next Topic:Generated SyntacticSequencer in the serializer package
Goto Forum:
  


Current Time: Fri Apr 26 17:07:35 GMT 2024

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

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

Back to the top