Bug 18523 - NPE in MessageTag when key and bodyContent do not exist
Summary: NPE in MessageTag when key and bodyContent do not exist
Status: RESOLVED DUPLICATE of bug 18521
Alias: None
Product: Taglibs
Classification: Unclassified
Component: I18N Taglib (show other bugs)
Version: unspecified
Hardware: All All
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-31 14:49 UTC by Patrick Samson
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Samson 2003-03-31 14:49:02 UTC
When the 'key' is not found in doStartTag() (_value
is then null) and there is no bodyContent in this
i18n:message or any other before, then bodyContent
is null and .getString() in doEndTag() throws a
null pointer exception.
Comment 1 Patrick Samson 2004-04-07 09:08:12 UTC
To fix this bug, apply the patch of bug #18521.
Comment 2 Felipe Leme 2004-06-04 04:46:12 UTC

*** This bug has been marked as a duplicate of 18521 ***