java.io.EOFException: Unexpected end of ZLIB input stream

Apache's JIRA Issue Tracker | Mark Payne | 1 year ago
  1. 0

    I caused the Provenance Repository to run out of disk space. When I attempted to restart, I got a huge stack trace that ended with the following: {noformat} Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowController': FactoryBean threw exception on object creation; nested exception is java.lang.OutOfMemoryError: Java heap space at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175) ~[na:na] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1517) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:314) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[na:na] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ~[na:na] ... 123 common frames omitted Caused by: java.lang.OutOfMemoryError: Java heap space at org.apache.nifi.provenance.StandardRecordReader.readLongString(StandardRecordReader.java:427) ~[na:na] at org.apache.nifi.provenance.StandardRecordReader.readAttributes(StandardRecordReader.java:372) ~[na:na] at org.apache.nifi.provenance.StandardRecordReader.nextRecord(StandardRecordReader.java:314) ~[na:na] at org.apache.nifi.provenance.PersistentProvenanceRepository.mergeJournals(PersistentProvenanceRepository.java:1646) ~[na:na] at org.apache.nifi.provenance.PersistentProvenanceRepository.recoverJournalFiles(PersistentProvenanceRepository.java:1357) ~[na:na] at org.apache.nifi.provenance.PersistentProvenanceRepository.recover(PersistentProvenanceRepository.java:577) ~[na:na] at org.apache.nifi.provenance.PersistentProvenanceRepository.initialize(PersistentProvenanceRepository.java:219) ~[na:na] at org.apache.nifi.controller.FlowController.<init>(FlowController.java:406) ~[na:na] at org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowController.java:349) ~[na:na] at org.apache.nifi.spring.FlowControllerFactoryBean.getObject(FlowControllerFactoryBean.java:63) ~[na:na] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168) ~[na:na] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1517) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:314) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[na:na] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ~[na:na] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) ~[na:na] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1477) ~[na:na] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1222) ~[na:na] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) ~[na:na] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[na:na] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[na:na] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ~[na:na] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) ~[na:na] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1477) ~[na:na] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1222) ~[na:na] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) ~[na:na] 2015-09-08 07:48:28,165 INFO [Thread-1] org.apache.nifi.NiFi Jetty web server shutdown completed (nicely or otherwise). {noformat} Looking it over, it appears to be the same issue that caused problems with the FlowFile repository in NIFI-902.

    Apache's JIRA Issue Tracker | 1 year ago | Mark Payne
    java.io.EOFException: Unexpected end of ZLIB input stream
  2. 0

    On doing BufferedReader.readLine() : Unexpected end of ZILB input stream

    Stack Overflow | 5 years ago | user882196
    java.io.EOFException: Unexpected end of ZLIB input stream
  3. 0

    Upgrade to 6.1.1ga2 stuck at Lucene search - Forums | Liferay

    liferay.com | 1 year ago
    org.apache.tika.exception.TikaException: TIKA-198: Illegal IOException from org.apache.tika.parser.microsoft.OfficeParser@1312519
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RE: Upgrade to 6.1.1ga2 stuck at Lucene search - Forums | Liferay

    liferay.com | 11 months ago
    org.apache.tika.exception.TikaException: TIKA-198: Illegal IOException from org.apache.tika.parser.microsoft.OfficeParser@1312519
  6. 0

    [VFS-394] java.io.EOFException: Unexpected end of ZLIB input stream - ASF JIRA

    apache.org | 6 months ago
    java.io.EOFException: Unexpected end of ZLIB input stream

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.EOFException

      Unexpected end of ZLIB input stream

      at java.util.zip.InflaterInputStream.fill()
    2. Java RT
      BufferedInputStream.read
      1. java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240)[na:1.7.0_65]
      2. java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)[na:1.7.0_65]
      3. java.util.zip.GZIPInputStream.read(GZIPInputStream.java:116)[na:1.7.0_65]
      4. java.io.BufferedInputStream.fill(BufferedInputStream.java:235)[na:1.7.0_65]
      5. java.io.BufferedInputStream.read(BufferedInputStream.java:254)[na:1.7.0_65]
      5 frames
    3. org.apache.nifi
      ByteCountingInputStream.read
      1. org.apache.nifi.stream.io.ByteCountingInputStream.read(ByteCountingInputStream.java:41)[nifi-utils-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
      1 frame
    4. Java RT
      DataInputStream.readUTF
      1. java.io.DataInputStream.readUnsignedShort(DataInputStream.java:337)[na:1.7.0_65]
      2. java.io.DataInputStream.readUTF(DataInputStream.java:589)[na:1.7.0_65]
      3. java.io.DataInputStream.readUTF(DataInputStream.java:564)[na:1.7.0_65]
      3 frames
    5. org.apache.nifi
      FlowControllerFactoryBean.getObject
      1. org.apache.nifi.provenance.StandardRecordReader.<init>(StandardRecordReader.java:91)[nifi-persistent-provenance-repository-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
      2. org.apache.nifi.provenance.serialization.RecordReaders.newRecordReader(RecordReaders.java:106)[nifi-persistent-provenance-repository-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
      3. org.apache.nifi.provenance.PersistentProvenanceRepository.recover(PersistentProvenanceRepository.java:548)[nifi-persistent-provenance-repository-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
      4. org.apache.nifi.provenance.PersistentProvenanceRepository.initialize(PersistentProvenanceRepository.java:219)[nifi-persistent-provenance-repository-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
      5. org.apache.nifi.controller.FlowController.<init>(FlowController.java:406)[nifi-framework-core-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
      6. org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowController.java:349)[nifi-framework-core-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
      7. org.apache.nifi.spring.FlowControllerFactoryBean.getObject(FlowControllerFactoryBean.java:63)[nifi-framework-core-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
      7 frames
    6. Spring Beans
      FactoryBeanRegistrySupport.doGetObjectFromFactoryBean
      1. org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      1 frame