Gerhard Froehlich wrote:
Hi,
In the Cocoon project we have some optional roles. From time to time they have no implementation behind: Like: <role name="org.apache.cocoon.components.saxconnector.SAXConnector" shorthand="sax-connector"/>
This throws a ugly NPE on runtime. For me that's a) not the correct Exception for this issue and b) maybe we can implement some default class like org.apache.avalon.excalibur.NoImplementation or something else to avoid a Exception.
What do you think?
I believe I already fixed the NPE issue.
Try CVS HEAD for Cocoon2 today. You shouldn't see any NPE.
--
"They that give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>