DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38648>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38648





------- Additional Comments From [EMAIL PROTECTED]  2006-02-15 11:58 -------
FWIW: I still stumble over these inheritance issues myself from time to time... 
:-)

I think the cause for the NPE being thrown is the fact that there is no default 
set on the PropertyMaker for 
the border shorthand (see: FOPropertyMapping.createShorthandProperties()). As 
such, the call to 
PropertyList.getFromParent() returns null (instead of, say, an empty string "") 
This leads to 
PropertyMaker.make() trying to run that null value through the PropertyParser, 
and the parser chokes on it.

I'll add this ASAP, but would like to add a little warning as well. 
Something like: "Specified value of 'inherit', but the property was not found 
on the parent... Using default 
value."

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

Reply via email to