Skip to main content



      Home
Home » Modeling » TMF (Xtext) » fullyQualifiedName is null when loading Resource from URI( fullyQualifiedName is null when loading Resource from URI)
fullyQualifiedName is null when loading Resource from URI [message #1388479] Thu, 26 June 2014 10:00 Go to next message
Eclipse UserFriend
var obj = resSet.getResource(tmpUri, true);
obj.allContents.toIterable.filter(MyClass).forEach[o|
var myList = o.getMyList
myList.forEach[e|
// At this point I am getting null for some elements althought it was
//loaded correctly with no errors.

val fqdn = (e as Item).fullyQualifiedName

]
]
Re: fullyQualifiedName is null when loading Resource from URI [message #1388552 is a reply to message #1388479] Thu, 26 June 2014 11:59 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

can you give a sample grammar and sample model as well
Re: fullyQualifiedName is null when loading Resource from URI [message #1390314 is a reply to message #1388552] Sun, 29 June 2014 03:25 Go to previous messageGo to next message
Eclipse UserFriend
Hi.
The grammar is: org.eclipse.xtext.common.Terminals
Can you please elaborate more regarding the model?

Thanks.
Re: fullyQualifiedName is null when loading Resource from URI [message #1390368 is a reply to message #1390314] Sun, 29 June 2014 05:33 Go to previous message
Eclipse UserFriend
Give me the steps to proproduce your problem e.g.

everything i need to create a program that reproduces it

this might be a grammar (i doubt it is terminals -it has no MyClass)
the sample input model file you have when the error occurs etc
Previous Topic:Infinite Loop in DocumentTokenSource.computeDamageRegion
Next Topic:Getting All DSL Resources in the same Project or dir
Goto Forum:
  


Current Time: Wed Jul 09 08:47:13 EDT 2025

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

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

Back to the top