DO NOT REPLY [Bug 24017] - NullPointerException when using fo:list-item-label

2003-10-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24017.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24017

NullPointerException when using fo:list-item-label





--- Additional Comments From [EMAIL PROTECTED]  2003-10-27 03:06 ---
Actually, Andreas, the WONTFIX was with reference to a bug I found while 
trying (unsuccessfully) to duplicate the NPE, as I described while marking it 
as such. 

Furthermore, it really is unacceptable for FOP to NPE based on an incorrect FO 
input, no matter how mangled the FO is--it should exit cleanly.  The fact that 
an NPE occurred was the primary issue, not whether his FO was useful or even 
valid.  Perhaps WORKSFORME would have been a better designation had I not 
have found a separate bug on my own.

I thank Lars for taking the time to write this bug report.  And should he be 
able to trip up FOP with poorly written/invalid FO files (in particular for the 
1.0 version), such bugs would be highly welcome (although we may not be able to 
get to them immediately).  It's important FOP is able to exit gracefully--or at 
least not NPE!--when those occur.

Glen


DO NOT REPLY [Bug 24017] - NullPointerException when using fo:list-item-label

2003-10-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24017.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24017

NullPointerException when using fo:list-item-label

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Resolution|WONTFIX |INVALID



--- Additional Comments From [EMAIL PROTECTED]  2003-10-23 22:41 ---
check the spec:
q
fo:list-item-body does not generate any areas
/q

Contents should consist of 1 or more fo:block ( and maybe a few fo:marker ) 
elements.
FOP is only being compliant here... use an empty fo:block/ inside the body to 
avoid the error -- alternately, avoid generating a list-item with an empty body 
altogether.


DO NOT REPLY [Bug 24017] - NullPointerException when using fo:list-item-label

2003-10-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24017.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24017

NullPointerException when using fo:list-item-label





--- Additional Comments From [EMAIL PROTECTED]  2003-10-22 20:18 ---
Created an attachment (id=8677)
Patch fixing the bug