Bug 61809

Summary: Infinite loop in SectionIDMap.get() and .put()
Product: POI Reporter: Andreas Beeker <kiwiwings>
Component: HPSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 3.17-dev   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Andreas Beeker 2017-11-23 22:34:00 UTC
POI 3.17 runs into an infinite loop and a subsequent stack overflow when SectionIDMap.getPIDString(ClassID) is called. This method invokes itself on the instance returned by SectionIDMap.getInstance().

The put(ClassID, PropertyIDMap) method has the same problem. This bug was introduced in revision r1751165
Comment 1 Andreas Beeker 2017-11-24 01:05:34 UTC
Deprecated and removed obsolete methods via r1816205

It wasn't possible to create a custom PropertyIDMap object anyway, so registering in SectionIDMap was futile.