AnalyseSI don't save your project if you don't type the file extension ".asi"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AnalyseSI |
Fix Released
|
Medium
|
Bruno Dabo |
Bug Description
Hi,
I started a new project on AnalyseSI and after 1 hours of work, I decide to save my project.
So I clicked on "Save" button, I chose the folder and I simply type the name of my project.
I click on "save". The "save window" disappeared and none error message occured.
It seem to be correctly saved and I can continue to work.
After that, I closed AnalyseSI.
But in fact, no project files was created into the save directory!
I have lost all my work!
So I tryed to understand why AnalyseSI don't save my project.
And I remark that the saving process works fine when I type the file extension ".asi" manualy.
I think you should propose a file extension automatically to the user and inform him when his project is not saved.
(I have make a screencast video of this bug.)
Best regards,
Thomas Pierson
Changed in analysesi: | |
assignee: | nobody → AnalyseSI Team (analysesi) |
Changed in analysesi: | |
status: | Confirmed → In Progress |
Changed in analysesi: | |
importance: | Undecided → Medium |
assignee: | AnalyseSI Team (analysesi) → Bruno Dabo (bruno.dabo) |
Thanks for the report!
Confirmed here with AnalyseSI 7.1 and OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1. 4.1-0ubuntu12) .
Save doesn't work if the user doesn't type the .asi file extension. There's no warning in the UI, but the following Exception is thrown :
Exception in thread "AWT-EventQueue-0" java.lang. NullPointerExce ption core.util. save.AnalyseSav e.saveAs( AnalyseSave. java:153) core.util. save.AnalyseSav e.save( AnalyseSave. java:101) core.gui. action. MainActionListe ner.actionPerfo rmed(MainAction Listener. java:100) core.gui. action. BasicAction. actionPerformed (BasicAction. java:61) AbstractButton. fireActionPerfo rmed(AbstractBu tton.java: 2012) AbstractButton$ Handler. actionPerformed (AbstractButton .java:2335) DefaultButtonMo del.fireActionP erformed( DefaultButtonMo del.java: 404) DefaultButtonMo del.setPressed( DefaultButtonMo del.java: 259) plaf.basic. BasicButtonList ener.mouseRelea sed(BasicButton Listener. java:253) AWTEventMultica ster.mouseRelea sed(AWTEventMul ticaster. java:289) AWTEventMultica ster.mouseRelea sed(AWTEventMul ticaster. java:289) Component. processMouseEve nt(Component. java:6108) JComponent. processMouseEve nt(JComponent. java:3267) Component. processEvent( Component. java:5873) Container. processEvent( Container. java:2105) Component. dispatchEventIm pl(Component. java:4469) Container. dispatchEventIm pl(Container. java:2163) Component. dispatchEvent( Component. java:4295) LightweightDisp atcher. retargetMouseEv ent(Container. java:4461) LightweightDisp atcher. processMouseEve nt(Container. java:4125) LightweightDisp atcher. dispatchEvent( Container. java:4055) Container. dispatchEventIm pl(Container. java:2149) Window. dispatchEventIm pl(Window. java:2478) Component. dispatchEvent( Component. java:4295) EventQueue. dispatchEvent( EventQueue. java:604) EventDispatchTh read.pumpOneEve ntForFilters( EventDispatchTh read.java: 275) EventDispatchTh read.pumpEvents ForFilter( EventDispatchTh read.java: 200) EventDispatchTh read.pumpEvents ForHierarchy( EventDispatchTh read.java: 190) EventDispatchTh read.pumpEvents (EventDispatchT hread.java: 185) EventDispatchTh read.pumpEvents (EventDispatchT hread.java: 177) EventDispatchTh read.run( EventDispatchTh read.java: 138)
at org.analyse.
at org.analyse.
at org.analyse.
at org.analyse.
at javax.swing.
at javax.swing.
at javax.swing.
at javax.swing.
at javax.swing.
at java.awt.
at java.awt.
at java.awt.
at javax.swing.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.