https://issues.apache.org/bugzilla/show_bug.cgi?id=50593

--- Comment #4 from Andreas L. Delmelle <adelme...@apache.org> 2011-03-23 
17:36:57 EDT ---
(In reply to comment #2)
> 
> this commit causes a IndexOutOfBoundsException, when there are unresolved
> bookmark references:
> 
> java.lang.IndexOutOfBoundsException: Index: 0
<snip /> 
> Before your commit, a simple warning was displayed in console: "WARNUNG:
> Bookmarks: Unresolved ID reference 'xyz' found."

A small oversight: since IDTracker.getPageViewportsContaining... now returns an
empty list instead of null when an ID reference is not found, AreaTreeHandler
needs an addition to the not-null check on line 339. Add '&&
!pageVPList.isEmpty()' for an immediate fix. I will commit this to trunk soon,
including the testcase.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to