When opening any .javaxmi file, i got a warning in error log.\
(the problem happens with a modelQuery "isEObject" from "_example_jdkAndEclipseQuerySet.querySet")
The constraint "org.eclipse.gmt.modisco.infra.query.core.org.eclipse.gmt.modisco.infra.query.validation.ImplementationClassInterface" is disabled. It will not be evaluated.
java.lang.NullPointerException\
at org.eclipse.jdt.internal.core.NameLookup.findType(NameLookup.java:805)\
at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1241)\
at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1322)\
at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1228)\
at org.eclipse.gmt.modisco.infra.query.core.internal.validation.ImplementationClassInterface.validateContextType(ImplementationClassInterface.java:269)\
at org.eclipse.gmt.modisco.infra.query.core.internal.validation.ImplementationClassInterface.validateWorkspaceQuery(ImplementationClassInterface.java:128)\
at org.eclipse.gmt.modisco.infra.query.core.internal.validation.ImplementationClassInterface.validate(ImplementationClassInterface.java:84)\
at org.eclipse.emf.validation.internal.util.JavaConstraintParser$ConstraintAdapter.validate(JavaConstraintParser.java:80)\
at org.eclipse.emf.validation.internal.service.AbstractValidator.evaluateConstraints(AbstractValidator.java:241)\
at org.eclipse.emf.validation.internal.service.BatchValidator.validate(BatchValidator.java:264)\
at org.eclipse.emf.validation.internal.service.BatchValidator.validate(BatchValidator.java:211)\
at org.eclipse.emf.validation.internal.service.BatchValidator.doValidate(BatchValidator.java:149)\
at org.eclipse.emf.validation.internal.service.AbstractValidator.validate(AbstractValidator.java:147)\
at org.eclipse.emf.validation.internal.service.AbstractValidator.validate(AbstractValidator.java:126)\
at org.eclipse.emf.validation.internal.service.BatchValidator.validate(BatchValidator.java:117)\
at org.eclipse.gmt.modisco.infra.query.core.internal.validation.EValidatorAdapter.validate(EValidatorAdapter.java:61)\
at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:165)\
at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:143)\
at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:114)\
at org.eclipse.gmt.modisco.infra.common.core.internal.validation.ValidationJob.validateItem(ValidationJob.java:170)\
at org.eclipse.gmt.modisco.infra.common.core.internal.validation.ValidationJob.validateSync(ValidationJob.java:143)\
at org.eclipse.gmt.modisco.infra.common.core.internal.builder.AbstractMoDiscoCatalog.openResource(AbstractMoDiscoCatalog.java:290)\
at org.eclipse.gmt.modisco.infra.common.core.internal.builder.AbstractMoDiscoCatalog.internalAddWSFile(AbstractMoDiscoCatalog.java:653)\
at org.eclipse.gmt.modisco.infra.common.core.internal.builder.AbstractMoDiscoCatalog.initWorkspaceRootObject(AbstractMoDiscoCatalog.java:140)\
at org.eclipse.gmt.modisco.infra.common.core.internal.builder.AbstractMoDiscoCatalog.(AbstractMoDiscoCatalog.java:121)\
at org.eclipse.gmt.modisco.infra.query.core.ModelQuerySetCatalog.(ModelQuerySetCatalog.java:61)\
at org.eclipse.gmt.modisco.infra.query.core.ModelQuerySetCatalog.getSingleton(ModelQuerySetCatalog.java:55)\
at org.eclipse.gmt.modisco.infra.facet.core.FacetSetCatalog.getSingleton(FacetSetCatalog.java:49)\
at org.eclipse.gmt.modisco.infra.browser.editors.EcoreBrowser.loadDefaultFacetSets(EcoreBrowser.java:607)
| --- | --- | | Bugzilla Link | 309999 | | Status | CLOSED FIXED | | Importance | P1 normal | | Reported | Apr 21, 2010 12:31 EDT | | Modified | Oct 01, 2010 13:15 EDT | | Version | 0.8.0 | | Reporter | Fabien Giquel |
Description
When opening any .javaxmi file, i got a warning in error log.\ (the problem happens with a modelQuery "isEObject" from "_example_jdkAndEclipseQuerySet.querySet")
The constraint "org.eclipse.gmt.modisco.infra.query.core.org.eclipse.gmt.modisco.infra.query.validation.ImplementationClassInterface" is disabled. It will not be evaluated.
java.lang.NullPointerException\ at org.eclipse.jdt.internal.core.NameLookup.findType(NameLookup.java:805)\ at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1241)\ at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1322)\ at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1228)\ at org.eclipse.gmt.modisco.infra.query.core.internal.validation.ImplementationClassInterface.validateContextType(ImplementationClassInterface.java:269)\ at org.eclipse.gmt.modisco.infra.query.core.internal.validation.ImplementationClassInterface.validateWorkspaceQuery(ImplementationClassInterface.java:128)\ at org.eclipse.gmt.modisco.infra.query.core.internal.validation.ImplementationClassInterface.validate(ImplementationClassInterface.java:84)\ at org.eclipse.emf.validation.internal.util.JavaConstraintParser$ConstraintAdapter.validate(JavaConstraintParser.java:80)\ at org.eclipse.emf.validation.internal.service.AbstractValidator.evaluateConstraints(AbstractValidator.java:241)\ at org.eclipse.emf.validation.internal.service.BatchValidator.validate(BatchValidator.java:264)\ at org.eclipse.emf.validation.internal.service.BatchValidator.validate(BatchValidator.java:211)\ at org.eclipse.emf.validation.internal.service.BatchValidator.doValidate(BatchValidator.java:149)\ at org.eclipse.emf.validation.internal.service.AbstractValidator.validate(AbstractValidator.java:147)\ at org.eclipse.emf.validation.internal.service.AbstractValidator.validate(AbstractValidator.java:126)\ at org.eclipse.emf.validation.internal.service.BatchValidator.validate(BatchValidator.java:117)\ at org.eclipse.gmt.modisco.infra.query.core.internal.validation.EValidatorAdapter.validate(EValidatorAdapter.java:61)\ at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:165)\ at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:143)\ at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:114)\ at org.eclipse.gmt.modisco.infra.common.core.internal.validation.ValidationJob.validateItem(ValidationJob.java:170)\ at org.eclipse.gmt.modisco.infra.common.core.internal.validation.ValidationJob.validateSync(ValidationJob.java:143)\ at org.eclipse.gmt.modisco.infra.common.core.internal.builder.AbstractMoDiscoCatalog.openResource(AbstractMoDiscoCatalog.java:290)\ at org.eclipse.gmt.modisco.infra.common.core.internal.builder.AbstractMoDiscoCatalog.internalAddWSFile(AbstractMoDiscoCatalog.java:653)\ at org.eclipse.gmt.modisco.infra.common.core.internal.builder.AbstractMoDiscoCatalog.initWorkspaceRootObject(AbstractMoDiscoCatalog.java:140)\ at org.eclipse.gmt.modisco.infra.common.core.internal.builder.AbstractMoDiscoCatalog.(AbstractMoDiscoCatalog.java:121)\
at org.eclipse.gmt.modisco.infra.query.core.ModelQuerySetCatalog.(ModelQuerySetCatalog.java:61)\
at org.eclipse.gmt.modisco.infra.query.core.ModelQuerySetCatalog.getSingleton(ModelQuerySetCatalog.java:55)\
at org.eclipse.gmt.modisco.infra.facet.core.FacetSetCatalog.getSingleton(FacetSetCatalog.java:49)\
at org.eclipse.gmt.modisco.infra.browser.editors.EcoreBrowser.loadDefaultFacetSets(EcoreBrowser.java:607)