java.io.StreamCorruptedException: Type code out of range, is 0

Oracle Community | 807592 | 2 decades ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.io.StreamCorruptedException: Type code out of range, is 0

    Oracle Community | 2 decades ago | 807592
    java.io.StreamCorruptedException: Type code out of range, is 0
  2. 0

    IndexMissingException not thrown when doing a query on a non-existent index

    GitHub | 4 years ago | vlovich
    java.io.StreamCorruptedException: unexpected end of block data
  3. 0

    On qa-eac simply do 3 failed login attempts to get the captcha form. Then login with the correct credentials and you'll get this stack trace: {noformat} (Wrapped: CacheName=com.atlassian.confluence.cache.jcaptcha.ConfluenceCachingCaptchaStore, Key=2067410744) java.io.StreamCorruptedException: unexpected end of block data at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947) at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480) at com.octo.captcha.image.ImageCaptcha.readObject(ImageCaptcha.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2084) at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2202) at com.tangosol.coherence.component.net.Message.readObject(Message.CDB:3) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ReplicatedCache$ConverterFromInternal.convert(ReplicatedCache.CDB:12) at com.tangosol.coherence.component.util.CacheHandler.getCachedResource(CacheHandler.CDB:47) at com.tangosol.coherence.component.util.CacheHandler.get(CacheHandler.CDB:1) at com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1) at com.atlassian.confluence.cache.tangosol.TangosolCache.get(TangosolCache.java:28) at com.atlassian.confluence.cache.jcaptcha.ConfluenceCachingCaptchaStore.hasCaptcha(ConfluenceCachingCaptchaStore.java:32) at com.octo.captcha.service.AbstractCaptchaService.validateResponseForID(AbstractCaptchaService.java:137) at com.octo.captcha.service.AbstractManageableCaptchaService.validateResponseForID(AbstractManageableCaptchaService.java:365) at com.atlassian.confluence.security.seraph.ConfluenceElevatedSecurityGuard.performElevatedSecurityCheck(ConfluenceElevatedSecurityGuard.java:67) at com.atlassian.seraph.filter.PasswordBasedLoginFilter.runAuthentication(PasswordBasedLoginFilter.java:106) at com.atlassian.seraph.filter.PasswordBasedLoginFilter.login(PasswordBasedLoginFilter.java:69) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:121) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) {noformat}

    Atlassian JIRA | 7 years ago | Agnes Ro
    java.io.StreamCorruptedException: unexpected end of block data
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Stateful Serializing/Deserializing Problem in clusters

    Oracle Community | 8 years ago | 843830
    java.lang.RuntimeException: java.io.StreamCorruptedException: invalid type code: 00
  6. 0

    Strange problem when chaning java version

    Coderanch | 8 years ago | Humpe Caballero
    java.io.StreamCorruptedException

    1 unregistered visitors

    Root Cause Analysis

    1. java.io.StreamCorruptedException

      Type code out of range, is 0

      at java.io.ObjectInputStream.peekCode()
    2. Java RT
      ObjectInputStream.defaultReadObject
      1. java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1079)
      2. java.io.ObjectInputStream.readObject(ObjectInputStream.java:219)
      3. java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:403)
      3 frames
    3. com.itlinfosys.syslab
      AgentImpl.readObject
      1. com.itlinfosys.syslab.mfasys.agent.AgentImpl.readObject(AgentImpl.java:685)
      1 frame
    4. Java RT
      ObjectInputStream.inputObject
      1. java.io.ObjectInputStream.inputObject(ObjectInputStream.java:984)
      2. java.io.ObjectInputStream.readObject(ObjectInputStream.java:284)
      3. java.io.ObjectInputStream.inputArray(ObjectInputStream.java:795)
      4. java.io.ObjectInputStream.readObject(ObjectInputStream.java:280)
      5. java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:403)
      6. java.io.ObjectInputStream.inputObject(ObjectInputStream.java:985)
      6 frames