IBM Support

PH10435: RATIONAL PROGRAMMING PATTERNS : NULL POINTER EXCEPTION WHEN GENERATING DATABASE BLOCK.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Rational Programming Patterns - v9.6.2
    When trying to generated a database block, the generation fails
    with null pointer exception :
    
    java.lang.NullPointerException
    at com.ibm.pdp.pacbase.generate.dataBaseBlock.generate.
       VisitorSQLBlockBase.specialDRVForDbe(VisitorSQLBlockBase.
       java:2805)
    at com.ibm.pdp.pacbase.generate.dataBaseBlock.generate.
       VisitorSQLBlockBase.casePacDRVLine(VisitorSQLBlockBase.
       java:2494)
    at com.ibm.pdp.pacbase.generate.dataBaseBlock.generate.
       VisitorSQLBlockBase.casePacDRLine(VisitorSQLBlockBase.
       java:358)
    at com.ibm.pdp.pacbase.generate.dataBaseBlock.generate.
       VisitorSQLBlockBase.doSwitchPB(VisitorSQLBlockBase.
       java:2868)
    at com.ibm.pdp.pacbase.generate.dataBaseBlock.generate.
       VisitorSQLBlockBase.doSwitch(VisitorSQLBlockBase.
       java:2835)
    at com.ibm.pdp.pacbase.generate.dataBaseBlock.generate.
       VisitorSQLBlockBase.doSwitch(VisitorSQLBlockBase.
       java:2812)
    at com.ibm.pdp.pacbase.generate.dataBaseBlock.generate.
       SQLBlockBaseGenerationNew.generateSQLBlockBase
       (SQLBlockBaseGenerationNew.java:124)
    at com.ibm.pdp.pacbase.generate.dataBaseBlock.generate.
       SQLBlockBaseGenerationNew.initSQL
       (SQLBlockBaseGenerationNew.java:198)
    at com.ibm.pdp.pacbase.generate.dataBaseBlock.generate.
       SQLBlockBaseGenerationNew.<init>
       (SQLBlockBaseGenerationNew.java:55)
    at com.ibm.pdp.pacbase.dataBaseBlock.generator.
       DataBaseBlockGeneratorLauncher.getNewPacbaseGenerator
       (DataBaseBlockGeneratorLauncher.java:49)
    at com.ibm.pdp.pacbase.generator.CommonPacGeneratorLauncher.
       _generate2(CommonPacGeneratorLauncher.java:355)
    at com.ibm.pdp.pacbase.generator.CommonPacGeneratorLauncher.
       generate2(CommonPacGeneratorLauncher.java:148)
    at com.ibm.pdp.pacbase.generator.AbstractPacbasePattern.
       generate(AbstractPacbasePattern.java:139)
    at com.ibm.pdp.framework.GenerationManager._generate
       (GenerationManager.java:401)
    at com.ibm.pdp.framework.GenerationManager.generateWithOption
       (GenerationManager.java:244)
    at com.ibm.pdp.framework.GenerationManager.generate
       (GenerationManager.java:300)
    at com.ibm.pdp.framework.GenerationManager.generate
       (GenerationManager.java:220)
    at com.ibm.pdp.framework.GenerationManager.generate
       (GenerationManager.java:215)
    at com.ibm.pdp.framework.GenerationManager$RunnableWithProgress
       .run(GenerationManager.java:113)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread
       .run(ModalContext.java:119)
    

Local fix

  • Fill the column field in -DBE window.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All RPP users generating some database blocs                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * In  SQL complement tab of Segment editor, if the original    *
    * table column  is not filled in, the generation of a database *
    * blocs calling this segment could end with an exception.      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH10435

  • Reported component name

    RATL PROG PATTE

  • Reported component ID

    5725H0300

  • Reported release

    962

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-04-01

  • Closed date

    2019-05-02

  • Last modified date

    2019-05-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R850 PSY

       UP

  • R900 PSY

       UP

  • R901 PSY

       UP

  • R910 PSY

       UP

  • R911 PSY

       UP

  • R912 PSY

       UP

  • R950 PSY

       UP

  • R951 PSY

       UP

  • R960 PSY

       UP

  • R961 PSY

       UP

  • R962 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSKPEG","label":"Rational Programming Patterns"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"962","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
17 October 2021