We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PlaceholderCollection get_Item(position) returns null


there seems to be a bug in the get_Item method of the PlaceholderCollection class.

In productional code i've observed that getCount() returned 4, but get_Item(3) returned null.

As a workaround i've used the iterator instead which will return a valid Placeholder at that position.

For me it looks like a bug within the SortedList which is used internally?!

Aspose.slides for Java 8.5.0

java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)



Hi David,

Please share your sample code and presentation file with us to further test the issue. We will check it and get back to you.

Thanks & Best Regards,

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}