Fixes are available
APAR status
Closed as program error.
Error description
Abstract: Attempts to create a JSP with a scriptlet in the HTML source code in any of the editors in RAD 9.0.0 results in RAD not validating the syntax errors in the scriptlet. Error Description: Steps to reproduce: 1. File > New > Other > Web Project 2. Name the web project 'testAppWEB' > Finish 3. Right click on testAppWEB project > New > Web Page 4. Select JSP as the web page template > call the web page 'index' > Finish 5. Go to the web perspective 6. Open index.jsp from your testAppWEB project in the Rich Page Editor 7. Enter the following source code (copy/paste): # --- BEGIN SOURCE CODE --- # <!DOCTYPE HTML><%@page language='java' contentType='text/html; charset=ISO-8859-1' pageEncoding='ISO-8859-1'%> <html> <head> <title>index</title> <meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1'> </head> <body> <% j; %> test </body> </html> # --- END SOURCE CODE --- # Expected result: JSP Editor of choice validates the error in the scriptlet on line '<% j; %>' as this is not syntactically correct java source code. Actual result: There is no error in the editor and there is eventually a java.lang.nullPointerException that will appear in the RAD workspace metadata log. WORKAROUND: There is no known workaround at this time.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** Java problems within JSP's are not being reported during validation.
Problem conclusion
The translation of the JSP has been fixed so that the problems are properly collected. The fix for this APAR is included in Rational Application Developer v9.0.1.
Temporary fix
Comments
APAR Information
APAR number
PI06591
Reported component name
RATL APP DEV WI
Reported component ID
5724J1901
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-11-20
Closed date
2013-12-16
Last modified date
2013-12-16
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
RATL APP DEV WI
Fixed component ID
5724J1901
Applicable component levels
R900 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
16 December 2013