Bug 15495 - NullPointerException thrown on <c:set>
Summary: NullPointerException thrown on <c:set>
Status: RESOLVED FIXED
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Standard Taglib (show other bugs)
Version: 1.0.1
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-18 19:02 UTC by Pierre Delisle
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 Pierre Delisle 2002-12-18 19:02:50 UTC
If <c:set> is used to set a property of a bean, and a setter method 
does not exist for that bean, a NullPointerException is thrown.

A JspException with an appropriate error message should be thrown instead.
(Situation exposed by Mike Cantrell (Mike.Cantrell@ind.alcatel.com) on the 
taglibs-user mailing list.)