java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 4096

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 4096
at java.lang.System.arraycopy(Native Method)
at com.ibm.crypto.provider.AESGCMCryptInHardware.a(Unknown Source)
at com.ibm.crypto.provider.AESGCMCipherInHardware.engineDoFinal(Unknown Source)
at javax.crypto.CipherSpi.a(Unknown Source)
at javax.crypto.CipherSpi.engineDoFinal(Unknown Source)
at javax.crypto.Cipher.doFinal(Unknown Source)
at com.ibm.jsse2.m.a(m.java:182)
at com.ibm.jsse2.d.a(d.java:50)
at com.ibm.jsse2.d.a(d.java:68)
at com.ibm.jsse2.s.a(s.java:50)
at com.ibm.jsse2.ap.a(ap.java:414)
at com.ibm.jsse2.ap.c(ap.java:584)
at com.ibm.jsse2.ap.wrap(ap.java:151)
at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:33)
at com.ibm.ws.channel.ssl.internal.SSLWriteServiceContext.encryptMessage(SSLWriteServiceContext.java:640)
at com.ibm.ws.channel.ssl.internal.SSLWriteServiceContext.write(SSLWriteServiceContext.java:156)
at com.ibm.ws.http.channel.internal.HttpServiceContextImpl.synchWrite(HttpServiceContextImpl.java:2377)
at com.ibm.ws.http.channel.internal.HttpServiceContextImpl.sendFullOutgoing(HttpServiceContextImpl.java:2154)
at com.ibm.ws.http.channel.internal.inbound.HttpInboundServiceContextImpl.finishResponseMessage(HttpInboundServiceContextImpl.java:959)
at com.ibm.wsspi.http.HttpOutputStream.flushBuffers(HttpOutputStream.java:450)
at com.ibm.wsspi.http.HttpOutputStream.close(HttpOutputStream.java:531)
at com.ibm.ws.webcontainer.osgi.response.WCOutputStream.close(WCOutputStream.java:201)
at com.ibm.ws.webcontainer.srt.SRTServletResponse.closeResponseOutput(SRTServletResponse.java:537)
at com.ibm.ws.webcontainer.srt.SRTServletResponse.closeResponseOutput(SRTServletResponse.java:460)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1503)
at com.ibm.datatools.shared.servletbridge.RootContextServlet.service(RootContextServlet.java:221)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1221)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:757)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:440)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1040)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4173)
at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.handleRequest(DynamicVirtualHost.java:296)
at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$1.run(DynamicVirtualHost.java:253)
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:457)
at com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:398)
at com.ibm.ws.threading.internal.Worker.run(Worker.java:380)
at java.lang.Thread.run(Thread.java:785)

Users with the same issue

Once, 5 days ago
Once, 1 month ago
5 times, 3 months ago
3 times, 3 months ago
Once, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.