Export to GitHub

bobo-browse - issue #42

ArrayIndexOutOfBoundsException in com.browseengine.bobo.util.BigNestedIntArray.findValue(BigNestedIntArray.java:627)


Posted on Dec 26, 2011 by Quick Wombat

What steps will reproduce the problem? 1. maxID is exact multiple of MAX_SLOTS (In my case maxID=32678, MAX_SLOTS=1024)

In such case, _list size is 32

Lines 627,654 try to access _list[32]...

What is the expected output? What do you see instead? Working facets :)

What version of the product are you using? On what operating system? latest, windows

Please provide any additional information below. in the initialize function, _list should be initialized [(size + MAX_SLOTS) / MAX_SLOTS] instead if [(size + MAX_SLOTS -1) / MAX_SLOTS]

Status: New

Labels:
Type-Defect Priority-Medium