APAR status |
Closed as program error.
| Error description
Customer is using the following syntax in their JSP. (JSP 1.1)<jsp:useBean id="blah" class="myClass"></jsp:useBean>.
This causes the following exception to be thrown
e365a9d0 ServletInstan X Uncaught
service() exception root cause {0}: {1}
"JSP 1.1 Processor"
java.lang.NullPointerException
at org.apache.jasper.compiler.JspParseEventListener.handleCharDa
ta Local fix
use <jsp:useBean id="blah" class="myClass"/> instead of<jsp:useBean id="blah" class="myClass"></jsp:useBean>. Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server 3.5.4 3.5.5 *
****************************************************************
* PROBLEM DESCRIPTION: Customer's code contained the following *
* <jsp:useBean id="me" class="myClass"> *
* </jsp:useBean> *
* Since the body ie. setProperty did not *
* exist, the code failed with a *
* NullPointerException. *
* Workaround was to not do this but *
* instead use. *
* <jsp:useBean id="me" class="myClass"/> *
****************************************************************
* RECOMMENDATION: *
****************************************************************
Althought the jsp specification suggests not using the body
tag style for useBean if no body tags (ie. setProperty) are
being used, the jsp should still parse the page and behave
according to the specification. Problem conclusion
Modified parser to allow useBean body tags without bodies to
be parsed. Temporary fixComments
APAR information | APAR number | PQ52372 | Reported component name | WAS ADVANCED AI | Reported component ID | 5648C8400 | Reported release | 350 | Status | CLOSED PER | PE | NoPE | HIPER | NoHIPER | Submitted date | 2001-09-12 | Closed date | 2001-09-13 | Last modified date | 2001-09-20 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:APAR is sysrouted FROM one or more of the following:
PQ52632
Modules/Macros APAR is sysrouted TO one or more of the following:PQ52632Modules/Macros
|
Fix information |
Fixed component name | WAS ADVANCED AI | Fixed component ID | 5648C8400 |
Applicable component levels | R350 PSY | UP |
|