Skip to content
New issue

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

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

Already on GitHub? # to your account

Windows 10 SVG symbols error (SAX2 driver) #4410

Closed
JayDi85 opened this issue Jan 13, 2018 · 1 comment
Closed

Windows 10 SVG symbols error (SAX2 driver) #4410

JayDi85 opened this issue Jan 13, 2018 · 1 comment
Assignees
Labels
bug Bugs and errors GUI

Comments

@JayDi85
Copy link
Member

JayDi85 commented Jan 13, 2018

In Windows 10 SVG symbols can't be render and raise errors like:

Couldn't convert svg file: plugins\images\symbols\svg\0.svg , reason: null
Enclosed Exception:
SAX2 driver class org.apache.crimson.parser.XMLReaderImpl not found =>[AWT-EventQueue-0] ManaSymbols.loadSymbolAsSVG

shot_180114_034917

@JayDi85 JayDi85 added bug Bugs and errors GUI labels Jan 13, 2018
@JayDi85 JayDi85 self-assigned this Jan 13, 2018
@JayDi85
Copy link
Member Author

JayDi85 commented Jan 14, 2018

It's a JDK versions problem. Found here:

  • Some JDK already include crimson lib and works fine on developer machine;
  • But some JDK haven't that lib on user's machines and throw error;

Use the following maven config:

<dependency>
	<groupId>batik</groupId>
	<artifactId>batik-transcoder</artifactId>
	<version>1.6-1</version>
</dependency>
<dependency>
    <groupId>crimson</groupId>
    <artifactId>crimson</artifactId>
    <version>1.1.3</version>
</dependency>

Fixed via b0a8967

@JayDi85 JayDi85 closed this as completed Jan 14, 2018
@JayDi85 JayDi85 changed the title Windows 10 SVG symbols error Windows 10 SVG symbols error (SAX2 driver) Jan 14, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Bugs and errors GUI
Projects
None yet
Development

No branches or pull requests

1 participant