Fixes are available
Rational Application Developer for WebSphere Software 9.0
Rational Software Architect 9.0
Rational Software Architect for WebSphere Software 9.0
Rational Application Developer for WebSphere Software Fix Pack 3 (8.0.4.3) for 8.0.4
Rational Application Developer Standard Edition Fix Pack 3 (8.0.4.3) for 8.0.4
APAR status
Closed as program error.
Error description
Abstract: Attempting to open a JavaScript File or building a JavaScript project might result in an ArrayIndexOutOfBoundsException in the method Parser#consumeEmptyStatement. Problem: Sometimes when you try to build a project that contains JavaScript code, an error message is shown in the workbench that indicates: ArrayIndexOutOfBoundsException In some scenario, attempting to open some JavaScript Files in JavaScript Editor also causes the same issue. If you look into your .log file in the .metadata directory or expand the error seen on the screen to view more details you may see similar stack trace: Internal validation error java.lang.ArrayIndexOutOfBoundsException: -2 org.eclipse.wst.jsdt.internal.compiler.parser.Parser.consumeEmpt yStatement(unknown source) org.eclipse.wst.jsdt.internal.compiler.parser.Parser.consumeRule (unknown source) org.eclipse.wst.jsdt.internal.compiler.parser.Parser.parse(unkno wn source) org.eclipse.wst.jsdt.internal.compiler.parser.Parser.parse(unkno wn source) org.eclipse.wst.jsdt.internal.compiler.parser.Parser.parse(unkno wn source) Local fix: There is no known workaround at this time
Local fix
Problem summary
An ArrayIndexOutOfBoundsException was being thrown in files starting with a blank line followed by an HTML style comment.
Problem conclusion
Added a check to prevent the ArrayIndexOutOfBoundsException. The fix for this APAR is included in Rational Application Developer v8.0.4.3.
Temporary fix
Comments
APAR Information
APAR number
PM80259
Reported component name
RATL APP DEV WI
Reported component ID
5724J1901
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-01-09
Closed date
2013-10-28
Last modified date
2013-10-28
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
R804 PSY
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":"8.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
28 October 2013