IBM Support

PK60517: JSF tools needs better handling of invalid TLD

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using PageDesigner to create Facelet pages (which works reasonab
    ly wel) has problems though when TLDs created just to work in a
    JSP editor for building a Facelet (but not for runtime) are inva
    lid (no tagclass). This invalid TLD will cause an NullPointerExc
    eption as the tool is parsing the TLD.
    

Local fix

Problem summary

  • The problem was caused when a TLD had a class-name element
    under a tag definition but no content inside that class-name
    element.  The code was expecting (and not null-checking for)
    a child #text node whose value is the class name string.
    

Problem conclusion

  • The code has been changed to specifically look for a child
    #text node in the DOM and handle the null case by assuming
    and returning a null classname string. This makes the tool
    tolerate the unexpected case of empty class-names without
    failure.
    
    Fix delivered in Rational Application Developer V7007.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK60517

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-02-05

  • Closed date

    2008-06-27

  • Last modified date

    2008-06-27

  • 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 APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R700 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 June 2008