Hi there,
I have just changed Aspose.Words for JUava version from 13.6 to 14.3 by replacing the jars in our project. I have made no further changes. Running the code I now get an exception I did not get with the previous jar.
What has changed in the last 10 months that I can no longer run this code and how can I fix this?
Code:
final Document document = new Document(templatePath);
where the templatePath is something like: /D:/workspace/exus-Suite/plugins/org.business.reporting.aspose.words/data/aspose/words/templates/Report Design.doc
exception I get:
Caused by: java.lang.IllegalArgumentException: URI is not absolute
at java.net.URI.toURL(URI.java:1095)
at asposewobfuscated.zz2H.zzpy(Unknown Source)
at asposewobfuscated.zzDI.zzYI(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
PS:
I did try replacing the space with %20 and it made no difference.
Thanks