Why does MCR exit with a Java exception 'onCleanup' using xmlwrite in R2018b
Ältere Kommentare anzeigen
I compiled my MATLAB code that uses "xmlwrite" into a Java package. It works fine in MATLAB and has worked as a compiled Java package with MCR up until R2018b, when it now exits with the following error. How can I fix this?
Warning: The following error was caught while executing 'onCleanup' class destructor:Error using xmlwrite>@()java.lang.System.setProperty(tfProp,origTF) (line 111)Java exception occurred:java.lang.NullPointerExceptionat java.util.Hashtable.put(Hashtable.java:460)at java.util.Properties.setProperty(Properties.java:166)at java.lang.System.setProperty(System.java:796)
Error in onCleanup/delete (line 60)
Error in xmlwrite>xmlWriteHelper (after line 183)
Error in xmlwrite (line 80)
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu External Language Interfaces finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!