Bug 61809 - Infinite loop in SectionIDMap.get() and .put()
Summary: Infinite loop in SectionIDMap.get() and .put()
Alias: None
Product: POI
Classification: Unclassified
Component: HPSF (show other bugs)
Version: 3.17-dev
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2017-11-23 22:34 UTC by Andreas Beeker
Modified: 2017-11-24 01:05 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
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.