Error message Type.on="60"

Hi,

Just got an error message as below:

  No enum constant 
  biz.ganttproject.core.calendar.CalendarEvent.Type.on="60"

Files not accessible anymore.

Could you help me?

Thanks

Please share the project file.

Hi,

Herebelow the tracking file. Is it what you need?

Rgds,

C:\Users\10093802\ganttproject.log

GanttProject 2.8.5 Pilsen (build 2179)
Settings file:
location: C:\Users\10093802.ganttproject
size:5141
is readable: true
java.class.path: eclipsito.jar;C:\Program Files\GanttProject-2.8
java.home: C:\Program Files\Java\jre1.8.0_144
java.ext.dirs: C:\Program Files\Java\jre1.8.0_144\lib\ext;C:\Windows\Sun\Java\lib\ext
java.io.tmpdir: C:\Users\10093802\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 7
os.version: 6.1
sun.java.command: org.bardsoftware.eclipsito.Boot ganttproject-eclipsito-config.xml -log true
user.country: FR
user.dir: C:\Program Files\GanttProject-2.8
user.home: C:\Users\10093802
user.language: fr
user.timezone: Europe/Paris

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
    fter setVisible: java.awt.Rectangle[x=-8,y=-8,width=1378,height=744]
    nov. 22, 2017 11:55:43 AM net.sourceforge.ganttproject.GPLogger log
    INFOS: Starting RSS check…
    nov. 22, 2017 11:55:44 AM net.sourceforge.ganttproject.GPLogger log
    INFOS: Bounds after opening: java.awt.Rectangle[x=-8,y=-8,width=1378,height=744]
    nov. 22, 2017 11:55:44 AM net.sourceforge.ganttproject.GPLogger log
    INFOS: Bounds stored in the options: java.awt.Rectangle[x=-8,y=-8,width=1378,height=744]
    nov. 22, 2017 11:55:46 AM org.ganttproject.impex.htmlpdf.itext.ITextEngine$2 run
    INFOS: Scanning font directories…
    nov. 22, 2017 11:55:46 AM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFOS: scanning directory=C:\Program Files\Java\jre1.8.0_144/lib/fonts
    nov. 22, 2017 11:55:46 AM net.sourceforge.ganttproject.GPLogger log
    INFOS: RSS check finished
    nov. 22, 2017 11:55:47 AM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFOS: scanning directory=C:/windows/fonts
    nov. 22, 2017 11:56:03 AM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFOS: scanning directory=/usr/share/fonts/truetype
    nov. 22, 2017 11:56:03 AM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFOS: directory /usr/share/fonts/truetype is not readable
    nov. 22, 2017 11:56:03 AM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFOS: scanning directory=/System/Library/Fonts
    nov. 22, 2017 11:56:03 AM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFOS: directory /System/Library/Fonts is not readable
    nov. 22, 2017 11:56:03 AM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFOS: scanning directory=/C:/Program Files/GanttProject-2.8/plugins-2.8.5/org.ganttproject.impex.htmlpdf/resource/fonts
    nov. 22, 2017 11:56:03 AM org.ganttproject.impex.htmlpdf.itext.ITextEngine$2 run
    INFOS: Scanning font directories completed
    nov. 22, 2017 11:57:24 AM net.sourceforge.ganttproject.GPLogger logToLogger
    AVERTISSEMENT: No enum constant biz.ganttproject.core.calendar.CalendarEvent.Type.on="60"
    java.lang.IllegalArgumentException: No enum constant biz.ganttproject.core.calendar.CalendarEvent.Type.on="60"
    at java.lang.Enum.valueOf(Unknown Source)
    at biz.ganttproject.core.calendar.CalendarEvent$Type.valueOf(CalendarEvent.java:39)
    at net.sourceforge.ganttproject.parser.HolidayTagHandler.loadHoliday(HolidayTagHandler.java:117)
    at net.sourceforge.ganttproject.parser.HolidayTagHandler.endElement(HolidayTagHandler.java:71)
    at net.sourceforge.ganttproject.io.XmlParser.endElement(XmlParser.java:88)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at net.sourceforge.ganttproject.io.XmlParser.parse(XmlParser.java:110)
    at net.sourceforge.ganttproject.io.GanttXMLOpen.doLoad(GanttXMLOpen.java:102)
    at net.sourceforge.ganttproject.io.GanttXMLOpen.load(GanttXMLOpen.java:96)
    at net.sourceforge.ganttproject.document.ProxyDocument$ParsingState.enter(ProxyDocument.java:360)
    at net.sourceforge.ganttproject.document.ProxyDocument.read(ProxyDocument.java:178)
    at net.sourceforge.ganttproject.GanttProject.open(GanttProject.java:687)
    at net.sourceforge.ganttproject.gui.ProjectOpenStrategy.openFileAsIs(ProjectOpenStrategy.java:119)
    at net.sourceforge.ganttproject.gui.ProjectUIFacadeImpl.openProject(ProjectUIFacadeImpl.java:248)
    at net.sourceforge.ganttproject.gui.ProjectUIFacadeImpl.openProject(ProjectUIFacadeImpl.java:238)
    at net.sourceforge.ganttproject.action.project.OpenProjectAction.actionPerformed(OpenProjectAction.java:58)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(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.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.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(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)

nov. 22, 2017 11:57:24 AM net.sourceforge.ganttproject.GPLogger logToLogger
AVERTISSEMENT: Can’t open document net.sourceforge.ganttproject.document.ProxyDocument@c8a932
net.sourceforge.ganttproject.document.Document$DocumentException: Can’t open document net.sourceforge.ganttproject.document.ProxyDocument@c8a932
at net.sourceforge.ganttproject.gui.ProjectUIFacadeImpl.openProject(ProjectUIFacadeImpl.java:253)
at net.sourceforge.ganttproject.gui.ProjectUIFacadeImpl.openProject(ProjectUIFacadeImpl.java:238)
at net.sourceforge.ganttproject.action.project.OpenProjectAction.actionPerformed(OpenProjectAction.java:58)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(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.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.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(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)
Caused by: java.io.IOException: No enum constant biz.ganttproject.core.calendar.CalendarEvent.Type.on="60"
at net.sourceforge.ganttproject.io.XmlParser.parse(XmlParser.java:125)
at net.sourceforge.ganttproject.io.GanttXMLOpen.doLoad(GanttXMLOpen.java:102)
at net.sourceforge.ganttproject.io.GanttXMLOpen.load(GanttXMLOpen.java:96)
at net.sourceforge.ganttproject.document.ProxyDocument$ParsingState.enter(ProxyDocument.java:360)
at net.sourceforge.ganttproject.document.ProxyDocument.read(ProxyDocument.java:178)
at net.sourceforge.ganttproject.GanttProject.open(GanttProject.java:687)
at net.sourceforge.ganttproject.gui.ProjectOpenStrategy.openFileAsIs(ProjectOpenStrategy.java:119)
at net.sourceforge.ganttproject.gui.ProjectUIFacadeImpl.openProject(ProjectUIFacadeImpl.java:248)
… 39 more

Thanks, but I need the project file (with .gan extension), provided that you want to get it fixed.