Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.6.1-incubating
-
None
-
Arch Linux Matlab 2013a Java 1.6.0_17-b04
Description
I'm using this toolkit from Matlab, which is the reason for the non-Java syntax:
FigurePath = File('test.svg');
FigurePath = FigurePath.toURI;
p = outputOdt.addParagraph('');
img = Image.newImage(p, FigurePath);
When I try this with a PNG image it works perfectly fine, however as stated above SVG causes a crash:
29-jul-2013 17:20:38 org.odftoolkit.simple.draw.Image newImage
SEVERE: null
java.lang.NullPointerException
at org.odftoolkit.simple.draw.Image.configureInsertedImage(Image.java:282)
at org.odftoolkit.simple.draw.Image.newImage(Image.java:184)
In the release notes it was stated that this problem was fixed. However I've got the impression unfortunately that it is still an issue.