IBM Support

PM12990: URLGENERATIONTAG THROWS NULLPOINTEREXCEPTION WHEN POINTING TO IN ACTIVE PAGE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The UrlGenerationTag (or rather its helper class
    CreateUrlCommand) throws a NullPointerException when the URL to
    be generated is an internal URL to a Portal page that is set to
    inactive. The following exception is printed in the traces:
    
    [20/04/10 17:12:21:828 IST] 00000044 UrlGeneration E
    com.ibm.wps.engine.tags.UrlGenerationTag doStartTag EJPEJ0002E:
    An error
    occurred while executing CreateUrlCommand.
    
    com.ibm.wps.command.CommandException:
    EJPEJ0013E: Execution of CreateUrlCommand failed.
     at
    com.ibm.wps.util.CreateUrlCommand.execute(CreateUrlCommand
    .java:1352)
     at
    com.ibm.wps.engine.tags.UrlGenerationTag
    .doStartTag(UrlGenerationTag.java:397)
     at com.ibm._jsp._Default._jspService(_Default.java:5526)
     at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase
    .java:87)
      ...
    Caused by: java.lang.NullPointerException
    at com.ibm.wps.util.CreateUrlCommand.execute(CreateUrlCommand
    .java:896)
      ... 71 more
    

Local fix

  • None available.
    

Problem summary

  • The UrlGenerationTag (or rather its helper class
    CreateUrlCommand) throws a NullPointerException when the URL to
    be generated is an internal URL to a Portal page that is set to
    inactive. The following exception is printed in the traces:
    
    [20/04/10 17:12:21:828 IST] 00000044 UrlGeneration E
    com.ibm.wps.engine.tags.UrlGenerationTag doStartTag EJPEJ0002E:
    An error occurred while executing CreateUrlCommand.
    com.ibm.wps.command.CommandException: EJPEJ0013E: Execution of
    CreateUrlCommand failed.
    at
    com.ibm.wps.util.CreateUrlCommand.execute(CreateUrlCommand.java:
    1352)
    at
    com.ibm.wps.engine.tags.UrlGenerationTag.doStartTag(UrlGeneratio
    nTag.java:397)
    at com.ibm._jsp._Default._jspService(_Default.java:5526)
    at
    com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
    ... Caused by: java.lang.NullPointerException at
    com.ibm.wps.util.CreateUrlCommand.execute(CreateUrlCommand.java:
    896)
    ... 71 more
    

Problem conclusion

  • This APAR introduces checks for inactive pages.
    
    Failing Module(s):
       Engine: Tags & Commands
    
    Affected Users:
       All users
    
    Version Information:
       Portal Version(s): 6.1.0.3
        Pre-Requisite(s): ---
         Co-Requisite(s): ---
    
    Manuel Steps:
       None
    
    Platform Specific:
       This fix applies to all platforms.
    
    PM12990 is part of Cumulative Fix 05 for Portal 6.1.0.3 /
    6.1.5.0.
    
    The Cumulative Fix is available from Fix Central:
    
    http://www.ibm.com/eserver/support/fixes/fixcentral/swgquickorde
    r?apar=PM13061&productid=WebSphere%20Portal&brandid=5
    
    You may need to type or paste the complete address into your Web
    browser.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM12990

  • Reported component name

    WEBSPHERE PORTA

  • Reported component ID

    5724E7600

  • Reported release

    61C

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-04-26

  • Closed date

    2010-05-27

  • Last modified date

    2010-05-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

    WEBSPHERE PORTA

  • Fixed component ID

    5724E7600

Applicable component levels

  • R61C PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1.0.3","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
21 December 2021