When trying to construct a presentation from a file stream, I get the following error:
java.lang.LinkageError: com/aspose/metafiles/MetafilesException
The method being used to open the presentation is as follows:
source = new FileInputStream(f); // this is line 164 from the stacktrace below.
where f is of type File and has been checked for existence, readability, etc.
Does anyone have any idea what this could be? What can I change to fix the issue?
Thanks,
Chadwick
PS Here’s the full stack trace:
java.lang.LinkageError: com/aspose/metafiles/MetafilesException
at com.aspose.slides.obfuscated.aL.(SourceFile:23)
at com.aspose.slides.obfuscated.jh.do(SourceFile:237)
at com.aspose.slides.obfuscated.dy.do(SourceFile:54)
at com.aspose.slides.obfuscated.iX.do(SourceFile:25)
at com.aspose.slides.Presentation.if(SourceFile:379)
at com.aspose.slides.Presentation.(SourceFile:554)
at com.ournamespace.ourobject.CreatePresentation(ourobject.java:164)
at com.ournamespace.ourservlet.doPost(ourservlet.java:81)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3244)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)