Open vera opened 2 months ago
FWIW: Looks like somewhere in the pom file changes we lost including the dependency on fop in the final jar.
I'm getting a different error:
dev_dataverse> [#|2024-08-23T18:41:58.868+0000|INFO|Payara 6.2024.6|io.gdcc.export.ddipdf.FileResolver|_ThreadID=128;_ThreadName=http-thread-pool::http-listener-1(5);_TimeMillis=1724438518868;_LevelValue=800;|
dev_dataverse> In File Resolver: file:/io/gdcc/spi/export/ddipdf/i18n.inc.xsl null|#]
dev_dataverse>
dev_dataverse> [#|2024-08-23T18:41:58.894+0000|SEVERE|Payara 6.2024.6|io.gdcc.export.ddipdf.DdiPdfExportUtil|_ThreadID=128;_ThreadName=http-thread-pool::http-listener-1(5);_TimeMillis=1724438518894;_LevelValue=1000;|
dev_dataverse> Cannot invoke "String.length()" because "<parameter2>" is null|#]
In Firefox, it looks like an empty PDF is created? I'm not sure:
I had to build the JAR myself. It would be nice to have a link to a released JAR like we do for other exporters instead of "TBD": https://github.com/gdcc/dataverse-exporters#list-of-known-exporters
FWIW: If I build using
mvn assembly:assembly -DdescriptorId=jar-with-dependencies
,
I get a ./target/ddi-pdf-1.1.0-SNAPSHOT-jar-with-dependencies.jar
file (building from PR #4)
Just doing a mvn deploy only created a ddi-pdf-1.1.0-SNAPSHOT.jar
w/o the classes from the dependencies.
So - I guess a 'fix' for this would be to document the build process in the README
When I try to reexport a dataset's metadata after installing the ddipdf exporter jar, the export is not created and I get the following error in the Dataverse log:
Dataverse is running in Docker (
mvn -Pct clean package docker:run
). Not sure if I made a mistake installing the jar. Thanks in advance for your assistance