Free Support Forum - aspose.com

Error in presentation.write method

hi,

I'm using jdk 1.4.2. I'm getting the following error in the presentation.write method, because jdk 1.4 doesn't have the java.lang.String.contains method.

java.lang.NoSuchMethodError: java.lang.String.contains(Ljava/lang/CharSequence;)Z
at com.aspose.slides.bt.if(SourceFile:168)
at com.aspose.slides.cT.do(SourceFile:263)
at com.aspose.slides.dO.if(SourceFile:42)
at com.aspose.slides.et.byte(SourceFile:387)
at com.aspose.slides.et.try(SourceFile:356)
at com.aspose.slides.Presentation.write(SourceFile:620)
at com.pepsico.pcna.ims.util.PowerPointPreviewHelper.processPowerPointAttachment(PowerPointPreviewHelper.java:82)
at com.pepsico.pcna.ims.businessobject.DealBO.processPendingPowerPointAttachments(DealBO.java:188)
at com.pepsico.pcna.ims.util.PowerPointPreviewTask.run(PowerPointPreviewTask.java:31)
at com.pepsico.pcna.ims.action.StartPowerPointTaskAction.execute(StartPowerPointTaskAction.java:33)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

any hot fixes for this?

Thanks,

Lakshmi


This message was posted using Aspose.Live 2 Forum

Dear Lakshmi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Please provide your source code and source presentation if you are using any, to reproduce this error. Also mention the version number of Aspose.Slides for JAVA. Or try the latest one 1.8.3.0 from this link.

http://www.aspose.com/Downloads/Aspose.Slides/Default.aspx

Hello Lakshmi,

We will investigate and fix it asap. Thank you for the information.

Hi Alexey / Shakeel,

Any updates on this yet?

The problem has been fixed. New hot fix will be available for download tomorrow.