Created a Gantt saved it but now file is corrupted


(Éric Laroche) #1

Anything I can do? GanttProject also constantly hangs and will not let me close it without a CTRL-ALT-Del + stop Java process…Tried to restart but was SOL


(Dmitry Barashev) #2

I can’t say that I understand what is “SOL” and how do you know that file is corrupted, but anyway, you can try recovering from auto-save files (see this comment for details: Sort by date is causing issues ) or just send the file to us by email.

With respect to “hangs”: it would be nice to see the project file.


(Éric Laroche) #3

SOL - shit out of luck…

I tried the autosave but it did not work…

I included the file, just in case…

CoachMentor_logistique2.gan (5.4 KB)

Thanks again


(Dmitry Barashev) #4

There are duplicated resources in the file and unfortunatly no tasks. Did you use"Import Resources" action by any chance?

File with removed resource duplicates is attached.CoachMentor_logistique2.gan (3.6 KB)


(Arturo Emilio Garcia Mendez) #5

I have near exactly the same trouble: it refueses to save the fileprogramación sax.gan (7.7 KB)
and the bug traking sistem gives the followin message
C:\Users\Gustavo\ganttproject.log

GanttProject 2.8.5 Pilsen (build 2179)
Settings file:
location: C:\Users\Gustavo.ganttproject
size:4782
is readable: true
java.class.path: eclipsito.jar;C:\Program Files (x86)\GanttProject-2.8
java.home: C:\Program Files (x86)\Java\jre1.8.0_144
java.ext.dirs: C:\Program Files (x86)\Java\jre1.8.0_144\lib\ext;C:\Windows\Sun\Java\lib\ext
java.io.tmpdir: C:\Users\Gustavo\AppData\Local\Temp
java.runtime.version: 1.8.0_144-b01
java.vendor: Oracle Corporation
java.vm.name: Java HotSpot™ Client VM
java.vm.vendor: Oracle Corporation
java.vm.version: 25.144-b01
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: 419
user.dir: C:\Program Files (x86)\GanttProject-2.8
user.home: C:\Users\Gustavo
user.language: es
user.timezone: America/Buenos_Aires

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
  8. finalizing…
    Main frame created
    Splash closed
    Resizing window…
    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
    Bounds after setVisible: java.awt.Rectangle[x=-8,y=-8,width=1378,height=780]
    oct 13, 2017 3:04:06 PM net.sourceforge.ganttproject.GPLogger log
    INFORMACIÓN: Bounds after opening: java.awt.Rectangle[x=-8,y=-8,width=1378,height=780]
    oct 13, 2017 3:04:06 PM net.sourceforge.ganttproject.GPLogger log
    INFORMACIÓN: Bounds stored in the options: java.awt.Rectangle[x=-8,y=-8,width=1378,height=780]
    oct 13, 2017 3:04:14 PM org.ganttproject.impex.htmlpdf.itext.ITextEngine$2 run
    INFORMACIÓN: Scanning font directories…
    oct 13, 2017 3:04:14 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFORMACIÓN: scanning directory=C:\Program Files (x86)\Java\jre1.8.0_144/lib/fonts
    oct 13, 2017 3:04:14 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFORMACIÓN: scanning directory=C:/windows/fonts
    oct 13, 2017 3:04:14 PM net.sourceforge.ganttproject.GPLogger logToLogger
    ADVERTENCIA: null
    java.lang.StackOverflowError
    at sun.util.calendar.BaseCalendar.getCalendarDateFromFixedDate(Unknown Source)
    at java.util.GregorianCalendar.computeFields(Unknown Source)
    at java.util.GregorianCalendar.computeFields(Unknown Source)
    at java.util.Calendar.setTimeInMillis(Unknown Source)
    at java.util.Calendar$Builder.build(Unknown Source)
    at sun.util.locale.provider.CalendarProviderImpl.getInstance(Unknown Source)
    at java.util.Calendar.createCalendar(Unknown Source)
    at java.util.Calendar.getInstance(Unknown Source)
    at biz.ganttproject.core.time.CalendarFactory.newCalendar(CalendarFactory.java:35)
    at biz.ganttproject.core.time.impl.FramerImpl.adjustRight(FramerImpl.java:33)
    at biz.ganttproject.core.calendar.GPCalendarBase.doFindClosest(GPCalendarBase.java:101)
    some 300 lines of the same…

(Dmitry Barashev) #6

I think you have some task start date somewhere far far in the future or in the past.