You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oro-dev@jakarta.apache.org by bu...@apache.org on 2002/11/12 21:31:44 UTC
DO NOT REPLY [Bug 14488] New: -
toString() on Perl5Util throws null pointer exception
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=14488>.
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=14488
toString() on Perl5Util throws null pointer exception
Summary: toString() on Perl5Util throws null pointer exception
Product: ORO
Version: 2.0.6
Platform: All
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Main
AssignedTo: oro-dev@jakarta.apache.org
ReportedBy: gow@4thpass.com
The practice of having toString()in the ORO classes return the results of the
last match or else throw null pointer exception is very detrimental to using
the class in interpreted environments such as beanshell and probably jython.
These environments call toString() as a matter of course after assigning a
constructed object to a variable. It would be very helpful if the toString()
method would return Object.toString() rather than throw a null pointer
exception in the event that it is called before any match on the object.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>