Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-14328

DCB: Unable to decompress the .gz file

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • 30.0.0
    • 30.0.0
    • None
    • Security Level: Default (Default Security Scheme)
    • None
    • 3
    • Horizon - May 26 - June 9

    Description

      For a specific config that was sent to OpenNMS, there was an exception while parsing the config. We also have a copy of the garbled config. Need to check what's wrong with that config.

      13:40:30.307 ERROR [Karaf ssh console user null] Exception caught while executing command
      java.util.zip.ZipException: invalid distance too far back
              at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:165) ~[?:?]
              at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:118) ~[?:?]
              at java.io.FilterInputStream.read(FilterInputStream.java:107) ~[?:?]
              at com.google.common.io.ByteStreams.copy(ByteStreams.java:70) ~[?:?]
              at com.google.common.io.ByteStreams.toByteArray(ByteStreams.java:115) ~[?:?]
              at org.opennms.features.deviceconfig.service.DeviceConfigUtil.decompressGzipToBytes(DeviceConfigUtil.java:44) ~[?:?]
              at org.opennms.features.deviceconfig.shell.DcbGetCommand.execute(DcbGetCommand.java:91) ~[?:?]
              at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:84) ~[?:?]
              at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) ~[?:?]
              at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) ~[?:?]
              at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) ~[?:?]
              at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) ~[?:?]
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) ~[?:?]
              at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) ~[?:?]
              at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) ~[?:?]
              at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) ~[?:?]
              at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
              at java.lang.Thread.run(Thread.java:829) [?:?]
       
      

      Attachments

        Activity

          People

            cgorantla Chandra Gorantla
            cgorantla Chandra Gorantla
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: