YaCy-Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000641YaCy[All Projects] Generalpublic2016-03-07 23:022016-03-08 01:07
ReporterBuBu 
Assigned ToBuBu 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
ETAnone 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000641: sevenZip parser runtime error on LZMA BCJ2 compression format
DescriptionsevenZip parser produces runtime error on 7z archive with format
LZMA BCJ2
Steps To Reproduceparse local or remote file, like http://d.7-zip.org/a/7z920_extra.7z [^]

error happens in modified 7z jar, while original j7zip library unpacks the file ok.

it seems that in modified SevenZip.Archive.Common.CoderMixer2ST.code()
in call to mainCoder.Coder2.Code() the parameter seqInStreams is incorrect.
Additional Informationjava.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
    at java.util.Vector.get(Vector.java:748)
    at SevenZip.Compression.Branch.BCJ2_x86_Decoder.CodeReal(BCJ2_x86_Decoder.java:54)
    at SevenZip.Compression.Branch.BCJ2_x86_Decoder.Code(BCJ2_x86_Decoder.java:166)
    at SevenZip.Archive.Common.CoderMixer2ST.Code(CoderMixer2ST.java:116)
    at SevenZip.Archive.SevenZip.Decoder.Decode(Decoder.java:204)
    at SevenZip.Archive.SevenZip.Handler.Extract(Handler.java:119)
    at net.yacy.document.parser.sevenzipParser.parse(sevenzipParser.java:98)
    at net.yacy.document.parser.sevenzipParser.parse(sevenzipParser.java:119)
    at net.yacy.document.parser.sevenzipParser.parse(sevenzipParser.java:133)
    at net.yacy.document.parser.sevenzipParserTest.testParse(sevenzipParserTest.java:37)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1179)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1030)
------------- ---------------- ---------------
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001224)
BuBu (developer)
2016-03-08 01:07

https://github.com/yacy/yacy_search_server/commit/5b07f3473ef7e155ccaed383ce97f65b76f6a860 [^]

- Issue History
Date Modified Username Field Change
2016-03-07 23:02 BuBu New Issue
2016-03-07 23:21 BuBu Assigned To => BuBu
2016-03-07 23:21 BuBu Status new => assigned
2016-03-08 01:07 BuBu Note Added: 0001224
2016-03-08 01:07 BuBu Status assigned => resolved
2016-03-08 01:07 BuBu Resolution open => fixed


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker