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

Free Support Forum - aspose.com

Getting ExceptioninitializerError When Loading Presentation Using Aspose.Slides Java 15.8.0

Hi,

We are evaluating Aspsoe.Slides Java 15.8.0 and found some problem in loading presentations.

The code used is given below:

@Test
public void testSave() {
Presentation pptx = new Presentation(“LloydsFinancialResultspresentation2004.pptx”);
}

Execption Stack:
java.lang.ExceptionInInitializerError: null
oracle.epm.platform.core.reportpackage.docman.ppt.AsposeSlidesUtilityTest.testMemoryUsage(AsposeSlidesUtilityTest.java:261)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
java.lang.reflect.Method.invoke(Method.java:606)
Caused by: java.lang.NullPointerException: null

Please tell us why I am seeing such an error while loading the Powerpoint presentations.

Please find the sample presentation in attachment.

Thanks
Manisha

Hi Manisha,


Thank you for your interest in Aspose.Slides.

I have observed your comments and worked with the presentation file shared by you. I have not been able to reproduce the issue on my end using Aspose.Slides for Java 15.8.0 and JDK 1.8. Please share environment details on your end with us so that we may investigate it further to help you out.

Best Regards,

Hi,


Thanks for looking into the matter.

The environment details are given below:

Oracle Linux 5 (Intel 64-bit).
java version "1.7.0_72"
Java™ SE Runtime Environment (build 1.7.0_72-b14)
Java HotSpot™ 64-Bit Server VM (build 24.72-b04, mixed mode)


Thanks
Manisha

The complete exception stacktrace is given below:



java.lang.ExceptionInInitializerError
at com.aspose.slides.p6a2feef8.p9f36407e.k.do(Unknown Source)
at com.aspose.slides.p6a2feef8.p9f36407e.k.do(Unknown Source)
at com.aspose.slides.p6a2feef8.p9f36407e.h.do(Unknown Source)
at com.aspose.slides.vr.do(Unknown Source)
at com.aspose.slides.vi.(Unknown Source)
at com.aspose.slides.vi.do(Unknown Source)
at com.aspose.slides.bmr.int(Unknown Source)
at com.aspose.slides.bmr.static(Unknown Source)
at com.aspose.slides.bla.do(Unknown Source)
at com.aspose.slides.bla.do(Unknown Source)
at com.aspose.slides.bla.do(Unknown Source)
at com.aspose.slides.bla.(Unknown Source)
at com.aspose.slides.TextFrame.do(Unknown Source)
at com.aspose.slides.Table.do(Unknown Source)
at com.aspose.slides.Table.try(Unknown Source)
at com.aspose.slides.bir.do(Unknown Source)
at com.aspose.slides.yh.do(Unknown Source)
at com.aspose.slides.yh.do(Unknown Source)
at com.aspose.slides.cz.do(Unknown Source)
at com.aspose.slides.bdj.do(Unknown Source)
at com.aspose.slides.awc.do(Unknown Source)
at com.aspose.slides.auw.byte(Unknown Source)
at com.aspose.slides.auw.do(Unknown Source)
at com.aspose.slides.Presentation.int(Unknown Source)
at com.aspose.slides.Presentation.if(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at oracle.epm.platform.core.reportpackage.docman.ppt.AsposeOpenXmlPptManagerTest.testSave(AsposeOpenXmlPptManagerTest.java:3532)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at mockit.integration.junit4.internal.JUnit4TestRunnerDecorator.executeTestMethod(JUnit4TestRunnerDecorator.java:120)
at mockit.integration.junit4.internal.JUnit4TestRunnerDecorator.invokeExplosively(JUnit4TestRunnerDecorator.java:65)
at mockit.integration.junit4.internal.MockFrameworkMethod.invokeExplosively(MockFrameworkMethod.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at mockit.internal.util.MethodReflection.invokeWithCheckedThrows(MethodReflection.java:95)
at mockit.internal.annotations.MockMethodBridge.callMock(MockMethodBridge.java:76)
at mockit.internal.annotations.MockMethodBridge.invoke(MockMethodBridge.java:41)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at oracle.jdevimpl.junit.runner.junit4.JUnit4Testable.run(JUnit4Testable.java:24)
at oracle.jdevimpl.junit.runner.TestExecution.run(TestExecution.java:27)
at oracle.jdevimpl.junit.runner.JUnitTestRunner.main(JUnitTestRunner.java:88)
Caused by: java.lang.NullPointerException
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.p.do(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.o.do(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.o.do(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.p.for(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.p.(Unknown Source)
… 60 more

Thanks
Manisha
Hi Manisha,

I have observed your requirements and worked with the presentation file shared by you. I have been able to reproduce the issue. A ticket with ID SLIDESJAVA-35048 has been logged in our issue tracking system to further investigate and resolve the issue.This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

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


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.