Bug 500682 - Error editing textual if syntax not complete
Summary: Error editing textual if syntax not complete
Status: NEW
Alias: None
Product: Papyrus-rt
Classification: Modeling
Component: textual (show other bugs)
Version: 0.7.2   Edit
Hardware: PC Windows NT
: P3 normal
Target Milestone: Future   Edit
Assignee: Ernesto Posse CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-01 11:11 EDT by Young-Soo Roh CLA
Modified: 2016-10-31 14:43 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Young-Soo Roh CLA 2016-09-01 11:11:29 EDT
Following exceptions raised while editing textual.

To reproduce type following for entry action to add action code.

action {|#


org.eclipse.emf.common.util.WrappedException: java.lang.ClassCastException: java.util.ArrayList cannot be cast to org.eclipse.emf.ecore.EObject
	at org.eclipse.xtext.linking.lazy.LazyLinkingResource.getEObject(LazyLinkingResource.java:230)
	at org.eclipse.xtext.linking.lazy.LazyLinkingResource.doResolveLazyCrossReference(LazyLinkingResource.java:189)
	at org.eclipse.xtext.linking.lazy.LazyLinkingResource.resolveLazyCrossReference(LazyLinkingResource.java:148)
	at org.eclipse.xtext.linking.lazy.LazyLinkingResource.resolveLazyCrossReferences(LazyLinkingResource.java:134)




java.lang.ClassCastException: java.util.ArrayList cannot be cast to org.eclipse.emf.ecore.EObject
	at org.eclipse.xtext.scoping.Scopes$2.apply(Scopes.java:1)
	at com.google.common.collect.Iterators$8.transform(Iterators.java:794)
	at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:646)
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
Comment 1 Charles Rivet CLA 2016-10-31 14:43:48 EDT
This should be in MVP6