Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Error parsing model files in Linux(Error parsing model files in Linux)
Error parsing model files in Linux [message #989138] Tue, 04 December 2012 18:42
Missing name Missing name is currently offline Missing name Missing name
Messages: 12
Registered: July 2010
Junior Member
I am getting the following exception while trying to parse model files. I am using xtext2.3.0 version. Can someone pls tell me what may be going on? I don't see any details with regard to model file name or line number. Please let me know if you need any further details from me.

Thanks,
Venka


     29 2012-12-04 12:54:16,709 [main] DEBUG org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser - Parsing took: 40 ms
     30 2012-12-04 12:54:16,713 [main] DEBUG org.eclipse.xtext.linking.impl.AbstractCleaningLinker - beforeModelLinked took: 2ms
     31 2012-12-04 12:54:16,752 [main] DEBUG org.eclipse.xtext.linking.impl.AbstractCleaningLinker - doLinkModel took: 39ms
     32 2012-12-04 12:54:16,753 [main] DEBUG org.eclipse.xtext.linking.impl.AbstractCleaningLinker - afterModelLinked took: 0ms
     33 2012-12-04 12:54:16,767 [main] ERROR org.eclipse.xtext.linking.lazy.LazyLinkingResource - resolution of uriFragment 'xtextLink_::0.0.0.6.0.1::0::/0'         failed.
     34 java.lang.StringIndexOutOfBoundsException: String index out of range: 141
     35         at java.lang.String.substring(String.java:1934)
     36         at org.eclipse.xtext.nodemodel.impl.AbstractNode.getText(AbstractNode.java:95)
     37         at org.eclipse.xtext.nodemodel.util.NodeModelUtils.getTokenText(NodeModelUtils.java:381)
     38         at org.eclipse.xtext.linking.impl.LinkingHelper.getCrossRefNodeAsString(LinkingHelper.java:51)
     39         at org.eclipse.xtext.linking.impl.DefaultLinkingService.getCrossRefNodeAsString(DefaultLinkingService.java:132)
     40         at org.eclipse.xtext.linking.impl.DefaultLinkingService.getLinkedObjects(DefaultLinkingService.java:113)
     41         at org.eclipse.xtext.linking.lazy.LazyLinkingResource.getEObject(LazyLinkingResource.java:179)
     42         at org.eclipse.xtext.xbase.resource.XbaseResource.access$0(XbaseResource.java:1)
     43         at org.eclipse.xtext.xbase.resource.XbaseResource$2.exec(XbaseResource.java:239)
     44         at org.eclipse.xtext.xbase.resource.XbaseResource$2.exec(XbaseResource.java:1)
     45         at org.eclipse.xtext.util.OnChangeEvictingCache.execWithoutCacheClear(OnChangeEvictingCache.java:124)
     46         at org.eclipse.xtext.xbase.resource.XbaseResource.getEObject(XbaseResource.java:237)
     47         at org.eclipse.xtext.linking.lazy.LazyLinkingResource.resolveLazyCrossReference(LazyLinkingResource.java:147)
     48         at org.eclipse.xtext.linking.lazy.LazyLinkingResource.resolveLazyCrossReferences(LazyLinkingResource.java:108)
     49         at org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:494)
     50         at org.eclipse.xtext.validation.ResourceValidatorImpl.resolveProxies(ResourceValidatorImpl.java:127)
     51         at org.eclipse.xtext.validation.ResourceValidatorImpl.validate(ResourceValidatorImpl.java:62)
     52         at org.eclipse.xtext.mwe.Validator.validate(Validator.java:68)
     53         at org.eclipse.xtext.mwe.Reader.invokeInternal(Reader.java:167)
     54         at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent.invoke(AbstractWorkflowComponent.java:126)
     55         at org.eclipse.emf.mwe.core.lib.Mwe2Bridge.invoke(Mwe2Bridge.java:34)
     56         at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent.invoke(AbstractWorkflowComponent.java:201)
Previous Topic:Turning syntax checking off
Next Topic:Support of semantic predicates
Goto Forum:
  


Current Time: Sat Oct 25 23:07:02 GMT 2014

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

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