You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2008/04/07 21:30:12 UTC

DO NOT REPLY [Bug 44770] New: java.lang.RuntimeException: Couldn' t instantiate the class for type with id 1036 on class class org.apache.poi .hslf.record.PPDrawing

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

           Summary: java.lang.RuntimeException: Couldn't instantiate the
                    class for type with id 1036 on class class
                    org.apache.poi.hslf.record.PPDrawing
           Product: POI
           Version: unspecified
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: HSLF
        AssignedTo: dev@poi.apache.org
        ReportedBy: durgadeep@gmail.com


Created an attachment (id=21786)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21786)
This powerPoint attachment causes this error.

java.lang.RuntimeException: Couldn't instantiate the class for type with id
1006 on class class org.apache.poi.hslf.record.Slide :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type
with id 1036 on class class org.apache.poi.hslf.record.PPDrawing :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.ArrayIndexOutOfBoundsException
        at
org.apache.poi.hslf.record.Record.createRecordForType(Record.java:190)
        at
org.apache.poi.hslf.record.Record.buildRecordAtOffset(Record.java:105)
        at org.apache.poi.hslf.HSLFSlideShow.read(HSLFSlideShow.java:264)
        at
org.apache.poi.hslf.HSLFSlideShow.buildRecords(HSLFSlideShow.java:235)
        at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:145)
        at
org.apache.poi.hslf.extractor.PowerPointExtractor.<init>(PowerPointExtractor.java:92)
        at
org.apache.poi.hslf.extractor.PowerPointExtractor.<init>(PowerPointExtractor.java:85)
        at 

WARNING: Unable to Index MS PowerPoint Document : Couldn't instantiate the
class for type with id 1006 on class class org.apache.poi.hslf.record.Slide :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type
with id 1036 on class class org.apache.poi.hslf.record.PPDrawing :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.ArrayIndexOutOfBoundsException
Apr 7, 2008 12:30:17 PM
com.sun.comms.iss.indexapi.converter.MSPowerPointConverter getObject
WARNING: Unable to Index MS PowerPoint Document : Couldn't instantiate the
class for type with id 1006 on class class org.apache.poi.hslf.record.Slide :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type
with id 1036 on class class org.apache.poi.hslf.record.PPDrawing :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.ArrayIndexOutOfBoundsException
Apr 7, 2008 12:30:17 PM


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 44770] java.lang.RuntimeException: Couldn't instantiate the class for type with id 1036 on class class org.apache.poi.hslf.record.PPDrawing

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44770


Gitu <gi...@sap.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


--- Comment #3 from Gitu <gi...@sap.com> 2009-08-03 20:50:19 PDT ---
Hi there,

I get the following exception when trying to read a ppt document.
The method that throws this exception is :
reader.read(file.getInputStream());

Couldn't instantiate the class for type with id 1006 on class class
org.apache.poi.hslf.record.Slide : java.lang.reflect.InvocationTargetException
Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type
with id 5000 on class class
org.apache.poi.hslf.record.DummyPositionSensitiveRecordWithChildren :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type
with id 5002 on class class
org.apache.poi.hslf.record.DummyPositionSensitiveRecordWithChildren :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type
with id 5003 on class class
org.apache.poi.hslf.record.DummyPositionSensitiveRecordWithChildren :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type
with id 12000 on class class org.apache.poi.hslf.record.Comment2000 :
java.lang.reflect.InvocationTargetException
Cause was : java.lang.IllegalStateException: Third child record wasn't a
CString, was of type 12001

I also see a java.lang.RuntimeException for some of the word and ppt documents
when we try to open the document using the following line;

POIFSFileSystem poifs = new POIFSFileSystem(is);

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 44770] java.lang.RuntimeException: Couldn't instantiate the class for type with id 1036 on class class org.apache.poi.hslf.record.PPDrawing

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44770


Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #7 from Yegor Kozlov <ye...@dinom.ru> 2009-09-06 04:36:49 PDT ---
Fixed in r811814

PPT parser didn't properly handle comment containers (Comment2000) with missing
comment text. 

Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 44770] java.lang.RuntimeException: Couldn't instantiate the class for type with id 1036 on class class org.apache.poi.hslf.record.PPDrawing

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44770


Gitu <gi...@sap.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gi.bijlani@sap.com


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 44770] java.lang.RuntimeException: Couldn't instantiate the class for type with id 1036 on class class org.apache.poi.hslf.record.PPDrawing

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44770


Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEEDINFO
           Severity|blocker                     |normal


--- Comment #4 from Yegor Kozlov <ye...@dinom.ru> 2009-08-08 04:07:38 PDT ---
Which version of POI are you using? Try the latest trunk, daily builds can be
downloaded from http://encore.torchbox.com/poi-svn-build/. If the problem
persists, please attach the problem file. Without it we can't do much.

Yegor

(In reply to comment #3)
> Hi there,
> 
> I get the following exception when trying to read a ppt document.
> The method that throws this exception is :
> reader.read(file.getInputStream());
> 
> Couldn't instantiate the class for type with id 1006 on class class
> org.apache.poi.hslf.record.Slide : java.lang.reflect.InvocationTargetException
> Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type
> with id 5000 on class class
> org.apache.poi.hslf.record.DummyPositionSensitiveRecordWithChildren :
> java.lang.reflect.InvocationTargetException
> Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type
> with id 5002 on class class
> org.apache.poi.hslf.record.DummyPositionSensitiveRecordWithChildren :
> java.lang.reflect.InvocationTargetException
> Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type
> with id 5003 on class class
> org.apache.poi.hslf.record.DummyPositionSensitiveRecordWithChildren :
> java.lang.reflect.InvocationTargetException
> Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type
> with id 12000 on class class org.apache.poi.hslf.record.Comment2000 :
> java.lang.reflect.InvocationTargetException
> Cause was : java.lang.IllegalStateException: Third child record wasn't a
> CString, was of type 12001
> 
> I also see a java.lang.RuntimeException for some of the word and ppt documents
> when we try to open the document using the following line;
> 
> POIFSFileSystem poifs = new POIFSFileSystem(is);

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 44770] java.lang.RuntimeException: Couldn't instantiate the class for type with id 1036 on class class org.apache.poi.hslf.record.PPDrawing

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44770


Gitu <gi...@sap.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW


--- Comment #6 from Gitu <gi...@sap.com> 2009-08-24 22:11:43 PDT ---
Changing the status to new!!
Plz see the required info provided by me in the earlier comment...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 44770] java.lang.RuntimeException: Couldn't instantiate the class for type with id 1036 on class class org.apache.poi.hslf.record.PPDrawing

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44770



--- Comment #5 from Gitu <gi...@sap.com> 2009-08-24 04:12:51 PDT ---
Created an attachment (id=24158)
This attachment contains comments

Hi there,

This issue I face when I try to read a PPT with comments inserted in that.
I am using poi 3.2 and have also tested with beta 3.5 version and the problem
still persists.

Thanks,
Gitu

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 44770] java.lang.RuntimeException: Couldn' t instantiate the class for type with id 1036 on class class org.apache.poi .hslf.record.PPDrawing

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44770


Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Yegor Kozlov <ye...@dinom.ru>  2008-04-08 07:47:18 PST ---
Fixed

Yegor


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 44770] java.lang.RuntimeException: Couldn' t instantiate the class for type with id 1036 on class class org.apache.poi .hslf.record.PPDrawing

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44770





--- Comment #2 from Yegor Kozlov <ye...@dinom.ru>  2008-04-16 05:42:12 PST ---
*** Bug 44723 has been marked as a duplicate of this bug. ***


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org