Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load resource (*.omlzip) when adding the "Modeling Project Nature" in the OML WB #285

Open
NicolasRouquette opened this issue Apr 30, 2018 · 0 comments
Assignees
Labels

Comments

@NicolasRouquette
Copy link
Member

java.lang.IllegalArgumentException: Null cross-reference lookup for extendedTerminology in terminologyExtensionAxioms: http://europa.jpl.nasa.gov/user-model/efse/flightsystem/europa_flightsystem
    at gov.nasa.jpl.imce.oml.zip.OMLSpecificationTables.lambda$73(OMLSpecificationTables.java:5828)
    at java.util.HashMap.forEach(HashMap.java:1289)
    at gov.nasa.jpl.imce.oml.zip.OMLSpecificationTables.resolveTerminologyExtensionAxioms(OMLSpecificationTables.java:5833)
    at gov.nasa.jpl.imce.oml.zip.OMLSpecificationTables.resolve(OMLSpecificationTables.java:5591)
    at gov.nasa.jpl.imce.oml.zip.OMLSpecificationTables.load(OMLSpecificationTables.java:3439)
    at gov.nasa.jpl.imce.oml.zip.OMLZipResource.loadInternal(OMLZipResource.java:492)
    at gov.nasa.jpl.imce.oml.zip.OMLZipResource.load(OMLZipResource.java:181)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406)
    at gov.nasa.jpl.imce.oml.zip.OMLSpecificationTables.loadOMLZipResource(OMLSpecificationTables.java:7480)
    at gov.nasa.jpl.imce.oml.zip.OMLSpecificationTables.processQueue(OMLSpecificationTables.java:3461)
    at gov.nasa.jpl.imce.oml.zip.OMLSpecificationTables.load(OMLSpecificationTables.java:3438)
    at gov.nasa.jpl.imce.oml.zip.OMLZipResource.loadInternal(OMLZipResource.java:492)
    at gov.nasa.jpl.imce.oml.zip.OMLZipResource.load(OMLZipResource.java:181)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406)
    at org.eclipse.sirius.business.api.resource.LoadEMFResource.run(LoadEMFResource.java:66)
    at org.eclipse.sirius.business.api.resource.strategy.AbstractResourceStrategyImpl.isLoadableModel(AbstractResourceStrategyImpl.java:84)
    at org.eclipse.sirius.business.api.resource.strategy.ResourceStrategyRegistry.isLoadableModel(ResourceStrategyRegistry.java:183)
    at org.eclipse.sirius.ui.tools.internal.views.common.modelingproject.manager.ModelingProjectManagerImpl.getSemanticResourcesAdditionCommand(ModelingProjectManagerImpl.java:454)
    at org.eclipse.sirius.ui.tools.internal.views.common.modelingproject.manager.ModelingProjectManagerImpl.getSemanticResourcesAdditionCommand(ModelingProjectManagerImpl.java:459)
    at org.eclipse.sirius.ui.tools.internal.views.common.modelingproject.manager.ModelingProjectManagerImpl.getSemanticResourcesAdditionCommand(ModelingProjectManagerImpl.java:459)
    at org.eclipse.sirius.ui.tools.internal.views.common.modelingproject.manager.ModelingProjectManagerImpl.getSemanticResourcesAdditionCommand(ModelingProjectManagerImpl.java:459)
    at org.eclipse.sirius.ui.tools.internal.views.common.modelingproject.manager.ModelingProjectManagerImpl.getSemanticResourcesAdditionCommand(ModelingProjectManagerImpl.java:459)
    at org.eclipse.sirius.ui.tools.internal.views.common.modelingproject.manager.ModelingProjectManagerImpl.getSemanticResourcesAdditionCommand(ModelingProjectManagerImpl.java:459)
    at org.eclipse.sirius.ui.tools.internal.views.common.modelingproject.manager.ModelingProjectManagerImpl.getSemanticResourcesAdditionCommand(ModelingProjectManagerImpl.java:459)
    at org.eclipse.sirius.ui.tools.internal.views.common.modelingproject.manager.ModelingProjectManagerImpl.addSemanticResources(ModelingProjectManagerImpl.java:441)
    at org.eclipse.sirius.ui.tools.internal.views.common.modelingproject.manager.ModelingProjectManagerImpl.doAddModelingNature(ModelingProjectManagerImpl.java:395)
    at org.eclipse.sirius.ui.tools.internal.views.common.modelingproject.manager.ModelingProjectManagerImpl.convertToModelingProject(ModelingProjectManagerImpl.java:287)
    at org.eclipse.sirius.ui.tools.internal.actions.nature.ModelingToggleNatureAction$1.execute(ModelingToggleNatureAction.java:91)
    at org.eclipse.ui.actions.WorkspaceModifyOperation.lambda$0(WorkspaceModifyOperation.java:107)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
    at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:128)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant