Gantt Project closes while saving

As in topic. I use windows 10 pro 64. I just installed v.2.8.5 to see what I can do with it.
After a while of inputting data to new project I tried to “save as”.
Unfortunately GP just closed with no comment.
I then repeated the try several times, rebooted system, cleaned registry - no effect.
Every time I try to save or save as - it closes.
Any clue?

Thx in advance for your help.

erem

Is there anything in the log file after trying to “Save As” ? The log file is named ganttproject.log and is sitting in your home folder.

Yes but I can’t interpret. Here it is (you’ll see v2.8.1 since I tried downgrade hoping that this is a clue):
GanttProject 2.8.1 Pilsen (build 2024)
Settings file:
location: C:\Users\Michal.ganttproject
size:4935
is readable: true
java.class.path: eclipsito.jar;.
java.home: C:\Program Files (x86)\Java\jre1.8.0_121
java.ext.dirs: C:\Program Files (x86)\Java\jre1.8.0_121\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.io.tmpdir: C:\Users\Michal\AppData\Local\Temp
java.runtime.version: 1.8.0_121-b13
java.vendor: Oracle Corporation
java.vm.name: Java HotSpot™ Client VM
java.vm.vendor: Oracle Corporation
java.vm.version: 25.121-b13
os.arch: x86
os.name: Windows 10
os.version: 10.0
sun.java.command: org.bardsoftware.eclipsito.Boot ganttproject-eclipsito-config.xml -log true
user.country: PL
user.dir: C:\Program Files (x86)\GanttProject-2.8
user.home: C:\Users\Michal
user.language: pl
user.timezone: Europe/Belgrade

maj 31, 2017 2:07:34 PM net.sourceforge.ganttproject.GPLogger log
INFO: Options file:C:\Users\Michal.ganttproject
maj 31, 2017 2:07:35 PM net.sourceforge.ganttproject.GPLogger log
INFO: Waiting until main window closes
maj 31, 2017 2:07:35 PM net.sourceforge.ganttproject.GPLogger log
INFO: Deleting old auto-save files
Creating main frame…

  1. loading look’n’feels
    no editor for column=0 class=interface javax.swing.Icon
    no editor for column=1 class=interface javax.swing.Icon
    no editor for column=2 class=interface javax.swing.Icon
  2. loading options
  3. creating menus…
  4. creating views…
  5. calculating size and packing…
  6. changing language …
  7. first attempt to restore bounds
    maj 31, 2017 2:07:37 PM net.sourceforge.ganttproject.GPLogger log
    INFO: Setting bounds from options: java.awt.Rectangle[x=-8,y=22,width=1696,height=1036]
  8. finalizing…
    Main frame created
    maj 31, 2017 2:07:37 PM net.sourceforge.ganttproject.GPLogger log
    INFO: Bounds after setVisible: java.awt.Rectangle[x=-8,y=22,width=1696,height=1036]
    Splash closed
    Resizing window…
    maj 31, 2017 2:07:37 PM net.sourceforge.ganttproject.GPLogger log
    INFO: Bounds after opening: java.awt.Rectangle[x=-8,y=22,width=1696,height=1036]
    maj 31, 2017 2:07:37 PM net.sourceforge.ganttproject.GPLogger log
    INFO: Setting bounds from options: java.awt.Rectangle[x=-8,y=22,width=1696,height=1036]

Just to clarify: that’s all what is written in the log after clicking “Save As”?

Can you leave GP idle for a couple of minutes, then click Save As and when it closes, send the log contents?

I started GP, created new project and 2 new tasks, then left it idle for 10 minutes.
Tried save - GP closed. Below is FULL log. Note that there are no records from starting idle time (4:21) till saving (4:35)
GanttProject 2.8.1 Pilsen (build 2024)
Settings file:
location: C:\Users\Michal.ganttproject
size:4935
is readable: true
java.class.path: eclipsito.jar;.
java.home: C:\Program Files (x86)\Java\jre1.8.0_121
java.ext.dirs: C:\Program Files (x86)\Java\jre1.8.0_121\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.io.tmpdir: C:\Users\Michal\AppData\Local\Temp
java.runtime.version: 1.8.0_121-b13
java.vendor: Oracle Corporation
java.vm.name: Java HotSpot™ Client VM
java.vm.vendor: Oracle Corporation
java.vm.version: 25.121-b13
os.arch: x86
os.name: Windows 10
os.version: 10.0
sun.java.command: org.bardsoftware.eclipsito.Boot ganttproject-eclipsito-config.xml -log true
user.country: PL
user.dir: C:\Program Files (x86)\GanttProject-2.8
user.home: C:\Users\Michal
user.language: pl
user.timezone: Europe/Belgrade

