Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: EE-1.8.2.GA_P06
-
Fix Version/s: EE-1.8.2.GA_P07
-
Component/s: Framework
-
Labels:None
-
Environment:JETTY 8.1.4
-
Assignee Priority:P2
-
Salesforce Case Reference:
Description
The user is seeing the following exception thrown:
"NegativeArraySizeException: MonitorRunner.java:56 ":
java.lang.NegativeArraySizeException
at java.util.Arrays.copyOf(Arrays.java:2772)
at java.util.Arrays.copyOf(Arrays.java:2746)
at java.util.ArrayList.toArray(ArrayList.java:296)
at java.util.ArrayList.<init>(ArrayList.java:151)
at com.icesoft.util.MonitorRunner$1.run(MonitorRunner.java:56)
The exception is thrown on line 56: (Iterator i = new ArrayList(monitors).iterator();) in MonitorRunner.java. This code should be synchronized in order to prevent further issues.
"NegativeArraySizeException: MonitorRunner.java:56 ":
java.lang.NegativeArraySizeException
at java.util.Arrays.copyOf(Arrays.java:2772)
at java.util.Arrays.copyOf(Arrays.java:2746)
at java.util.ArrayList.toArray(ArrayList.java:296)
at java.util.ArrayList.<init>(ArrayList.java:151)
at com.icesoft.util.MonitorRunner$1.run(MonitorRunner.java:56)
The exception is thrown on line 56: (Iterator i = new ArrayList(monitors).iterator();) in MonitorRunner.java. This code should be synchronized in order to prevent further issues.
Change checked in as described. Resolving as fixed but the customer will need to test to see if it fixes their issue as we cannot reproduce it.