Resource bundle error


I was just trying to use the java library inside a JDK1.6.0_17 to convert an ODT to a PDF.
When I run my 2 line program, I get the following error:

java.util.MissingResourceException: Can' t find bundle
for base name, locale en_US
at java.util.ResourceBundle.throwMissingResourceException( 1521)
at java.util.ResourceBundle.getBundleImpl(
at java.util.ResourceBundle.getBundle(
at 115)
at asposewobfuscated.oc.a( 93)
at asposewobfuscated.hd.reportFatalError( 1394)
at$ 972)
at 353)
at 557)
at 55)
at 39)
at 66)
at 30)
at com.aspose.words.eb.( 14)
at com.aspose.words.av.a( 25)
at 54)
at com.aspose.words.Document.b( 1316)
at com.aspose.words.Document.a( 1246)
at com.aspose.words.Document.( 143)
at com.aspose.words.Document.( 117)
at aspose.AsposeTest.main( 15)

So I suppose it tries to show me the real error but fails doing so. Apparently the JVM doesn’t contain this resource bundle?

I got this working now (odt file was corrupt).
But this still is a problem because the Aspose code tries to use some resource bundle that doesn’t seem to be available, when something goes wrong.

Now I see a next problem. When I try this with a more advanced ODT document (for example the ODT1.2 specification itself), the delivered PDF is corrupt according to Adobe Acrobat.

I uploaded both the ODT and the (corrupt) PDF file as examples.

Any ideas?


Thank you for reporting this problem to us. I managed to reproduce it on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.
Also, please note, currently conversion to PDF in Aspose.Words for Java is beta. This feature will come out of beta in the upcoming release. We will let you know once it is available.
Best regards.

The issues you have found earlier (filed as 14460) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.

We are happy to inform you that the first auto-ported version of Aspose.Words for Java is ready. This version supports converting documents to PDF. You can get it from here.

Best regards,
Aspose.Words team