https://issues.apache.org/bugzilla/show_bug.cgi?id=50276
--- Comment #3 from Simon Pepping <[email protected]> 2010-12-09 07:01:32 EST --- (In reply to comment #0) > Apparently the KnuthElement's position is null (oldElement.getPosition()). I > attached a patch which adds an additional check in order to avoid the > exception. This might not be a real solution, because I'm not sure if it's > valid that the position is null. I spent some more time on the validity of a null position. Auxiliary positions have null subposition, see InlineLayoutManager.getAuxiliaryPosition(), line: 597. If a position is unwrapped often enough, this null position is reached. The chosen solution, i.e. not unwrapping if the null position is reached, adds a layer of wrapping around the null position, because later in the method all positions are wrapped again. Apparently that is not a problem. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
