A fix is available
APAR status
Closed as program error.
Error description
Environment: Windows Product name: IBM Rational Business Developer Program Version : 8.5.1.1 Description. The option 'Open on Selection' fails when performed on an EGL part which resides in a EGLAR Project throwing such as an NullPointerException via a dialog box. Example scenario: myCommon - is a EGLAR project which contain one record ?MYRECORD?, used by ?myProgram? myPrograms - is the project which contains the the program ?myProgram?, which uses the record ?MYRECORD? There are two different errors, depending on how 'Open on Selection' is activated on the MYRECORD entry and in both cases the selected part is not opened. Steps: a) Open myProgram.egl. b) Select MYRECORD. c) Press F3 , this fires a dialog box with error: ''Open on selection' did not complete normally. Please see the log for more information.java.lang.NullPointerException.' The associated error log shows: java.lang.NullPointerException at com.ibm.etools.edt.internal.core.ide.lookup.AbstractFileInfoCrea tor.isDuplicatePart(Unknown Source) at com.ibm.etools.edt.internal.core.ide.lookup.workingcopy.WorkingC opyFileInfoCreator.isDuplicatePart(Unknown Source) at com.ibm.etools.edt.internal.core.ide.lookup.AbstractFileInfoCrea tor.processFilePart(Unknown Source) at com.ibm.etools.edt.internal.core.ide.lookup.AbstractFileInfoCrea tor.access$0(Unknown Source) at com.ibm.etools.edt.internal.core.ide.lookup.AbstractFileInfoCrea tor$1.visit(Unknown Source) at com.ibm.etools.edt.core.ast.File.accept(Unknown Source) d) Or choose ?Open on Selection? from context menu where once again the part is not selected. However the error log view shows an Unhandled event loop exception with: com.ibm.etools.edt.internal.core.builder.BuildException: java.lang.ClassCastException: com.ibm.etools.edt.binding.NotFoundBinding incompatible with com.ibm.etools.edt.binding.FileBinding at com.ibm.etools.edt.internal.core.builder.AbstractProcessingQueue .process(Unknown Source) at com.ibm.etools.edt.internal.core.builder.AbstractProcessingQueue .process(Unknown Source) at com.ibm.etools.edt.internal.core.ide.compiler.workingcopy.Workin gCopyCompiler.compilePart(Unknown Source) at com.ibm.etools.edt.internal.core.ide.compiler.workingcopy.Workin gCopyCompiler.compilePart(Unknown Source) at com.ibm.etools.edt.internal.core.ide.utils.BoundNodeLocationUtil ity.getASTNodeForAddress(Unknown Source) at com.ibm.etools.egl.internal.editor.EGLOpenOnSelectionAction.run( Unknown Source) at org.eclipse.jface.action.Action.runWithEvent(Unknown Source) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSele ction(Unknown Source) at org.eclipse.jface.action.ActionContributionItem.access$2(Unknown Source) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Un known Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source) at org.eclipse.ui.internal.Workbench.runUI(Unknown Source) at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** When an open was done (view F3 or otherwise) in the IDE against a binary IR file part, a null pointer or class cast exception was possible because the internal logic didn't check on this condition and returned a NotFoundFile class, instead of the found file. This in turn caused the exception to occur and the part to not be displayable.
Problem conclusion
The software has been updated and a fixtest is available. Once the fixtest has been applied, no regenerating or compiling is required. The part will be open-able at that point.
Temporary fix
Comments
APAR Information
APAR number
PI07651
Reported component name
RATL BUS DEV
Reported component ID
5724S5000
Reported release
851
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-12-09
Closed date
2014-09-25
Last modified date
2014-09-25
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 BUS DEV
Fixed component ID
5724S5000
Applicable component levels
R851 PSN
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.1","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
17 October 2021