When trying to import simulink models using Matlab2019a with the latest Massif 0.8.0 CI build, it failed with the following exception:
hu.bme.mit.massif.communication.CommandEvaluationException: Exception occurred while evaluating command!
at hu.bme.mit.massif.communication.AbstractCommandEvaluator.evaluateCommand(AbstractCommandEvaluator.java:65)
at hu.bme.mit.massif.communication.AbstractCommandEvaluator.evaluateCommands(AbstractCommandEvaluator.java:264)
at hu.bme.mit.massif.communication.command.MatlabCommand.execute(MatlabCommand.java:99)
at hu.bme.mit.massif.simulink.api.adapter.block.DefaultBlockAdapter.process(DefaultBlockAdapter.java:56)
at hu.bme.mit.massif.simulink.api.Importer.createBlockInstance(Importer.java:934)
at hu.bme.mit.massif.simulink.api.Importer.createBlock(Importer.java:870)
at hu.bme.mit.massif.simulink.api.Importer.createBlocksFromTopLevel(Importer.java:804)
at hu.bme.mit.massif.simulink.api.Importer.traverseAndCreateEMFModel(Importer.java:620)
at hu.bme.mit.massif.simulink.ui.handlers.ImportModelHandler$1.run(ImportModelHandler.java:196)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by:
5: Error on invoking command in matlab server
Additional information:
{Number of output arguments=1, Type:=eval, Input arguments=, Command:=ImporterTmpResult(1:end)}
---------------------
Original exception:
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.mathworks.jmi.types.MLArrayRef
at br.com.embraer.massif.commandevaluation.client.MatlabClient.prepareMatlabRMIException(MatlabClient.java:191)
at br.com.embraer.massif.commandevaluation.client.MatlabClient.executeEval(MatlabClient.java:215)
at hu.bme.mit.massif.communication.commandevaluation.MatlabClientAccess.executeEval(MatlabClientAccess.java:38)
at hu.bme.mit.massif.communication.AbstractCommandEvaluator.dataRetriever(AbstractCommandEvaluator.java:142)
at hu.bme.mit.massif.communication.AbstractCommandEvaluator.evaluateCommand(AbstractCommandEvaluator.java:58)
... 9 more
When looking at the partial model created, the issue comes at the very start. I am also attaching the debug log and the created file for future reference.
massif_080_matlab_2019a.zip
When trying to import simulink models using Matlab2019a with the latest Massif 0.8.0 CI build, it failed with the following exception:
When looking at the partial model created, the issue comes at the very start. I am also attaching the debug log and the created file for future reference.
massif_080_matlab_2019a.zip