JetBrains-Research / big

BigWIG, BigBED and TDF for the JVM
MIT License
13 stars 2 forks source link

java.util.zip.DataFormatException: invalid distance too far back #39

Open iromeo opened 6 years ago

iromeo commented 6 years ago

Url: https://www.encodeproject.org/files/ENCFF213XMK/@@download/ENCFF213XMK.bigBed Occurs when fast scrolling in browser (0.8.0)

[Apr 26, 2018 01:25:00 ERROR root] [@46] java.util.zip.DataFormatException: invalid distance too far back
  offset=373385, limit=13373546, size=13839, compressed size=13839
  remaining=13839, uncompressedSize=0
  uncompressBufSize=30382

[Apr 26, 2018 01:25:00 ERROR RenderComponent] invalid distance too far back
Caused by: ERROR DataFormatException invalid distance too far back
java.util.zip.DataFormatException: invalid distance too far back
    at java.util.zip.Inflater.inflateBytes(Native Method)
    at java.util.zip.Inflater.inflate(Inflater.java:259)
    at org.jetbrains.bio.RomBuffer.decompress$big(RomBuffer.kt:151)
    at org.jetbrains.bio.big.BigFile.decompressAndCacheBlock$big(BigFile.kt:352)
    at org.jetbrains.bio.big.BigFile$query$2.invoke(BigFile.kt:336)
    at org.jetbrains.bio.big.BigFile$query$2.invoke(BigFile.kt:31)
    at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:253)
    at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:241)
    at kotlin.sequences.SequencesKt___SequencesKt.toCollection(_Sequences.kt:654)
    at kotlin.sequences.SequencesKt___SequencesKt.toMutableList(_Sequences.kt:684)
    at kotlin.sequences.SequencesKt___SequencesKt.toList(_Sequences.kt:675)
    at org.jetbrains.bio.big.BigFile.query(BigFile.kt:321)
    at org.jetbrains.bio.browser.tracks.impl.BigBedTrackView.readData(BigBedTrackView.kt:99)
    at org.jetbrains.bio.browser.tracks.impl.BigBedTrackView.initConfigImpl(BigBedTrackView.kt:91)
    at org.jetbrains.bio.browser.tracks.TrackView.initConfig(TrackView.kt:164)
    at org.jetbrains.bio.browser.util.TrackViewRenderer.renderSingleLocationModel(TrackViewRenderer.kt:74)
    at org.jetbrains.bio.browser.util.TrackViewRenderer.paintToImage(TrackViewRenderer.kt:54)
    at org.jetbrains.bio.browser.util.TrackViewRenderer.paintToImage$default(TrackViewRenderer.kt:35)
    at org.jetbrains.bio.browser.desktop.RenderComponent$restart$1.call(RenderComponent.kt:72)
    at org.jetbrains.bio.browser.desktop.RenderComponent$restart$1.call(RenderComponent.kt:28)
    at org.jetbrains.bio.CancellableTask$execute$1.call(CancellableTask.kt:48)
    at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424)
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)