IBM Support

LO48200: SERVER CRASH LOADING XPAGE WITH NULL VALUE OF DBNAME IN BEFOREPA GELOAD EVENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • In a server-side xPage, you have the ability to add a
    server-side JavaScript
    beforePageLoadEvent.  If you add code to this section that
    attempts to get
    handle to a db object, and the db object passed is a NULL value,
    this will
    crash the Domino server when the xPage is loaded.
    
    Steps to reproduce in a new database:
    1.  create new xPage
    2.  at the bottom, switch to Events:  Page - beforePageLoad
    event
    3.  add this code to the JavaScript editor for this event:
    session.getDatabase(
    database.getServer(), null);
    4.  Check the xPage's "Source," such that the complete source is
    this:
    
    <?xml version="1.0" encoding="UTF-8"?>
    <xp:view xmlns:xp="http://www.ibm.com/xsp/core">
    
     <xp:this.beforePageLoad><![CDATA[
    #{javascript:session.getDatabase(database.getServer(),
    null);}]]></
    xp:this.beforePageLoad></xp:view>
    
    5.  Save/Close the xPage
    6.  Load this xPage into a browser
    RESULTS:  Domino Server will crash.
    
    Test db is attached.  Steps to reproduce in test db:
    a.)  detach and unzip db to server's data directory
    b.)  call xpage to run on your server with url:
    http://yourservername/servercrash.nsf/CrashMe.xsp
    

Local fix

  • change the code to point to a specific db object
    

Problem summary

  • A programming error was found but will not be corrected. It
     will be a permanent restriction.
    

Problem conclusion

  • A programming error was found but will not be corrected. It
     will be a permanent restriction.
    

Temporary fix

Comments

  • This APAR is associated with SPR# AKNX822P79.
    

APAR Information

  • APAR number

    LO48200

  • Reported component name

    DOMINO SERVER

  • Reported component ID

    5724E6200

  • Reported release

    851

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-01-25

  • Closed date

    2010-03-10

  • Last modified date

    2010-03-10

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

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

Modules/Macros

  • NA
    

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSKTMJ","label":"Lotus Domino"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
10 March 2010