Skip to main content

     
  TPF : Support : Maintenance
APAR NUMBER:  PJ28529
PRODUCT:  TPF4
FUNCTIONAL AREA:  TPF MERGE TOOL
SHIPPED IN PUT:

ABSTRACT:
If there is a blank line at the end of input file 2, the TPF Merge Tool
will result in a NullPointerException and the subsequent Merge Result
window becomes empty.

APAR CONTENTS:
FEATURE   TYPE                STATUS    NAME
Base      Object              Changed   ibm/tpf/tpfmerge/CompositeView.class
Base      Object              Changed   ibm/tpf/tpfmerge/FileSave.class
Base      Object              Changed   ibm/tpf/tpfmerge/OutputView.class

PREREQUISITE APARS:  To be applied in order listed.
Base      Object              Changed   ibm/tpf/tpfmerge/CompositeView.class
 PJ27381(13)  PJ27722(14)
Base      Object              Changed   ibm/tpf/tpfmerge/FileSave.class
 PJ27381(13)  PJ27722(14)
Base      Object              Changed   ibm/tpf/tpfmerge/OutputView.class
 PJ27381(13)  PJ27722(14)

COMMENTS:
When using the TPF Merge Tool to compare two or three input files, if
the second input file contains an additional blank line at the end and
the Ignore Blank Lines option is not checked in Merge Options, a null
string may be passed to generate the output view. Several functions
that are called to generate the Merge Result window are not expecting a
null string, resulting in a NullPointerException from the TPF Merge
Tool.

SOLUTION:
The formatString() member functions in OutputView.java and
CompositeView.java, and the saveOutput() function in FileSave.java have
been updated to handle the condition of a null input string being
passed to prevent a NullPointerException from the TPF Merge Tool.


DEPENDENCIES

SEGMENTS TO BE ASSEMBLED OR COMPILED:
None.

SEGMENTS TO BE LINK EDITED:
None.

COREQS:
None.

MIGRATION CONSIDERATIONS:
The self-extracting executable for this fix is available through the 
TPF Merge Tool Web page. Download the fix and double-click the 
executable, and then specify the path that has the TPF Merge Tool 
installed. The executable will replace the necessary files in the 
appropriate directories.

DOWNLOAD INSTRUCTIONS:
http://www.ibm.com/software/htp/tpf/pages/maint.htm

BUILD INSTRUCTIONS:
None.

TEST INSTRUCTIONS:
None.


Click on Link(s) to Download File(s)
PJ28529.exe