Hi Vincent,

when you ask on this list, you should provide a shrinked XSL-FO that
demonstrates the problem (the one on Debian buglist is about 2MB, witch
is quite big).

That said, I've found that using fo:inline within a fo:block with
hyphenate="true" linefeed-treatment="preserve" throws an NPE.

Fortunately, I can only reproduce it on FOP 0.95, while FOP 1.0 passes.

So, you have 2 options:
 - either use FOP 1.0
 - or replace such fo:inline with fo:wrapper, since from what I've seen
they are used as properties carriers, not as related area properties
(i.e. padding, border, background, etc.).

Le 06/12/2011 11:46, Vincent Hobeïka a écrit :
> Sorry, I realise my report was quite imprecise.
> 
> fop encounters a NullPointerException in
> InlineStackingLayoutManager.java:277
> 
> I have found several reports regarding this kind of error in fop bug
> tracker:
> 
> https://issues.apache.org/bugzilla/show_bug.cgi?id=46386
> 
> https://issues.apache.org/bugzilla/show_bug.cgi?id=48765
> 
> So far I'm not sure if they are related.
> 
> Best regards,
> 
> -- 
> 
> Vincent Hobeïka
> 

-- 
Pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to