I cant open my GanttProject. When I want to start program I have a warning with message
Failed to launch the UI:
Width(-1) and height (0) must be non-zero.
More details in the log file: C:\Users\Windows\ganttproject.log
Please help
I cant open my GanttProject. When I want to start program I have a warning with message
Failed to launch the UI:
Width(-1) and height (0) must be non-zero.
More details in the log file: C:\Users\Windows\ganttproject.log
Please help
Please post the contents of the log file.
GanttProject 3.3.3316
Settings file:
location: C:\Users\Windows.ganttproject
size:5941
is readable: true
java.class.path: eclipsito.jar;C:\Program Files (x86)\GanttProject-3.3;C:\Program Files (x86)\GanttProject-3.3\eclipsito.jar;C:\Program Files (x86)\GanttProject-3.3\lib\slf4j-api-2.0.4.jar;C:\Program Files (x86)\GanttProject-3.3\lib\slf4j-jdk14-2.0.4.jar
java.home: C:\Program Files (x86)\GanttProject-3.3\runtime
java.ext.dirs: null
java.io.tmpdir: C:\Users\Windows\AppData\Local\Temp
java.runtime.version: 17.0.14+10-LTS
java.vendor: BellSoft
java.vm.name: OpenJDK 64-Bit Server VM
java.vm.vendor: BellSoft
java.vm.version: 17.0.14+10-LTS
os.arch: amd64
os.name: Windows 11
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: HR
user.dir: C:\Program Files (x86)\GanttProject-3.3
user.home: C:\Users\Windows
user.language: hr
user.timezone: Europe/Zagreb
[2025-02-18 14:07:45] [SEVE][App] Failure when launching application
java.lang.IllegalArgumentException: Width (-1) and height (0) must be non-zero
at java.desktop/java.awt.image.ReplicateScaleFilter.(Unknown Source)
at java.desktop/java.awt.Image.getScaledInstance(Unknown Source)
at net.sourceforge.ganttproject.gui.GanttImagePanel.(GanttImagePanel.java:29)
at net.sourceforge.ganttproject.ChartTabContentPanel.createContentComponent(ChartTabContentPanel.kt:91)
at net.sourceforge.ganttproject.GanttChartTabContentPanel.getComponent(GanttChartTabContentPanel.java:98)
at net.sourceforge.ganttproject.GanttChartTabContentPanel.getViewComponent(GanttChartTabContentPanel.java:214)
at net.sourceforge.ganttproject.gui.view.ViewHolder.setVisible(ViewHolder.java:66)
at net.sourceforge.ganttproject.gui.view.ViewManagerImpl.toggleVisible(ViewManagerImpl.java:143)
at net.sourceforge.ganttproject.GanttProject.(GanttProject.java:231)
at net.sourceforge.ganttproject.AppKt.startUiApp$lambda$0(App.kt:70)
at java.desktop/java.awt.event.InvocationEvent.dispatch(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(Unknown Source)
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)
java.lang.IllegalArgumentException: Width (-1) and height (0) must be non-zero
at java.desktop/java.awt.image.ReplicateScaleFilter.(Unknown Source)
at java.desktop/java.awt.Image.getScaledInstance(Unknown Source)
at net.sourceforge.ganttproject.gui.GanttImagePanel.(GanttImagePanel.java:29)
at net.sourceforge.ganttproject.ChartTabContentPanel.createContentComponent(ChartTabContentPanel.kt:91)
at net.sourceforge.ganttproject.GanttChartTabContentPanel.getComponent(GanttChartTabContentPanel.java:98)
at net.sourceforge.ganttproject.GanttChartTabContentPanel.getViewComponent(GanttChartTabContentPanel.java:214)
at net.sourceforge.ganttproject.gui.view.ViewHolder.setVisible(ViewHolder.java:66)
at net.sourceforge.ganttproject.gui.view.ViewManagerImpl.toggleVisible(ViewManagerImpl.java:143)
at net.sourceforge.ganttproject.GanttProject.(GanttProject.java:231)
at net.sourceforge.ganttproject.AppKt.startUiApp$lambda$0(App.kt:70)
at java.desktop/java.awt.event.InvocationEvent.dispatch(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(Unknown Source)
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)
Something is wrong with your logo file. Probably the easiest way to fix it is to remove your settings file C:\Users\Windows\.ganttproject
I can’t remove that file, I dont know why
I am almost certain that you can.