https://issues.apache.org/bugzilla/show_bug.cgi?id=48593

--- Comment #3 from Rafael Lopez <[email protected]> ---
Hi there,

I am having the same problem under Ubuntu 11.10, java-6-openjdk and Apache POI
3.9 (downloaded from Maven Repository).

My exception trace is:

java.lang.NullPointerException
    at
org.apache.poi.hslf.usermodel.SlideShow.buildSlidesAndNotes(SlideShow.java:401)
    at org.apache.poi.hslf.usermodel.SlideShow.<init>(SlideShow.java:109)
    at Main.getPresentation(Main.java:56)
    at Main.method2(Main.java:48)
    at Main.main(Main.java:14)

I am attaching my source code too. Note that method1() works while method2() is
the one that throws the exception.

Maybe this additional information gives you some guidance: The truth is that
once I had the same experience just with Sun JDK, but without using Apache POI
at all. I just serialized some objects creating a new ObjectOutputStream each
time and after overwriting the same file several times I got an
StreamCorruptedException. There was a bug in the forums of Sun JDK at that
time, but I cannot find it now.

The problem here is that I am making a service that needs to persist the
Powerpoint after every change (e.g.: after I append one slide or change a
text), so I don't know what can I do or if you can provide a workaround for
that.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to