IBM Support

PK64807: NULLPOINTEREXCEPTION WHEN PUBLISHING AN APPLICATION THAT HAS A WEB LIBRARY LINKED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    -Windows XP Professionel
    -Rational Application Developer 7.0.0.6
    
    Reproducible Y/N:
    Y
    Description of problem:
    
    
    Whenever a web library is added and that web library is a
    variable only with no extension then the NullPointerException
    occurs.
    
    the exception is like the following:
    !ENTRY com.ibm.ws.ast.st.v61.core 4 0 2008-04-16 16:49:27.078
    !MESSAGE Could not publish to the server.
    !STACK 0
    java.lang.NullPointerException
     at
    com.ibm.etools.wrd.websphere.internal.operations.LooseConfigUpda
    teOperation.getAbsolutePath(Unknown Source)
     at
    com.ibm.etools.wrd.websphere.internal.operations.LooseConfigUpda
    teOperation.setPaths(Unknown Source)
     at
    com.ibm.etools.wrd.websphere.internal.operations.LooseConfigUpda
    teOperation.addLooseWebArchives(Unknown Source)
     at
    com.ibm.etools.wrd.websphere.internal.operations.LooseConfigUpda
    teOperation.addLooseModules(Unknown Source)
     at
    com.ibm.etools.wrd.websphere.internal.operations.LooseConfigUpda
    teOperation.addLooseApplicationContents(Unknown Source)
     at
    com.ibm.etools.wrd.websphere.internal.operations.LooseConfigUpda
    teOperation.createLooseConfig(Unknown Source)
     at
    com.ibm.etools.wrd.websphere.internal.operations.LooseConfigUpda
    teOperation.execute(Unknown Source)
     at
    com.ibm.etools.wrd.websphere.internal.operations.ApplicationPubl
    ishOperation.doIt(Unknown Source)
     at
    com.ibm.etools.wrd.websphere.internal.operations.ApplicationPubl
    ishOperation.execute(Unknown Source)
     at
    com.ibm.etools.wrd.websphere.internal.operations.WASPublisherImp
    l.addApplication(Unknown Source)
     at
    com.ibm.ws.ast.st.v61.core.internal.WASServerBehaviour.publishWr
    dDelta(Unknown Source)
     at
    com.ibm.ws.ast.st.v61.core.internal.WASServerBehaviour.publishMo
    dules(Unknown Source)
     at
    org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publis
    h(Unknown Source)
     at
    org.eclipse.wst.server.core.internal.Server.doPublish(Unknown
    Source)
     at org.eclipse.wst.server.core.internal.Server.publish(Unknown
    Source)
     at
    org.eclipse.wst.server.core.internal.PublishServerJob.run(Unknow
    n Source)
     at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of WebSphere Application Server   *
    *                  Toolkit v6.1.1 and Rational Application     *
    *                  Developer v7.0.                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: An Eclipse variable that points         *
    *                      directly to a file added as a web       *
    *                      library causes a NullPointerException   *
    *                      during publishing.                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If an Eclipse variable which points directly to an individual
    file is added as a Web Library then it will cause a
    NullPointerException during looseconfig generation.  This is
    happening because we are looking for the file extension of file
    file but since it is a variable then there is no file extension.
    

Problem conclusion

  • A check has been added for an empty file extension to ensure
    that this NullPointerException does not happen during
    looseconfig generation.
    
    The fix for this APAR is currently targeted for inclusion in
    Rational Application Developer fixpack v7.0.0.7 and WebSphere
    Application Server Toolkit fixpack v6.1.1.7.
    
    Please refer to the Recommended Updates page for delivery
    information:
    http://www.ibm.com/support/docview.wss?uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK64807

  • Reported component name

    WEBAPP SERVER A

  • Reported component ID

    5724J0820

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-04-22

  • Closed date

    2008-04-28

  • Last modified date

    2008-04-28

  • 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

    WEBAPP SERVER A

  • Fixed component ID

    5724J0820

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
24 October 2021