Menu

#454 Save does not work

scheduled_for_2.0
closed
nobody
Other (59)
5
2012-07-18
2005-12-13
lcharles
No

I've downloaded version 2.0pre2.

The Save/Save as dialog seems to work, but the file is
actually not saved. The modifications are not retrieved
when loading the file again.

Attached is a file that show the problem. Try to modify
the name of the first task, save, quit, and reload.

Discussion

  • lcharles

    lcharles - 2005-12-13

    File that show the problem

     
  • Dmitry Barashev

    Dmitry Barashev - 2005-12-13

    Logged In: YES
    user_id=162766

    I downloaded the project, opened it in GP 2.0-pre2, changed
    the name of the first task (appended "1" to the end), saved,
    quit. Changes were written to file.

     
  • lcharles

    lcharles - 2005-12-13

    Logged In: YES
    user_id=1157497

    I've just retried. Same behaviour.
    I've also tried with a new project: I start ganttproject. I
    request "New", enter meta-data, save and quit. It seems ok.
    I restart ganttproject, load the file, add a task, save,
    quit. No modification of the file.

    Is there any mean to see what's going on? A trace/debug mode?

    A dependency to the system, the jvm, environment variables?
    I'm using RHEL 3.0, with "Java(TM) 2 Runtime Environment,
    Standard Edition (build 1.4.2_05-b04)"

     
  • Dmitry Barashev

    Dmitry Barashev - 2005-12-13

    Logged In: YES
    user_id=162766

    How do you save your project after adding a task (there are
    many ways)? Menu item "File->Save", toolbar button, menu
    item "File->Save As", menu item "File->Quit"+answer "yes" in
    the dialog, etc.?

    Do you see any exceptions in console?

    There is no debug mode. If you are a developer and you are
    able to debug GP in Eclipse, it may help.

     
  • lcharles

    lcharles - 2005-12-13

    Logged In: YES
    user_id=1157497

    I've tried "Save" then "Quit" and "Quit" + "Yes". Idem

    There is no information in the console other than the
    following (save + quit)

    Dec 13, 2005 1:56:18 PM
    org.bardsoftware.impl.eclipsito.BootImpl run
    INFO: Eclipsito platform is running.
    [GanttOptions] save(): finished!!
    Dec 13, 2005 1:56:26 PM
    org.bardsoftware.impl.eclipsito.BootImpl shutdown
    INFO: Eclipsito platform is shut down.

    Unfortunatelly, I'm not a developer, I could not help more
    than saying what I see on my screen.

    If it usually works, I do suspect a system dependency.
    Any hint with my config?

     
  • Axel Krueger

    Axel Krueger - 2006-01-19

    Logged In: YES
    user_id=280427

    Same here, either the Project/save, SAve as and the
    disc-symbol do not save the file.

    GanttProject running within Windows XP Pro SP 2.

    If you need further information pls. let me know

     
  • lcharles

    lcharles - 2006-01-20

    Logged In: YES
    user_id=1157497

    I've tested with pre3... It works!
    I have no idea why...
    For me, the bug can be closed.

     
  • franciscofg

    franciscofg - 2006-01-24

    Logged In: YES
    user_id=1435034

    I've got the same problem with another file in pre3.
    Gantt crashed when I zoomed out, but I could save using
    CRTL+S before killing the process.
    After that, I could not save any modifications except when I
    use File->Save as.

     
  • Jörg Zieren

    Jörg Zieren - 2006-01-26

    Logged In: YES
    user_id=587869

    Same problem here (Version 2.0RC3, XP SP2, Java 1.5.0). I used "File->Save as...". The asterisk remains in the window title bar, the filename does not appear. When I then choose "File->Save", the filename appears and the asterisk vanishes, but loading the file fails.

     
  • Dmitry Barashev

    Dmitry Barashev - 2006-01-26

    Logged In: YES
    user_id=162766

    Again and again, question to all who face this problem: IS
    THERE ANYTHING IN CONSOLE when you SAVE your file? If your
    problem is 100% reproducible, could you send me the file
    which, being saved in GP, shows the problem?

     
  • Jörg Zieren

    Jörg Zieren - 2006-01-26

    Logged In: YES
    user_id=587869

    The problem seems not to be easily reproducible for me. I
    was unable to create a faulty .gan file (even though I
    managed on the first try last time...), but by adding
    "2>err.out" to the javaw call in the batch file I got the
    below NPE upon save. I don't see how this might be related
    to data corruption (and maybe it isn't), but at least it's
    something from System.err :-)

    26.01.2006 15:15:51 org.bardsoftware.impl.eclipsito.BootImpl run
    INFO: Eclipsito platform is running.
    26.01.2006 15:16:14
    org.bardsoftware.impl.eclipsito.BootImpl$1 uncaughtException
    WARNING: [uncaughtException]java.lang.NullPointerException
    java.lang.NullPointerException
    at javax.swing.ToolTipManager.initiateToolTip(Unknown Source)
    at javax.swing.ToolTipManager.mouseEntered(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseEntered(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseEntered(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseEntered(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at
    java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
    Source)
    at
    java.awt.LightweightDispatcher.trackMouseEnterExit(Unknown
    Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown
    Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
    Source)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
    Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    26.01.2006 15:16:15
    org.bardsoftware.impl.eclipsito.BootImpl$1 uncaughtException
    WARNING: [uncaughtException]java.lang.NullPointerException
    java.lang.NullPointerException
    at javax.swing.ToolTipManager.initiateToolTip(Unknown Source)
    at javax.swing.ToolTipManager.mouseEntered(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseEntered(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseEntered(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseEntered(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at
    java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
    Source)
    at
    java.awt.LightweightDispatcher.trackMouseEnterExit(Unknown
    Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown
    Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
    Source)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
    Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    [GanttOptions] save(): finished!!
    26.01.2006 15:17:34 org.bardsoftware.impl.eclipsito.BootImpl
    shutdown
    INFO: Eclipsito platform is shut down.

     
  • franciscofg

    franciscofg - 2006-01-31

    Logged In: YES
    user_id=1435034

    This problem seems to be solved in Release Candidate I.
    Thanks.