Mantis - Resin
Viewing Issue Advanced Details
5239 minor always 10-09-12 09:35 10-15-12 10:54
cowan  
ferg  
normal  
closed  
fixed  
none    
none 4.0.33  
0005239: ArrayIndexOutOfBoundsException at com.caucho.hessian.util.IdentityIntMap.put
[12-10-09 10:48:39.997]INFO 10:48:39 10/09 Resin: Resin[id=app-0] started in 25179ms
                       
WarningService: Shutdown: Resin shutdown from unexpected watchdog exit.
[12-10-09 10:48:40.033]WARNING 10:48:40 10/09 ResinActor: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -59
                       java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -59
                           at com.caucho.hessian.util.IdentityIntMap.put(IdentityIntMap.java:141)
                           at com.caucho.hessian.io.Hessian2Output.writeObjectBegin(Hessian2Output.java:581)
                           at com.caucho.hessian.io.UnsafeSerializer.writeObject(UnsafeSerializer.java:169)
                           at com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:465)
                           at com.caucho.hmtp.HmtpWriter.message(HmtpWriter.java:128)
                           at com.caucho.hmtp.HmtpWebSocketWriter.message(HmtpWebSocketWriter.java:107)
                           at com.caucho.server.resin.ResinActor.sendWarning(ResinActor.java:84)
                           at com.caucho.server.resin.ResinWarningHandler.warning(ResinWarningHandler.java:55)
                           at com.caucho.env.warning.WarningService.sendWarning(WarningService.java:98)
                           at com.caucho.env.shutdown.ShutdownSystem.startFailSafeShutdown(ShutdownSystem.java:268)
                           at com.caucho.env.shutdown.ShutdownSystem.startFailSafeShutdown(ShutdownSystem.java:249)
                           at com.caucho.env.shutdown.ShutdownSystem.shutdown(ShutdownSystem.java:228)
                           at com.caucho.env.shutdown.ShutdownSystem.shutdownActive(ShutdownSystem.java:208)
                           at com.caucho.server.resin.ResinActor.destroy(ResinActor.java:166)
                           at com.caucho.server.resin.ResinLink.run(ResinLink.java:78)
                           at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
                           at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
Rep by S. Francis

Notes
(0006057)
cowan   
10-09-12 09:45   
On IBM J9 JVM
(0006058)
cowan   
10-09-12 09:46   
Earlier in the log (possibly unrelated)

[12-10-09 10:48:39.739]WARNING 10:48:39 10/09 WebApp: java.security.NoSuchAlgorithmException: no such algorithm: SHA1PRNG for provider SUN
                       java.security.NoSuchAlgorithmException: no such algorithm: SHA1PRNG for provider SUN
                           at sun.security.jca.GetInstance.getService(GetInstance.java:99)
                           at sun.security.jca.GetInstance.getInstance(GetInstance.java:218)
                           at java.security.SecureRandom.getInstance(SecureRandom.java:330)
(0006061)
cowan   
10-09-12 11:03   
Some JVM implementations produce a negative number on System.identityHashCode(). J9 1.7 does, while J9 1.6 does not. There is a report on stackoverflow that JRockit produces negative numbers also.