Hi,
Export jpg/png or html failed and export pdf contains no gantt chart.
When exporting to jpg/png, I got this message: Export failure. Failed subtask: Export project Width (0) and height (1675) must be > 0
Logs:
D:\Users\aqbiw\ganttproject.log
GanttProject 3.2.3247
Settings file:
location: D:\Users\aqbiw.ganttproject
size:16162
is readable: true
java.class.path: eclipsito.jar;C:\Program Files (x86)\GanttProject-3.1
java.home: C:\Program Files (x86)\GanttProject-3.1\runtime
java.ext.dirs: null
java.io.tmpdir: D:\Users\aqbiw\AppData\Local\Temp
java.runtime.version: 11.0.11+9-LTS
java.vendor: BellSoft
java.vm.name: OpenJDK 64-Bit Server VM
java.vm.vendor: BellSoft
java.vm.version: 11.0.11+9-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 D:\Users\aqbiw\OneDrive - Agfa Gevaert\Projects\2023\15_LU_ESCH-SUR-ALZETTE_0030069659_HYGIE_E.I. 8.2.1_Gantt_Projects_0030069659_V6.gan
user.country: BE
user.dir: C:\Program Files (x86)\GanttProject-3.1
user.home: D:\Users\aqbiw
user.language: fr
user.timezone: Europe/Paris
avr. 07, 2023 10:54:35 AM biz.ganttproject.LoggerImpl debug
PRÉCIS: Creating main frame…
avr. 07, 2023 10:54:35 AM biz.ganttproject.LoggerImpl debug
PRÉCIS: 1. loading look’n’feels
avr. 07, 2023 10:54:35 AM biz.ganttproject.LoggerImpl debug
PRÉCIS: 2. loading options
avr. 07, 2023 10:54:36 AM biz.ganttproject.LoggerImpl debug
PRÉCIS: 3. creating menus…
avr. 07, 2023 10:54:36 AM biz.ganttproject.LoggerImpl debug
PRÉCIS: 4. creating views…
avr. 07, 2023 10:54:36 AM biz.ganttproject.LoggerImpl debug
PRÉCIS: 5. calculating size and packing…
avr. 07, 2023 10:54:36 AM biz.ganttproject.LoggerImpl debug
PRÉCIS: 6. changing language …
avr. 07, 2023 10:54:36 AM biz.ganttproject.LoggerImpl debug
PRÉCIS: 7. first attempt to restore bounds
avr. 07, 2023 10:54:36 AM biz.ganttproject.LoggerImpl debug
PRÉCIS: 8. finalizing…
avr. 07, 2023 10:54:37 AM net.sourceforge.ganttproject.GPLogger log
INFOS: Deleting old auto-save files
avr. 07, 2023 10:54:38 AM biz.ganttproject.LoggerImpl error
GRAVE: Failed to fetch updates from https://www.ganttproject.biz/dl/updates/ganttproject-3.0.json
java.util.concurrent.CompletionException: java.lang.NoSuchMethodError: ‘void com.bardsoftware.eclipsito.update.UpdateMetadata.(java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, boolean)’
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.postComplete(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.postFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: ‘void com.bardsoftware.eclipsito.update.UpdateMetadata.(java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, boolean)’
at biz.ganttproject.platform.UpdateKt.showUpdateDialog(Update.kt:80)
at biz.ganttproject.platform.UpdateKt.checkAvailableUpdates$lambda-0(Update.kt:66)
… 10 more
avr. 07, 2023 10:54:58 AM org.ganttproject.impex.htmlpdf.itext.ITextEngine registerFontDirectories
AVERTISSEMENT: Failed to find directory fonts in plugin org.ganttproject.impex.htmlpdf
scheduling [email protected] group=net.[email protected]645d02f1
scheduling [email protected]
avr. 07, 2023 10:55:04 AM net.sourceforge.ganttproject.GPLogger log
INFOS: [ProgressMonitorImpl] begin Task: name=Running export
avr. 07, 2023 10:55:04 AM net.sourceforge.ganttproject.GPLogger log
INFOS: [ProgressMonitorImpl] begin subTask: name=Generating PDF
avr. 07, 2023 10:55:04 AM net.sourceforge.ganttproject.GPLogger log
INFOS: [ProgressMonitorImpl] finished subTask
avr. 07, 2023 10:55:04 AM net.sourceforge.ganttproject.GPLogger log
INFOS: [ProgressMonitorImpl] begin subTask: name=Finalizing
avr. 07, 2023 10:55:04 AM net.sourceforge.ganttproject.GPLogger log
INFOS: [ProgressMonitorImpl] finished subTask
avr. 07, 2023 10:55:04 AM net.sourceforge.ganttproject.GPLogger log
INFOS: [ProgressMonitorImpl] finished Task
scheduling [email protected] group=net.[email protected]645d02f1
scheduling [email protected]
avr. 07, 2023 10:55:27 AM net.sourceforge.ganttproject.GPLogger log
INFOS: [ProgressMonitorImpl] begin Task: name=Running export
avr. 07, 2023 10:55:27 AM net.sourceforge.ganttproject.GPLogger log
INFOS: [ProgressMonitorImpl] begin subTask: name=Export project
avr. 07, 2023 10:55:27 AM net.sourceforge.ganttproject.GPLogger logToLogger
AVERTISSEMENT: Export failure. Failed subtask: Export project
java.lang.RuntimeException: Export failure. Failed subtask: Export project
at net.sourceforge.ganttproject.export.ExporterBase$2.run(ExporterBase.java:182)
at org.bardsoftware.impl.eclipsito.JobManagerImpl$GroupWorker.run(JobManagerImpl.java:163)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Width (0) and height (1675) must be > 0
at java.desktop/java.awt.image.SampleModel.(Unknown Source)
at java.desktop/java.awt.image.SinglePixelPackedSampleModel.(Unknown Source)
at java.desktop/java.awt.image.SinglePixelPackedSampleModel.(Unknown Source)
at java.desktop/java.awt.image.PackedColorModel.createCompatibleSampleModel(Unknown Source)
at net.sourceforge.ganttproject.chart.export.RenderedChartImage.(RenderedChartImage.java:49)
at net.sourceforge.ganttproject.chart.ChartRasterImageBuilder.acceptChart(PrintChartApiImpl.kt:103)
at net.sourceforge.ganttproject.chart.export.ChartImageBuilder.buildImage(ChartImageBuilder.kt:56)
at net.sourceforge.ganttproject.chart.PrintChartApiImpl.buildImage(PrintChartApiImpl.kt:55)
at net.sourceforge.ganttproject.chart.PrintChartApiImpl.exportChart(PrintChartApiImpl.kt:49)
at net.sourceforge.ganttproject.export.ExporterToImage$1.run(ExporterToImage.java:163)
at net.sourceforge.ganttproject.export.ExporterBase$2.run(ExporterBase.java:180)
… 2 more
!!! canceling family=Export job family
cleaning jobs…
.impl.eclipsito.JobManagerImpl$GroupWorker.run(JobManagerImpl.java:163)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Width (0) and height (1675) must be > 0
at java.desktop/java.awt.image.SampleModel.(Unknown Source)
at java.desktop/java.awt.image.SinglePixelPackedSampleModel.(Unknown Source)
at java.desktop/java.awt.image.SinglePixelPackedSampleModel.(Unknown Source)
at java.desktop/java.awt.image.PackedColorModel.createCompatibleSampleModel(Unknown Source)
at net.sourceforge.ganttproject.chart.export.RenderedChartImage.(RenderedChartImage.java:49)
at net.sourceforge.ganttproject.chart.ChartRasterImageBuilder.acceptChart(PrintChartApiImpl.kt:103)
at net.sourceforge.ganttproject.chart.export.ChartImageBuilder.buildImage(ChartImageBuilder.kt:56)
at net.sourceforge.ganttproject.chart.PrintChartApiImpl.buildImage(PrintChartApiImpl.kt:55)
at net.sourceforge.ganttproject.chart.PrintChartApiImpl.exportChart(PrintChartApiImpl.kt:49)
at net.sourceforge.ganttproject.export.ExporterToImage$1.run(ExporterToImage.java:163)
at net.sourceforge.ganttproject.export.ExporterBase$2.run(ExporterBase.java:180)
… 2 more
Computer rebooted. New version installed. Same issue.
Even creating a simple new project with 2 tasks give the same problem.
Thanks for your help.