APAR status
Closed as program error.
Error description
APAR Error Description: Abstract: In Rational Developer for System Z (RDz) version 7.6.2.4, editing a COBOL file results in NullPointerExceptions Problem: The following errors are raised: a) error found in .log: Caused by: java.lang.NullPointerException at com.ibm.lpex.core.TextWindow$AccessibleListener.shown() at com.ibm.lpex.core.ViewListenerList.shown() b) error during copy/paste java.lang.NullPointerException at com.ibm.systemz.cobol.editor.lpex.parser.LpexMessageHandler.hand leSimpleMessage() at com.ibm.systemz.cobol.editor.lpex.parser.LpexMessageHandler.hand leMessage() at lpg.runtime.LexStream.reportLexicalError() at lpg.runtime.LexStream.reportError() at lpg.runtime.LexStream.reportError() at com.ibm.systemz.cobol.editor.core.copy.handler.CopyStatementHand ler.lexCpyBook() at com.ibm.systemz.cobol.editor.core.copy.handler.CopyStatementHand ler.parseCpyStmt() at com.ibm.systemz.cobol.editor.core.parser.CobolLexerLpgLexStream. handleCopyStatement() c) Another exception can also be found in the ?workspace?\.metadata\plugins\com.ibm.lpex\Editor.log java.lang.NullPointerException at org.eclipse.jface.text.AbstractDocument.getOffset(Unknown Source) at org.eclipse.jface.text.AbstractDocument.computeIndexInPositionLi st(Unknown Source) at org.eclipse.jface.text.AbstractDocument.computeIndexInPositionLi st(Unknown Source) at org.eclipse.jface.text.AbstractDocument.addPosition(Unknown Source) at org.eclipse.jface.text.AbstractDocument.addPosition(Unknown Source) at org.eclipse.jface.text.source.AnnotationModel.addPosition(Unknow n Source) at org.eclipse.jface.text.source.AnnotationModel.addAnnotation(Unkn own Source) at org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel.addMarke rAnnotation(Unknown Source) Local fix: There is no known workaround at this time for b) For a) and c), a workaround is to turn off the Quick Diff ruler in menu Windows ? Preferences, General ? Editors ? Text Editors ? Quick Diff
Local fix
Problem summary
While editing in LPEX, the following errors may be found in the editor and workspace logs: a) error found in .log: Caused by: java.lang.NullPointerException at com.ibm.lpex.core.TextWindow$AccessibleListener.shown() at com.ibm.lpex.core.ViewListenerList.shown() b) error during copy/paste java.lang.NullPointerException at com.ibm.systemz.cobol.editor.lpex.parser.LpexMessageHandler.hand leSimpleMessage() at com.ibm.systemz.cobol.editor.lpex.parser.LpexMessageHandler.hand leMessage() at lpg.runtime.LexStream.reportLexicalError() at lpg.runtime.LexStream.reportError() at lpg.runtime.LexStream.reportError() at com.ibm.systemz.cobol.editor.core.copy.handler.CopyStatementHand ler.lexCpyBook() at com.ibm.systemz.cobol.editor.core.copy.handler.CopyStatementHand ler.parseCpyStmt() at com.ibm.systemz.cobol.editor.core.parser.CobolLexerLpgLexStream. handleCopyStatement() c) Another exception can also be found in the <workspace>\.metadata\plugins\com.ibm.lpex\Editor.log java.lang.NullPointerException at org.eclipse.jface.text.AbstractDocument.getOffset(Unknown Source) at org.eclipse.jface.text.AbstractDocument.computeIndexInPositionLi st(Unknown Source) at org.eclipse.jface.text.AbstractDocument.computeIndexInPositionLi st(Unknown Source) at org.eclipse.jface.text.AbstractDocument.addPosition(Unknown Source) at org.eclipse.jface.text.AbstractDocument.addPosition(Unknown Source) at org.eclipse.jface.text.source.AnnotationModel.addPosition(Unknow n Source) at org.eclipse.jface.text.source.AnnotationModel.addAnnotation(Unkn own Source) at org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel.addMarke rAnnotation(Unknown Source)
Problem conclusion
Occasionally when editing, certain timing issues caused problems while updating various parts of the editor model, and were logged in the log files. LPEX will now attempt to prevent these timing issues and prevent errors from being logged. The problem listed in this APAR has been resolved with IBM Rational Developer for System z V7.6.2.5 Fix Pack which is available from the Recommended Fixes support download page: http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
Temporary fix
Comments
APAR Information
APAR number
PM82189
Reported component name
RATL DEV FOR SY
Reported component ID
5724T0700
Reported release
762
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-02-06
Closed date
2013-08-19
Last modified date
2013-08-19
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 DEV FOR SY
Fixed component ID
5724T0700
Applicable component levels
R762 PSY
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.6.2","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
19 August 2013