Version. 3.0 won't run on Windows 10

I downloaded the new version 3.0. But when I click to run it, nothing happens. When I open task manager, then I can see it’s indeed running. But the application itself never opens. Any idea what would cause this?

Maybe this?

I can’t find the options file “.ganttproject” I’ve turned on the option for showing hidden files in Windows Explorer. And can’t see it anyway. I assume the home director is Ganttproject-3.0 – i.e. where everything is. And not some subfolder.

image

Your home directory on Windows is something like C:\Users\<your user name here>

Ah! Thank you Well, I found the file. Deleted it. But no change. Same thing. It starts running in that I can see it in Task Manager, but the application itself doesn’t open.

Is there anything in ganttproject.log file in your home directory?

Here’s what’s in that file:

GanttProject 2.8.11 Pilsen (build 2396)
Settings file:
location: C:\Users\davie.ganttproject
size:4602
is readable: true
java.class.path: eclipsito.jar;C:\Program Files (x86)\GanttProject-2.8
java.home: C:\Program Files\Java\jre1.8.0_281
java.ext.dirs: C:\Program Files\Java\jre1.8.0_281\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.io.tmpdir: C:\Users\davie\AppData\Local\Temp
java.runtime.version: 1.8.0_281-b09
java.vendor: Oracle Corporation
java.vm.name: Java HotSpot™ 64-Bit Server VM
java.vm.vendor: Oracle Corporation
java.vm.version: 25.281-b09
os.arch: amd64
os.name: Windows 10
os.version: 10.0
sun.java.command: org.bardsoftware.eclipsito.Boot -plugins-dir plugins -app net.sourceforge.ganttproject.GanttProject -log true
user.country: GB
user.dir: C:\Program Files (x86)\GanttProject-2.8
user.home: C:\Users\davie
user.language: en
user.timezone: Europe/Helsinki

Mar 01, 2021 1:57:47 PM net.sourceforge.ganttproject.GPLogger log
INFO: Options file:C:\Users\davie.ganttproject
Mar 01, 2021 1:57:48 PM net.sourceforge.ganttproject.GPLogger log
INFO: Waiting until main window closes
Mar 01, 2021 1:57:48 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
    Mar 01, 2021 1:57:49 PM net.sourceforge.ganttproject.GPLogger log
    INFO: Bounds stored in the options: java.awt.Rectangle[x=-11,y=-11,width=1300,height=740]
  8. finalizing…
    Main frame created
    Mar 01, 2021 1:57:49 PM net.sourceforge.ganttproject.GPLogger log
    INFO: Bounds after setVisible: java.awt.Rectangle[x=-11,y=-11,width=1300,height=740]
    Splash closed
    Resizing window…
    Mar 01, 2021 1:57:49 PM net.sourceforge.ganttproject.GPLogger log
    INFO: Bounds after opening: java.awt.Rectangle[x=-11,y=-11,width=1300,height=740]
    Mar 01, 2021 1:57:49 PM net.sourceforge.ganttproject.GPLogger log
    INFO: Bounds stored in the options: java.awt.Rectangle[x=-11,y=-11,width=1300,height=740]
    Mar 01, 2021 1:57:56 PM org.ganttproject.impex.htmlpdf.itext.ITextEngine$2 run
    INFO: Scanning font directories…
    Mar 01, 2021 1:57:56 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFO: scanning directory=C:\Program Files\Java\jre1.8.0_281/lib/fonts
    Mar 01, 2021 1:57:57 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFO: scanning directory=C:/windows/fonts
    Mar 01, 2021 1:57:59 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFO: scanning directory=/usr/share/fonts/truetype
    Mar 01, 2021 1:57:59 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFO: directory /usr/share/fonts/truetype is not readable
    Mar 01, 2021 1:57:59 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFO: scanning directory=/System/Library/Fonts
    Mar 01, 2021 1:57:59 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFO: directory /System/Library/Fonts is not readable
    Mar 01, 2021 1:57:59 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
    INFO: scanning directory=/C:/Program Files (x86)/GanttProject-2.8/plugins/2.8.11/org.ganttproject.impex.htmlpdf/resource/fonts
    Mar 01, 2021 1:57:59 PM org.ganttproject.impex.htmlpdf.itext.ITextEngine$2 run
    INFO: Scanning font directories completed
    Mar 01, 2021 1:59:18 PM net.sourceforge.ganttproject.GPLogger log
    INFO: [GanttOptions] save(): finished!!
    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
    Mar 01, 2021 1:59:20 PM net.sourceforge.ganttproject.GPLogger log
    INFO: Main window has closed
    Mar 01, 2021 1:59:20 PM net.sourceforge.ganttproject.GPLogger log
    INFO: Program terminated

Apparently, it was produced by GP 2.8.11 which is not that useful.

Can you run ganttproject.bat file from the command line terminal and post what is printed to the output? You need to run it from GanttProject 3.0 installation directory.

I cant migrate from 2.8 to version 3 either. I deleted .ganttproject in the user folder as the presence of the file caused version 3.004 to stall in the splash screen. However, the software launches but cannot save any project or import and save any documents. the attempt to create a new project calls the follwing error.

C:\Users\Hans-Dieter Zucht\ganttproject.log

