Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.0.0.GA_P01, 3.2
-
Fix Version/s: EE-3.2.0.GA, 3.3
-
Component/s: Push Library, Push Server
-
Labels:None
-
Environment:ICEpush and ICEpush-EE (EPS)
Description
java.lang.NegativeArraySizeException
at java.util.AbstractCollection.toArray(AbstractCollection.java:119)
at java.util.ArrayList.<init>(ArrayList.java:131)
at org.icepush.LocalPushGroupManager.scanForExpiry(LocalPushGroupManager.java:197)
at org.icepush.LocalPushGroupManager.access$2200(LocalPushGroupManager.java:28)
at org.icepush.LocalPushGroupManager$Notification.run(LocalPushGroupManager.java:375)
at org.icepush.LocalPushGroupManager$QueueConsumerTask.run(LocalPushGroupManager.java:446)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
This Exception is related to the same collections as inPUSH-206.
at java.util.AbstractCollection.toArray(AbstractCollection.java:119)
at java.util.ArrayList.<init>(ArrayList.java:131)
at org.icepush.LocalPushGroupManager.scanForExpiry(LocalPushGroupManager.java:197)
at org.icepush.LocalPushGroupManager.access$2200(LocalPushGroupManager.java:28)
at org.icepush.LocalPushGroupManager$Notification.run(LocalPushGroupManager.java:375)
at org.icepush.LocalPushGroupManager$QueueConsumerTask.run(LocalPushGroupManager.java:446)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
This Exception is related to the same collections as in
Issue Links
- depends on
-
PUSH-206 ConcurrentModificationException in LocalPushGroupManager causing the Timer to fail
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
The fix to
PUSH-206introduced thread-safe iteration. Marking this one as FIXED.