PI75864: IN IBM RDZ 188.8.131.52, EXTRACT SQL KEY SHORTCUT OF CTRL+ALT+X FAILSTO OPEN SQL OUTLINE WINDOW WHEN ON SQL STATEMENT IN PLI MEMBER
Fixes are available
Rational Developer for System z Fix Pack 5 (184.108.40.206) for 9.5.1.
Rational Developer for System z Fix Pack 5 (220.127.116.11) for 9.5.1.
Rational Developer for z Systems Fix Pack 7 (18.104.22.168) for 9.5.1.
Rational Developer for z Systems Fix Pack 8 (22.214.171.124) for 9.5.1.
Rational Developer for z Systems Fix Pack 9 (126.96.36.199) for 9.5.1.
Closed as program error.
In IBM Rational Developer for z System 188.8.131.52, when a PL/I member has a SQL statement and the Extract SQL feature is used with the key shortcut of CTRL+ALT+X, the SQL Outline window fails to open and an exception is returned. Steps to recreate: 1) Open a PL/I test member with a SQL statement such as "dcl sysprint file;" 2) Put the cursor on the line with the text "dcl sysprint file;" or some other SQL statement. 3) Go to Window/Preferences. Set Keys to SQL extract for PL/I to CTRL+ALT+X and select Apply and OK. 4) Return to the PL/I editor window. Place the cursor on the line with the SQL statement and select CTRL+ALT+X. 5) When the feature works, the SQL Outline view opens to Schemas with no errors. When the feature does not work, the view window does not appear and an exception is returned in the error log: org.eclipse.e4.core.di.InjectionException: org.eclipse.core.commands.ExecutionException: While executing the action, an exception occurred at org.eclipse.e4.core.internal.di.MethodRequestor.execute(Unknown Source) ... Caused by: java.lang.NullPointerException at com.ibm.systemz.common.editor.FileNavigationLocation.<init>(Unkn own Source) at com.ibm.systemz.pl1.editor.sqloutline.populator.search.PL1SQLExt ractor.runForOutlineView(Unknown Source) at com.ibm.systemz.pl1.editor.sqloutline.populator.search.PL1SQLExt ractor.run(Unknown Source) at com.ibm.systemz.pl1.editor.jface.addon.action.PL1ExtractSQLActio n.run(Unknown Source) at org.eclipse.jface.action.Action.runWithEvent(Unknown Source)
NullPointerException was thrown when the extract SQL operation was performed on source code that failed to parse due to invalid syntax.
A handful of checks were put in place to cover cases where an object was being used without first verifying that it was not null. A warning message was also added in the event that no AST was present due to parsing failures. The problem listed in this APAR has been resolved with IBM Rational Developer for z Systems V184.108.40.206 Fix Pack which is available from the Recommended Fixes support download page: http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
Reported component name
Reported component ID
NoSpecatt / Xsystem
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
DEV FOR Z SYS
Fixed component ID
Applicable component levels