GanttProject 3.0.3004
Settings file:
location: C:\Users\Hans-Dieter Zucht.ganttproject
size:0
is readable: false
java.class.path: eclipsito.jar;C:\Program Files (x86)\GanttProject-3.03\GanttProject-3.0
java.home: C:\Program Files (x86)\GanttProject-3.03\GanttProject-3.0\runtime
java.ext.dirs: null
java.io.tmpdir: C:\Users\HANS-D~1\AppData\Local\Temp
java.runtime.version: 11.0.9.1+1-LTS
java.vendor: BellSoft
java.vm.name: OpenJDK 64-Bit Server VM
java.vm.vendor: BellSoft
java.vm.version: 11.0.9.1+1-LTS
os.arch: amd64
os.name: Windows 10
os.version: 10.0
sun.java.command: com.bardsoftware.eclipsito.Launch --verbosity 1 --version-dirs plugins;~/.ganttproject.d/updates --app net.sourceforge.ganttproject.GanttProject
user.country: DE
user.dir: C:\Program Files (x86)\GanttProject-3.03\GanttProject-3.0
user.home: C:\Users\Hans-Dieter Zucht
user.language: de
user.timezone: Europe/Berlin

März 15, 2021 10:42:11 VORM. biz.ganttproject.LoggerImpl debug
FEIN: Creating main frame…
März 15, 2021 10:42:11 VORM. biz.ganttproject.LoggerImpl debug
FEIN: 1. loading look’n’feels
März 15, 2021 10:42:11 VORM. biz.ganttproject.LoggerImpl debug
FEIN: 2. loading options
März 15, 2021 10:42:11 VORM. biz.ganttproject.LoggerImpl debug
FEIN: 3. creating menus…
März 15, 2021 10:42:11 VORM. biz.ganttproject.LoggerImpl debug
FEIN: 4. creating views…
März 15, 2021 10:42:11 VORM. biz.ganttproject.LoggerImpl debug
FEIN: 5. calculating size and packing…
März 15, 2021 10:42:11 VORM. biz.ganttproject.LoggerImpl debug
FEIN: 6. changing language …
März 15, 2021 10:42:11 VORM. biz.ganttproject.LoggerImpl debug
FEIN: 7. first attempt to restore bounds
März 15, 2021 10:42:11 VORM. biz.ganttproject.LoggerImpl debug
FEIN: 8. finalizing…
März 15, 2021 10:47:17 VORM. net.sourceforge.ganttproject.GPLogger logToLogger
WARNUNG: INSTANCE
java.lang.NoSuchFieldError: INSTANCE
at net.sourceforge.ganttproject.util.ColorConvertion.determineColor(ColorConvertion.java:34)
at net.sourceforge.ganttproject.parser.HolidayTagHandler.loadHoliday(HolidayTagHandler.java:141)
at net.sourceforge.ganttproject.parser.HolidayTagHandler.endElement(HolidayTagHandler.java:96)
at net.sourceforge.ganttproject.io.XmlParser.endElement(XmlParser.java:82)
at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at java.xml/javax.xml.parsers.SAXParser.parse(Unknown Source)
at net.sourceforge.ganttproject.io.XmlParser.parse(XmlParser.java:119)
at net.sourceforge.ganttproject.calendar.GPCalendarProvider.readCalendar(GPCalendarProvider.java:82)
at net.sourceforge.ganttproject.calendar.HolidayCalendarKt.loadCalendars(HolidayCalendar.kt:56)
at net.sourceforge.ganttproject.calendar.GPCalendarProvider.readCalendars(GPCalendarProvider.java:91)
at net.sourceforge.ganttproject.calendar.GPCalendarProvider.getInstance(GPCalendarProvider.java:96)
at net.sourceforge.ganttproject.gui.projectwizard.WeekendConfigurationPage.createCalendarOption(WeekendConfigurationPage.java:196)
at net.sourceforge.ganttproject.gui.projectwizard.WeekendConfigurationPage.(WeekendConfigurationPage.java:139)
at net.sourceforge.ganttproject.gui.projectwizard.NewProjectWizardWindow.addWeekendConfigurationPage(NewProjectWizardWindow.java:52)
at net.sourceforge.ganttproject.gui.projectwizard.NewProjectWizard.createNewProject(NewProjectWizard.java:33)
at net.sourceforge.ganttproject.gui.ProjectUIFacadeImpl.showNewProjectWizard(ProjectUIFacadeImpl.kt:266)
at net.sourceforge.ganttproject.gui.ProjectUIFacadeImpl.createProject(ProjectUIFacadeImpl.kt:261)
at net.sourceforge.ganttproject.GanttProject.newProject(GanttProject.java:703)
at net.sourceforge.ganttproject.action.project.NewProjectAction.actionPerformed(NewProjectAction.java:44)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.desktop/java.awt.Component.processEvent(Unknown Source)
at java.desktop/java.awt.Container.processEvent(Unknown Source)
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

1 Like

I have removed any found instance and files from former versions and reinstalled newest GP 3.0 on my Win10 and it dont start up either for me. Can anybody
help me
Could it be an error in Java 8 build/version 301?

After I have

  1. Uninstalled Gantproject.
  2. Removed any GanttProjectfile and folders from my personal user-folder at C:\USER…
  3. In registry search for GanttProject and deleted all i coud find
  4. Reinstaled GanttProject 3100
  5. Updated to GanttProject 3102

It seems to work for me :slight_smile: