Write Exception

									Hi Alexey,<br><br>I got an exception while creating a new ppt. I am using the latest release of Aspose.Slides.<br><br><br>[5/28/08

15:22:46:670 IST] 00000049 SystemOut O 2008-05-28 15:22:46,667
INFO [WebContainer : 0] (PPTUtil.java:114) - Exception:
com.aspose.slides.PptWriteException: Error writing presentation to a stream.
at com.aspose.slides.Presentation.write(SourceFile:647)
at com.deluxe.pptgenerator.utils.PPTUtil.createPPT(PPTUtil.java:111)
at com.deluxe.spti.business.mrt.promotion.actions.PPTDisplayerServlet.doPost(Unknown Source)
at com.deluxe.spti.business.mrt.promotion.actions.PPTDisplayerServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1284)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1241)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:113)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:671)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:89)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1924)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:88)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1470)
Caused by: java.lang.NullPointerException
at com.aspose.slides.be.do(SourceFile(Compiled Code))
at com.aspose.slides.X.(SourceFile:43)
at com.aspose.slides.L.(SourceFile:117)
at com.aspose.slides.cO.do(SourceFile:81)
at com.aspose.slides.Presentation.write(SourceFile:640)
… 21 more
[5/28/08
15:22:46:671 IST] 00000049 SystemOut O 2008-05-28 15:22:46,671
ERROR [WebContainer : 0] (?:?) - Error Occured While
Streaming:PPT_PROCESSING_ERRORcom.aspose.slides.PptWriteException:
Error writing presentation to a stream.

Please let me know what might be causing this as soon as possible.

Regards,
Vipin

Hi,

I am getting another exception. It is as follows.

[5/28/08 18:53:57:262 IST] 0000004e SystemOut O 2008-05-28 18:53:57,261 INFO [WebContainer : 2] (PPTUtil.java:114) - Exception:
com.aspose.slides.PptReadException: Internal library error. Template is broken.
at com.aspose.slides.Presentation.(SourceFile:460)
at com.deluxe.pptgenerator.utils.PPTUtil.createPPT(PPTUtil.java:56)
at com.deluxe.spti.business.mrt.promotion.actions.PPTDisplayerServlet.doPost(Unknown Source)
at com.deluxe.spti.business.mrt.promotion.actions.PPTDisplayerServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1284)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1241)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:113)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:671)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:89)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1924)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:88)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1470)
Caused by: com.aspose.slides.PptReadException: Error reading presentation.
at [com.aspose.slides.cO](http://com.aspose.slides.co/).(SourceFile:64)
at com.aspose.slides.Presentation.(SourceFile:457)
… 21 more
Caused by: java.lang.NullPointerException
at com.aspose.slides.be.do(SourceFile(Compiled Code))
at com.aspose.slides.as.(SourceFile:43)
at [com.aspose.slides.cO](http://com.aspose.slides.co/).(SourceFile:39)
… 22 more
[5/28/08 18:53:57:262 IST] 0000004e SystemOut O 2008-05-28 18:53:57,262 ERROR [WebContainer : 2] (?:?) - Error Occured While Streaming:PPT_PROCESSING_ERRORcom.aspose.slides.PptReadException: Internal library error. Template is broken.

Please reply to this. It’s important.

Dear ser@ph,

I have requested the technical team to help you. Please wait, he will help you as soon as possible. Thanks for your patience.

Hello Vipin,

There is a problem with last release.
Could you try please aspose.slides from this thread or 1.8.3 version.
We will release 1.8.5 soon.