maj 31, 2017 4:21:40 PM net.sourceforge.ganttproject.GPLogger log
INFO: Options file:C:\Users\Michal.ganttproject
maj 31, 2017 4:21:41 PM net.sourceforge.ganttproject.GPLogger log
INFO: Waiting until main window closes
maj 31, 2017 4:21:41 PM net.sourceforge.ganttproject.GPLogger log
INFO: Deleting old auto-save files
Creating main frame…

  1. loading look’n’feels
    no editor for column=0 class=interface javax.swing.Icon
    no editor for column=1 class=interface javax.swing.Icon
    no editor for column=2 class=interface javax.swing.Icon
  2. loading options
  3. creating menus…
  4. creating views…
  5. calculating size and packing…
  6. changing language …
  7. first attempt to restore bounds
    maj 31, 2017 4:21:42 PM net.sourceforge.ganttproject.GPLogger log
    INFO: Setting bounds from options: java.awt.Rectangle[x=-8,y=22,width=1696,height=1036]
  8. finalizing…
    Main frame created
    maj 31, 2017 4:21:42 PM net.sourceforge.ganttproject.GPLogger log
    INFO: Bounds after setVisible: java.awt.Rectangle[x=-8,y=22,width=1696,height=1036]
    Splash closed
    Resizing window…
    maj 31, 2017 4:21:42 PM net.sourceforge.ganttproject.GPLogger log
    INFO: Bounds after opening: java.awt.Rectangle[x=-8,y=22,width=1696,height=1036]
    maj 31, 2017 4:21:42 PM net.sourceforge.ganttproject.GPLogger log
    INFO: Setting bounds from options: java.awt.Rectangle[x=-8,y=22,width=1696,height=1036]
    maj 31, 2017 4:21:50 PM org.ganttproject.impex.htmlpdf.itext.ITextEngine$2 run
    INFO: Scanning font directories…
    maj 31, 2017 4:21:50 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFO: scanning directory=C:\Program Files (x86)\Java\jre1.8.0_121/lib/fonts
    maj 31, 2017 4:21:50 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFO: scanning directory=C:/windows/fonts
    maj 31, 2017 4:21:54 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFO: scanning directory=/usr/share/fonts/truetype
    maj 31, 2017 4:21:54 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFO: directory /usr/share/fonts/truetype is not readable
    maj 31, 2017 4:21:54 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFO: scanning directory=/System/Library/Fonts
    maj 31, 2017 4:21:54 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFO: directory /System/Library/Fonts is not readable
    maj 31, 2017 4:21:54 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFO: scanning directory=/C:/Program Files (x86)/GanttProject-2.8/plugins/org.ganttproject.impex.htmlpdf/resource/fonts
    maj 31, 2017 4:21:54 PM org.ganttproject.impex.htmlpdf.itext.ITextEngine$2 run
    INFO: Scanning font directories completed

Ok, thanks. Now we know it is not because of some broken font.

Is it true that Project->Open leads to GP crash as well?

Yes. But reopening existing project (I have one saved ~6 month ago when I made first try) works.

It seems that you’re having issues with the file dialog. Before digging into this, can you try changing Appearance in the settings? Choose e.g. Plastic or Metal

I have changed Appearance from Windows to Plastic and it works now! I can Open, Save, Save As.

I will try to work on new project and let you know. Pleas give me some more background on this issue. Is it a conflict with Windows 10?

No idea. We test on Win 10 and have a lot of users working on Win 10 with no issues. Most likely it is something related to your particular system and/or particular Java Runtime version.

So I expected :frowning:
But thank you for your help, it works anyway.
Now we’re gonna test GP to see if suits our needs and if yes I will donate.

Can you explain please what is the possible reason GP closes when “Windows” or “Windows Classic” is chosen in Appearance? Could it mean that some windows mechanism is broken? If yes - where to look?

I have no idea, but if you want to dig into this issue, you may start with installing ZIP distro and running ganttproject.bat from the console window. Chances are that after crash something useful will be printed to the console.