Due to how ArrayList is implemented it is possible to create a race condition where if ForkProtocolStack.destroy() is called at the same time as ForkProtocolStack.getProtocols() the returned list will contain null elements.
The issue is intermittent but as far as I can tell making the getProtocols method synchronized fixes it.
- causes
-
JBEAP-24241 (8.1.z) NPE logged during reload
-
- Reopened
-