Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception while running EMF2SVG.java #51

Open
jchome opened this issue Feb 26, 2023 · 3 comments
Open

Exception while running EMF2SVG.java #51

jchome opened this issue Feb 26, 2023 · 3 comments

Comments

@jchome
Copy link

jchome commented Feb 26, 2023

When I run the main class of EMF2SVG, the import / export fails :

java -cp /home/julien/.m2/repository/org/freehep/freehep-graphicsio-emf/2.4/freehep-graphicsio-emf-2.4.jar:/home/julien/.m2/repository/org/freehep/freehep-graphicsbase/2.4/freehep-graphicsbase-2.4.jar org.freehep.graphicsio.emf.EMF2SVG image1.emf image1.svg

java.lang.IllegalArgumentException: org.freehep.graphicsbase.util.export.ExportFileType is not an ImageIO SPI class
at java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:722)
at java.desktop/javax.imageio.spi.ServiceRegistry.(ServiceRegistry.java:117)
at org.freehep.graphicsbase.util.export.ExportFileTypeRegistry.(ExportFileTypeRegistry.java:33)
at org.freehep.graphicsbase.util.export.ExportFileTypeRegistry.getDefaultInstance(ExportFileTypeRegistry.java:44)
at org.freehep.graphicsbase.util.export.ExportFileType.getExportFileTypes(ExportFileType.java:180)
at org.freehep.graphicsio.emf.EMFConverter.export(EMFConverter.java:30)
at org.freehep.graphicsio.emf.EMF2SVG.main(EMF2SVG.java:27)

@murkle
Copy link

murkle commented Feb 28, 2023

Did you Google the error? Top hit is #44

@jchome
Copy link
Author

jchome commented Feb 28, 2023 via email

@murkle
Copy link

murkle commented Feb 28, 2023

That's not possible without some changes - see the other ticket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants