IBM Support

PH09057: INTERMITTENT NULLPOINTEREXCEPTION IN IDZ V14.1.3 OPENING A SONARLINT RULE DESCRIPTION OF A SEQUENTIAL DATA SET

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • In IBM Developer for z Systems (IDz) v14.1.3, when a sequential
    dataset is part of a zOS Project that is bound to SonarQube,
    and a zOS File System Mapping entry exists that maps the dataset
    to a workstation file extension, intermittent NPE can occur when
    selecting SonarLint Issue and choosing to see it's Rule
    Description. Here is the exception that can be seen in the error
    log file:
    
    java.lang.NullPointerException
    at
    org.sonarlint.eclipse.ui.internal.views.RuleDescriptionWebView.o
    pen(RuleDescriptionWebView.java:287)
    at
    org.sonarlint.eclipse.ui.internal.views.RuleDescriptionWebView.s
    etInput(RuleDescriptionWebView.java:261)
    at
    org.sonarlint.eclipse.ui.internal.command.ShowRuleDescriptionCom
    mand.execute(ShowRuleDescriptionCommand.java:33)
    

Local fix

Problem summary

  • When a sequential dataset is part of a zOS Project that is bound
     to SonarQube, and a zOS File System Mapping entry exists that
    maps the dataset to a workstation file extension, intermittent
    NPE can occur when selecting a SonarLint Issue and choosing to
    see it's Rule Description.  When the cache used to link the
    issue entry with the line of code in the file expired the
    resource could not be found causing the NullPointerException.
    

Problem conclusion

  • The scenario that causes the intermittent exceptions is somewhat
     isolated.  It occurred when the cache expired for SonarLint
    issues in a sequential dataset that is part of a zOS Project,
    and matches a zOS File System Mapping entry.  A modification has
     been made to correct this issue.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH09057

  • Reported component name

    DEV FOR Z SYS

  • Reported component ID

    5724T0700

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-02-26

  • Closed date

    2019-03-15

  • Last modified date

    2019-03-15

  • 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

    DEV FOR Z SYS

  • Fixed component ID

    5724T0700

Applicable component levels

[{"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":"E10","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
27 October 2020