Crash after Splashscreen


#1

GanttProject 2.8.10 Pilsen (build 2363)
Settings file:
location: C:\Users\johannes.wyss.SMR.ganttproject
size:4738
is readable: true
java.class.path: ;.\eclipsito.jar;.
java.home: C:\Program Files\Java\jre1.8.0_201
java.ext.dirs: C:\Program Files\Java\jre1.8.0_201\lib\ext;C:\Windows\Sun\Java\lib\ext
java.io.tmpdir: C:\Users\JOHANN~1.SMR\AppData\Local\Temp
java.runtime.version: 1.8.0_201-b09
java.vendor: Oracle Corporation
java.vm.name: Java HotSpot™ Client VM
java.vm.vendor: Oracle Corporation
java.vm.version: 25.201-b09
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: CH
user.dir: C:\Program Files\GanttProject-2.8
user.home: C:\Users\johannes.wyss.SMR
user.language: de
user.timezone: Europe/Berlin

Apr 05, 2019 2:12:11 PM net.sourceforge.ganttproject.GPLogger log
INFORMATION: Options file:C:\Users\johannes.wyss.SMR.ganttproject
Apr 05, 2019 2:12:12 PM net.sourceforge.ganttproject.GPLogger log
INFORMATION: Waiting until main window closes
Apr 05, 2019 2:12:12 PM net.sourceforge.ganttproject.GPLogger log
INFORMATION: 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…
    Apr 05, 2019 2:12:14 PM net.sourceforge.ganttproject.GPLogger logToLogger
    WARNUNG: Can’t create an ImageInputStream!
    javax.imageio.IIOException: Can’t create an ImageInputStream!
    at javax.imageio.ImageIO.read(Unknown Source)
    at net.sourceforge.ganttproject.UIFacadeImpl.getLogo(UIFacadeImpl.java:684)
    at net.sourceforge.ganttproject.ChartTabContentPanel.createContentComponent(ChartTabContentPanel.java:77)
    at net.sourceforge.ganttproject.GanttChartTabContentPanel.getComponent(GanttChartTabContentPanel.java:78)
    at net.sourceforge.ganttproject.GanttChartTabContentPanel.getViewComponent(GanttChartTabContentPanel.java:127)
    at net.sourceforge.ganttproject.gui.view.ViewHolder.setVisible(ViewHolder.java:66)
    at net.sourceforge.ganttproject.gui.view.ViewManagerImpl.toggleVisible(ViewManagerImpl.java:147)
    at net.sourceforge.ganttproject.GanttProject.(GanttProject.java:350)
    at net.sourceforge.ganttproject.GanttProject$15.run(GanttProject.java:1021)
    at java.awt.event.InvocationEvent.dispatch(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.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)

java.lang.IllegalArgumentException: Width (-1) and height (0) must be non-zero
at java.awt.image.ReplicateScaleFilter.(Unknown Source)
at java.awt.Image.getScaledInstance(Unknown Source)
at net.sourceforge.ganttproject.gui.GanttImagePanel.(GanttImagePanel.java:29)
at net.sourceforge.ganttproject.ChartTabContentPanel.createContentComponent(ChartTabContentPanel.java:77)
at net.sourceforge.ganttproject.GanttChartTabContentPanel.getComponent(GanttChartTabContentPanel.java:78)
at net.sourceforge.ganttproject.GanttChartTabContentPanel.getViewComponent(GanttChartTabContentPanel.java:127)
at net.sourceforge.ganttproject.gui.view.ViewHolder.setVisible(ViewHolder.java:66)
at net.sourceforge.ganttproject.gui.view.ViewManagerImpl.toggleVisible(ViewManagerImpl.java:147)
at net.sourceforge.ganttproject.GanttProject.(GanttProject.java:350)
at net.sourceforge.ganttproject.GanttProject$15.run(GanttProject.java:1021)
at java.awt.event.InvocationEvent.dispatch(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.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)
Splash closed
Apr 05, 2019 2:12:21 PM org.ganttproject.impex.htmlpdf.itext.ITextEngine$2 run
INFORMATION: Scanning font directories…
Apr 05, 2019 2:12:21 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
INFORMATION: scanning directory=C:\Program Files\Java\jre1.8.0_201/lib/fonts
Apr 05, 2019 2:12:22 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
INFORMATION: scanning directory=C:/windows/fonts
Apr 05, 2019 2:12:43 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
INFORMATION: scanning directory=/usr/share/fonts/truetype
Apr 05, 2019 2:12:43 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
INFORMATION: directory /usr/share/fonts/truetype is not readable
Apr 05, 2019 2:12:43 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
INFORMATION: scanning directory=/System/Library/Fonts
Apr 05, 2019 2:12:43 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
INFORMATION: directory /System/Library/Fonts is not readable
Apr 05, 2019 2:12:43 PM org.ganttproject.impex.htmlpdf.fonts.TTFontCache registerDirectory
INFORMATION: scanning directory=/C:/Program Files/GanttProject-2.8/plugins-2.8.10/org.ganttproject.impex.htmlpdf/resource/fonts
Apr 05, 2019 2:12:43 PM org.ganttproject.impex.htmlpdf.itext.ITextEngine$2 run
INFORMATION: Scanning font directories completed

Tried with removing fonts, same result

       <dir name="C:/windows/fonts" absolute="true"/>
       <dir name="/usr/share/fonts/truetype" absolute="true"/>
       <dir name="/System/Library/Fonts" absolute="true"/>

(Dmitry Barashev) #2

It seems that you selected a broken (or just missing) logo file.
You need to find this option in .ganttproject file in your home directory and remove that line:

    <option id="ui2.ui.logo" value="... some path to file here ..."/>

Or just remove .ganttproject file (unless you have lots of changed settings)