openTCS / opentcs

The open Transportation Control System (by Fraunhofer IML)
https://www.opentcs.org/
345 stars 121 forks source link

5.16 add envelop and peripheraloperation to a path , upload failed #143

Closed vincentknw closed 5 months ago

vincentknw commented 5 months ago

Affected version

5.16.0

Steps to reproduce

1 add peripheral operation to path0; 2 add envelop to path0; 3 upload model to kernel

Actual behaviour

kernel failed to save model ...

Additional information

[20240521-10:40:27-925] WARNING kernelExecutor o.o.common.LoggingScheduledThreadPoolExecutor.afterExecute(): Unhandled exception in executed task java.lang.IllegalStateException: Exception saving model at org.opentcs.kernel.persistence.XMLFileModelPersister.saveModel(XMLFileModelPersister.java:88) at org.opentcs.kernel.services.StandardPlantModelService.savePlantModel(StandardPlantModelService.java:144) at org.opentcs.kernel.services.StandardPlantModelService.createPlantModel(StandardPlantModelService.java:182) at org.opentcs.kernel.extensions.rmi.StandardRemotePlantModelService.lambda$createPlantModel$1(StandardRemotePlantModelService.java:174) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: Exception marshalling data at org.opentcs.util.persistence.v004.V004PlantModelTO.toXml(V004PlantModelTO.java:171) at org.opentcs.util.persistence.ModelParser.writeModel(ModelParser.java:81) at org.opentcs.kernel.persistence.XMLFileModelPersister.saveModel(XMLFileModelPersister.java:85) ... 9 more Caused by: javax.xml.bind.MarshalException

martingr commented 5 months ago

Thanks for reporting this issue. This has been fixed with openTCS 5.17 which was released just yesterday.