NullPointerException in com.sun.crypto.provider.GCTR.reset
Issue
- We occasionally see no response from JBoss with the following error:
java.lang.NullPointerException: null
at java.lang.System.arraycopy(Native Method) ~[?:1.8.0_40]
at com.sun.crypto.provider.GCTR.reset(GCTR.java:125) ~[sunjce_provider.jar:1.8.0_20]
at com.sun.crypto.provider.GCTR.doFinal(GCTR.java:116) ~[sunjce_provider.jar:1.8.0_20]
at com.sun.crypto.provider.GaloisCounterMode.doLastBlock(GaloisCounterMode.java:343) ~[sunjce_provider.jar:1.8.0_20]
at com.sun.crypto.provider.GaloisCounterMode.decryptFinal(GaloisCounterMode.java:511) ~[sunjce_provider.jar:1.8.0_20]
at com.sun.crypto.provider.CipherCore.finalNoPadding(CipherCore.java:1023) ~[sunjce_provider.jar:1.8.0_20]
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:960) ~[sunjce_provider.jar:1.8.0_20]
at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:479) ~[sunjce_provider.jar:1.8.0_20]
at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:830) ~[?:1.8.0_20]
at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730) ~[?:1.8.0_20]
at javax.crypto.Cipher.doFinal(Cipher.java:2460) ~[?:1.8.0_20]
at sun.security.ssl.CipherBox.decrypt(CipherBox.java:535) ~[?:1.8.0_40]
at sun.security.ssl.EngineInputRecord.decrypt(EngineInputRecord.java:200) ~[?:1.8.0_40]
at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:974) ~[?:1.8.0_40]
at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:907) ~[?:1.8.0_40]
at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781) ~[?:1.8.0_40]
at io.undertow.protocols.ssl.ALPNHackSSLEngine.unwrap(ALPNHackSSLEngine.java:265) ~[undertow-core-2.2.5.Final-redhat-00001.jar!/:2.2.5.Final-redhat-00001]
Environment
- Java 8
- JBoss Enterprise Application Platform (EAP) 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.