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

Error when checkout MMS model with document created in VE #12

Open
dsryzhov opened this issue Nov 3, 2020 · 0 comments
Open

Error when checkout MMS model with document created in VE #12

dsryzhov opened this issue Nov 3, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@dsryzhov
Copy link

dsryzhov commented Nov 3, 2020

When documents\views are created in VE new version of project is created.
When trying to checkout this new project version to Capella
the following error occurs (there is no such problem when I checkout initial commit that does not contains VE documents)

com.thalesgroup.mde.openmbee.connector.mms.sirius.ui
Error
Tue Nov 03 09:46:54 MSK 2020
Unexpected exception while trying to import project 'PROJECT-7b851ff4-4512-4a0b-840a-9022cff764bc-CapellaMMSProject' from MMS 'https://mms.openmbee.org/alfresco/service' under organization '7b851ff4-4512-4a0b-840a-9022cff764bc'

java.lang.NullPointerException
at com.thalesgroup.mde.openmbee.connector.mms.sirius.EmfMmsModelElementDescriptorConverter.fromMMS(EmfMmsModelElementDescriptorConverter.java:83)
at com.thalesgroup.mde.openmbee.connector.mms.sirius.SiriusProjectConnector.fromMms(SiriusProjectConnector.java:218)
at com.thalesgroup.mde.openmbee.connector.mms.sirius.ui.ImportRunnable.executeImport(ImportRunnable.java:91)
at com.thalesgroup.mde.openmbee.connector.mms.sirius.ui.ImportRunnable.run(ImportRunnable.java:54)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

Scenario to reproduce this error

  1. Create Capella model
  2. Export Capella project to MMS
  3. Create project document with one view in VE
  4. Remove original capella project from workspace
  5. Checkout last project version from MMS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants