Closed GoogleCodeExporter closed 9 years ago
Is there anything in the log? It must be in ~/.ganttproject.log or in
~/.GanttProject/ganttproject-<timestamp>.log
Original comment by dbarashev
on 5 May 2011 at 10:31
Here is the logfile, i don't see anything specifically related to closing, some
other errors though.
Original comment by hcder...@gmail.com
on 5 May 2011 at 10:44
Attachments:
Thanks! May I also ask you to try Sun's (well, Oracle's) JRE (not Open JDK) ?
Original comment by dbarashev
on 5 May 2011 at 2:54
Unfortunately the same result with this configuration (although i must add i
didn't remove the openJDK, i just exported the JAVA_HOME and JAVA_COMMAND vars
to the other locations), this is the output of JAVA_COMMAND -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
Original comment by hcder...@gmail.com
on 5 May 2011 at 3:11
What window manager are you using? Is it possible that you modified a project
and your window manager hid a confirmation dialog from you?
Original comment by dbarashev
on 5 May 2011 at 8:39
I am using GNOME (2) and GDM, and i've just tried, but no dialog is shown.
Actually the only way to end it is by running top and killing the java proces
(which is quite a task since i run quite a lot of java stuff, like eclipse).
Original comment by hcder...@gmail.com
on 5 May 2011 at 8:46
Strange. I am using similar setup and it works fine. As far as I know, Maarten
also uses Linux and he didn't report such problems.
Since you're using Eclipse, you must be familiar with Java programming. Do you
mind debugging?
Original comment by dbarashev
on 5 May 2011 at 9:05
Sure, no problem, i'll try and free up some time this weekend (this started out
like a simple bugreport, hmm! :-)) no promises however!
Original comment by hcder...@gmail.com
on 5 May 2011 at 9:13
Thanks, and sorry for the troubles. Checkout/build/run instructions are here:
http://code.google.com/p/ganttproject/wiki/GP20ForDevelopers
For debugging, you'll probably want to start from GanttProject.quitApplication
method, it is called directly from Swing action
Original comment by dbarashev
on 5 May 2011 at 9:22
Thanks for the pointers, i'll see what i can do!
Hey, i like your project and use it quite a lot, might as wel give something
back!
Original comment by hcder...@gmail.com
on 5 May 2011 at 9:28
Currently checked out (or cloned) code from the repository works fine.
I did have a look at the quitapplication method, as it calls System.exit(0)
when a project is saved (and as far as i can see following the checked route),
it should simply work.
I think this issue can be considered closed.
Original comment by hcder...@gmail.com
on 7 May 2011 at 11:55
Why it doesn't work on your system then?
Original comment by dbarashev
on 7 May 2011 at 5:38
I really dont know, i've tested it with the current sources and both openJDK
and Oracles' vm didnt give any trouble when ran as Eclipse Application.
I followed the checks that are done before calling System.exit(0), mainly a
check if the current project has a flag "saved" set, and they all seem logical
and seem to work.
Original comment by hcder...@gmail.com
on 9 May 2011 at 8:32
If it helps any, I have the exact same issue on Windows 7 x64 (running JRE
6.0.19 (64-bit) & 6.0.26 (32-bit)) and Windows XP (6.0.17).
Same "Premature end of file." error when the main window opens. Similar log
file attached.
Also, the Recent Projects submenu doesn't open.
Original comment by pkut...@gmail.com
on 18 Jun 2011 at 3:09
Attachments:
When you say "the exact same", do you mean that "Quit is not working" ?
With respect to that "premature end of file" error, please check that
~/.ganttproject file exists and has meaning content. You may as well try
deleting it.
Original comment by dbarashev
on 18 Jun 2011 at 11:48
Original comment by dbarashev
on 6 Sep 2011 at 11:27
Original issue reported on code.google.com by
hcder...@gmail.com
on 5 May 2011 at 7:21