IBM Support

PM34388: MENU WITH RESULTS PER PAGE SET TO ZERO THROWS EXCEPTION

 

APAR status

  • Closed as program error.

Error description

  • Menu with results per page set to zero throws exception
    
    [3/9/11 7:26:14:054 EST] 000000cd Cmpnt         W   IWKPC1085X:
    
    Exception while
    rendering inlined component type: class com.aptrix.pluto.cmpnt.
    CmpntReference -
    Exception: java.lang.ArithmeticException: divide by zero
    java.lang.ArithmeticException:
    divide
    by zero
    at
    com.aptrix.pluto.cmpnt.MenuQueryCache.getControllables
    (MenuQueryCache
    .java:660)
    at
    com.aptrix.pluto.cmpnt.MenuCmpnt.resolve(MenuCmpnt.java:2065)
    at
    com.aptrix.pluto.cmpnt.CmpntUtils.resolveToText(CmpntUtils.
    java:345)
    at com.aptrix.pluto.cmpnt.BaseReferenceCmpnt.getResult
    (BaseReferenceCmpn
    t.java:1789)
    at com.aptrix.pluto.cmpnt.BaseReferenceCmpnt.resolve
    (BaseReferenceCmpnt.
    java:1524)
    at
    com.aptrix.pluto.cmpnt.CmpntUtils.resolveToText(CmpntUtils.
    java:345)
    at com.aptrix.pluto.cmpnt.BaseReferenceCmpnt.getResult
    (BaseReferenceCmpn
    t.java:1789)
    at com.aptrix.pluto.cmpnt.BaseReferenceCmpnt.resolve
    (BaseReferenceCmpnt.
    java:1524)
    at
    com.aptrix.pluto.cmpnt.Cmpnt.resolveCmpnt(Cmpnt.java:160)
    at com.aptrix.pluto.cmpnt.BaseReferenceCmpnt.resolve
    (BaseReferenceCmpnt.
    java:1576)
    at
    com.aptrix.pluto.cmpnt.Cmpnt.resolveCmpnt(Cmpnt.java:160)
    

Local fix

Problem summary

  • Menu with results per page set to zero throws exception
    
    [3/9/11 7:26:14:054 EST] 000000cd Cmpnt         W   IWKPC1085X:
    
    Exception while
    rendering inlined component type: class com.aptrix.pluto.cmpnt.
    CmpntReference -
    Exception: java.lang.ArithmeticException: divide by zero
    java.lang.ArithmeticException:
    divide
    by zero
    at
    com.aptrix.pluto.cmpnt.MenuQueryCache.getControllables
    (MenuQueryCache
    .java:660)
    at
    com.aptrix.pluto.cmpnt.MenuCmpnt.resolve(MenuCmpnt.java:2065)
    at
    com.aptrix.pluto.cmpnt.CmpntUtils.resolveToText(CmpntUtils.
    java:345)
    at com.aptrix.pluto.cmpnt.BaseReferenceCmpnt.getResult
    (BaseReferenceCmpn
    t.java:1789)
    at com.aptrix.pluto.cmpnt.BaseReferenceCmpnt.resolve
    (BaseReferenceCmpnt.
    java:1524)
    at
    com.aptrix.pluto.cmpnt.CmpntUtils.resolveToText(CmpntUtils.
    java:345)
    at com.aptrix.pluto.cmpnt.BaseReferenceCmpnt.getResult
    (BaseReferenceCmpn
    t.java:1789)
    at com.aptrix.pluto.cmpnt.BaseReferenceCmpnt.resolve
    (BaseReferenceCmpnt.
    java:1524)
    at
    com.aptrix.pluto.cmpnt.Cmpnt.resolveCmpnt(Cmpnt.java:160)
    at com.aptrix.pluto.cmpnt.BaseReferenceCmpnt.resolve
    (BaseReferenceCmpnt.
    java:1576)
    at
    com.aptrix.pluto.cmpnt.Cmpnt.resolveCmpnt(Cmpnt.java:160)
    

Problem conclusion

  • WCM changed to take into account the possibility of 0 items per
    page
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM34388

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-03-09

  • Closed date

    2011-03-11

  • Last modified date

    2011-03-11

  • 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

    LOTUS WEB CONT

  • Fixed component ID

    5724I2900

Applicable component levels

  • R610 PSY

       UP

  • R615 PSY

       UP

[{"Business Unit":{"code":"BU051","label":"N\/A"},"Product":{"code":"SUPPORT","label":"IBM Web Content Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB33","label":"N\/A"}}]

Document Information

Modified date:
21 December 2021