Hi guys,
I have no idea if this bug is already mentioned somewhere but I could
not find it anywhere.
Or maybe I am just being stupid. In this case I appologize. :)
FeedbackMessage
public String toString()
{
return "[FeedbackMessage message = \"" + getMessage() +
"\", reporter = "
+ getReporter().getId() + ", level = " +
getLevelAsString() + "]";
}
Now, if I call 'Session.error("Error")', Session.error calls
'addFeedbackMessage(String, int)' which in turn calls
'getFeedbackMessages().add(null, message, level)'. The latter then
creates a new FeedbackMessage with the reporter being initialized as
'null'.
With debugging enabled, 'FeedbackMessages.add(FeedbackMessage)' then
throws an exception when calling 'toString()' on the FeedbackMessage (or
in any other situation where 'FeedbackMessage.toString()' is invoked on
the object).
Am I right or are you all just laughing at me now?!
Cheers
Che
______________________________
DISCLAIMER: This e-mail message is intended for the addressee(s) or authorized
recipient only. If you are not the addressee, or an authorized recipient, you
are specifically advised that any use, distribution, publication, copying or
repetition of this information is prohibited. If you have received this
information in error, please notify us immediately (+31 (0)20 50 25 800) and
destroy this message.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop