Error in validation on load a model [message #620976] |
Sun, 24 May 2009 09:16 |
Thomas L Messages: 9 Registered: July 2009 |
Junior Member |
|
|
Hi,
if I try to load a invalid model when receive I following message:
runningjava.util.MissingResourceException: The string resource
'_UI_EClassDissimilarEStructuralFeatureName_diagnostic' could not be
located
at
org.eclipse.emf.common.util.DelegatingResourceLocator.delega tedGetString(DelegatingResourceLocator.java:487)
at
org.eclipse.emf.common.util.DelegatingResourceLocator.getStr ing(DelegatingResourceLocator.java:392)
at
org.eclipse.emf.common.util.DelegatingResourceLocator.getStr ing(DelegatingResourceLocator.java:506)
at
org.eclipse.emf.common.util.DelegatingResourceLocator.getStr ing(DelegatingResourceLocator.java:498)
at
org.eclipse.emf.ecore.util.EObjectValidator.getString(EObjec tValidator.java:1414)
at
org.eclipse.emf.ecore.util.EObjectValidator.getString(EObjec tValidator.java:1397)
at
org.eclipse.emf.ecore.util.EObjectValidator.createDiagnostic (EObjectValidator.java:1360)
at
org.eclipse.emf.ecore.util.EcoreValidator.validateEClass_Uni queFeatureNames(EcoreValidator.java:829)
at
org.eclipse.emf.ecore.util.EcoreValidator.validateEClass(Eco reValidator.java:660)
at
org.eclipse.emf.ecore.util.EcoreValidator.validate(EcoreVali dator.java:400)
at
org.eclipse.emf.ecore.util.EObjectValidator.validate(EObject Validator.java:171)
at
org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:164)
at
org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:143)
at
org.eclipse.emf.ecore.util.Diagnostician.doValidateContents( Diagnostician.java:183)
at
org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:167)
at
org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:143)
at
org.eclipse.emf.ecore.util.Diagnostician.doValidateContents( Diagnostician.java:183)
at
org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:167)
at
org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:143)
at
org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:114)
...
this problem exist only when I expot the project and use the project
standalone. Is a resource missing? Before this error exist I had a other
problem. No models could validate and a similarly exception came this:
java.util.MissingResourceException: The string resource
'_UI_DiagnosticRoot_diagnostic' could not be located. then I added the
org.eclipse.emf.ecore.resources.jar.
It was success and I could save valide models standalone.
Note: the function works in eclipse! only standalone is the problem.
Thanks for your help
Thomas
|
|
|
Powered by
FUDForum. Page generated in 0.02891 seconds