We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Note 2016 files throw NullPointerException from Java Aspose.Note


According to the documentation, Aspose.Note for .NET supports Note 2016 files, but Aspose.Note for Java only supports Note 2010 and 2013 files.

Problem: when we attempt to open a Note 2016 file using the Java APIs, rather than getting an error saying that this file format is not supported, we get obscure errors such as NullPointerException.

Could we request that when we attempt to open a Note 2016 file in Aspose.Note for Java, that it raise an exception which more clearly indicates that this file format is not supported?

Please share your sample file and code snippet with us for our testing. We will reproduce the exception and provide our feedback after analysis.

Hi @ahsaniqbalsidiqui,

As far as we’ve seen, and based on other forum posts I’ve seen, this should be reproducible when attempting to read any Note 2016 file at all. This shouldn’t actually need code and sample data.

Please note that we have same code base for Aspose.Note for .NET and Java. All the new features are first implemented in .NET version and then ported to Java with each release. Aspose.Note supports Note 2016 files in both .NET and JAVA versions. It seems that there is some issue with your file which needs to be tested in Java environment. Please share your sample file with us for our analysis here.

P.S. We will update the documents soon where supported versions are mentioned.