| Summary: | NPE in FeatureBasedDiagnostic#toString | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Michael Clay <clay> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sebastian.zarnekow |
| Version: | 2.0.0 | Flags: | sebastian.zarnekow:
indigo+
|
| Target Milestone: | M6 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
Could you please double check whether your sourceEObject's EClass corresponds to the given EStructuralFeature? Pushed fix to master. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
cause: eStructuralFeature index not applicable to sourceObject stacktrace: java.lang.NullPointerException at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate(BasicEObjectImpl.java:1542) at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1029) at org.eclipse.xtext.impl.AbstractMetamodelDeclarationImpl.eGet(AbstractMetamodelDeclarationImpl.java:158) at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1013) at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1005) at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1000) at org.eclipse.xtext.validation.FeatureBasedDiagnostic.toString(FeatureBasedDiagnostic.java:83) at java.lang.String.valueOf(String.java:2826) at org.eclipse.emf.common.util.AbstractEList.toString(AbstractEList.java:636) at java.util.Collections$UnmodifiableCollection.toString(Collections.java:1003) at org.eclipse.xtext.xtext.XtextValidationTest.testBug322875_01(XtextValidationTest.java:90)