Closed ksugar closed 3 years ago
I can reproduce the bug.
Normally the Save
button means to simply overwrite the project file with the new data, without showing the user a file dialog. You can see it as a quick save.
The issue appears when a Mastodon file was not specified, as is the case just after creating it. Your suggestion is correct and I will implement it.
Summary
The save button and Save Project command fail with the following error when the project is created from
.h5
/.xml
. The save as... button works.How to reproduce
.h5
/.xml
Save Project
Environment
The latest version of Mastodon on Fiji running on Ubuntu 18.04 (64-bit) Version on the launcher panel:
1.0.0-beta-18-SNAPSHOT-11121b463e1d7c1221dab58642b973882df8ea7f
Investigation
projectRoot
at org.mastodon.mamut.project.MamutProject.openForWriting(MamutProject.java:170) isnull
Suggestioin
Redirect to
save as...
when the project is newly created.