Closed brianjwilson closed 5 years ago
Ugh. Thanks for reporting this.
This happens when importing the xml file in the exchange format and then saving. A couple of things are not set so it can't actually save. I've just committed a fix.
I think it's time to release a maintenance build of Archi...
Shout out to @Phillipus for being a Zappa fan and invoking the Central Scrutinizer.
The white zone is for loading and unloading only...
"Call any vegetable. Call it by name. And the chances are good ..."
----- Original message ----- From: Phil Beauvoir notifications@github.com To: "archimatetool/archi" archi@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [archimatetool/archi] Null pointer exception from saveModel when importing xmlexchange file (#416)Date: Thu, 29 Nov 2018 14:21:14 -0800
Ugh. Thanks for reporting this.
This happens when importing the xml file in the exchange format and then saving. A couple of things are not set so it can't actually save. I've just committed a fix.I think it's time to release a maintenance build of Archi...
Shout out to @Phillipus[1] for being a Zappa fan and invoking the Central Scrutinizer.The white zone is for loading and unloading only...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub[2], or mute the thread[3].
Links:
"Call any vegetable. Call it by name. And the chances are good ..."
...that a vegetable will respond to you. ;-)
@brianjwilson Please try latest Archi 4.3.1 with a fix https://www.archimatetool.com/download/
Thanks for the quick response on this, I'll give it a go here in a few and let you know how it works.
4.3.1 works perfectly! Thanks!
I'm using the command line and it doesn't seem to write to the error log, but I'll paste in the console output.
Version of Archi, Operating System
macOS High Sierra 10.13.3 (17D47) com.archimatetool.editor.buildid=201809101333 com.archimatetool.editor.versionid=4.3.0
Expected Behaviour
XML Exchange Format files import cleanly if I use the Archi UI. I can also import the file successfully from the command line, but it crashes when I use the --saveModel flag as shown below and the file is not saved.
Actual Behaviour
Steps to Reproduce the Behaviour
/Applications/Archi.app/Contents/MacOS/Archi -application com.archimatetool.commandline.app -consoleLog -nosplash --createEmptyModel "/pathtotemplate.architemplate" --xmlexchange.import "pathto-exchange.xml" --saveModel "pathtodestination.archimate"
You can see in the output that the actual import worked, only the save failed. Shout out to @Phillipus for being a Zappa fan and invoking the Central Scrutinizer.