Repositories that originated in early versions of GemStone, such as 32-bit GemStone/S, and that had less than 20 Segments (since relabled ObjectSecurityPolicies), were assigned an ObjectSecurityPolicy with ID 20 during upgrade to 2.x, to support a nil security policy. If there were less than 20 security policies in the original repository, the intermediate slots for object security policy IDs were nil.
Code changes in v3.4 for repository scan code did not handle nil slots for object security policies, and operations such as objectAudit and listInstances would error.
Creating dummy object security policies will avoid errors. For example:
1 to: SystemRepository size do: [:i | (SystemRepository at: i) isNil ifTrue: [GsObjectSecurityPolicy new.]].
Last updated: 1/8/20