file XMI export fails on Time event

6 years 10 months ago - 6 years 10 months ago #3678 by tomhay
I'm on 3.4.0.
I have created a package with a State Machine diagram. It exports to XMI just fine until I add a Time event (Expression value = 5000). Export then fails with stack trace:

2015-10-03 22:42:08,718 ERROR org.modelio.xmi - null
java.lang.NullPointerException: null
at org.modelio.xmi.model.objing.OEvent.setTimeProperties(
at org.modelio.xmi.model.objing.OEvent.setProperties(
at org.modelio.xmi.generation.ExportModel.finishElementCreation(
at org.modelio.xmi.generation.ExportModel.export(
at org.modelio.xmi.generation.XMIExportBehavior.visitEvent(
at org.modelio.xmi.generation.OwnershipMetamodelVisitor.visitEvent(
at org.modelio.metamodel.impl.uml.behavior.commonBehaviors.EventImpl.accept(
at org.modelio.xmi.generation.OwnershipMetamodelVisitor.visitBehavior(
at org.modelio.metamodel.visitors.DefaultModelVisitor.visitStateMachine(
at org.modelio.xmi.generation.OwnershipMetamodelVisitor.visitStateMachine(
at org.modelio.metamodel.impl.uml.behavior.stateMachineModel.StateMachineImpl.accept(
at org.modelio.xmi.generation.OwnershipMetamodelVisitor.visitNameSpace(
at org.modelio.metamodel.visitors.DefaultModelVisitor.visitPackage(
at org.modelio.xmi.generation.OwnershipMetamodelVisitor.visitPackage(
at org.modelio.metamodel.impl.uml.statik.PackageImpl.accept(
at org.modelio.xmi.generation.ExportServices.createEcoreModel(
at org.eclipse.jface.operation.ModalContext$

If I remove the Time event, the export works again.

Is this a bug?

Please Log in or Create an account to join the conversation.

6 years 10 months ago #3685 by ebr
It is a bug, an issue has already been posted .

Thanks for the feedback.


Please Log in or Create an account to join the conversation.

Moderators: tmaaabcde
Time to create page: 0.032 seconds
^ Back to Top