1 Dec 2007 22:19
Re: Property Cache: Null Pointer Exception
Andreas L Delmelle <a_l.delmelle <at> pandora.be>
2007-12-01 21:19:17 GMT
2007-12-01 21:19:17 GMT
On Nov 27, 2007, at 20:06, Andreas L Delmelle wrote: Hi Chris (and other interested parties) > On Nov 27, 2007, at 18:32, Chris Bowditch wrote: > >> Andreas L Delmelle wrote: >> >>> Cannot reproduce it here... >> >> Strange. The patch is definitely applied and I tried building it >> twice just to make sure. The second time it run and generated >> about 100 docs before failure. >> >>>> >>>> java.lang.NullPointerException >>>> at >>>> org.apache.fop.fo.properties.PropertyCache.cleanSegment >>>> (PropertyCache.java:99) >>> ... and this line can normally not cause an NPE. >>> Which JVM did you test it on? Do you run multiple concurrent >>> threads, or is it just a plain single-threaded iteration? >> >> Sun 1.5.0_12 on Windows XP SP 2. > > I tested on Apple JVM 1.4.2 and 1.5.0 on OS X 10.4. Both single- > and multi-threaded. > Heap remains stable here over hundreds of runs. > With multiple concurrent runs, my CPU usage easily reaches 180-190% > (2 CPUs)(Continue reading)
>
> Jeremias Maerki wrote:
> > On 29.11.2007 18:12:35 Vincent Hennebert wrote:
> >> Hi,
> >>
> >> Ready for yet another one? Everyone’s welcome to join the game
> >>
> >> If a table-row element has a forced height, must that height include
> >> border-separation and the cells’ borders, or only the cells’ bpd?
> >
> > The property (!) b-p-d is defined to specify the extent of the
> > content-rectangle which means border (and border-separation) and padding
> > do not belong in here.
>
> So? When a block-container has block children, its content rectangle
> includes the childrens’ borders, paddings and contents. A bpd explicitly
> set on the block-container is to be divided among the childrens’
> borders, paddings and bpds.
With bpd on a table for example, I mean the table's border and padding
are not included. I don't talk about its children.
>
> > The row-height trait (including border, border
> > sep, padding) is calculated as described in the CSS spec. I think/hope
> > that's what I implemented. Your example seems to prove that.
RSS Feed