IBM Support

PM84243: Opening an xhtml file results in a NullPointerException

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempts to open an XHTML file result in
    java.lang.NullPointerException in java.io.File.?init?
    
    Problem:
    
    1. Create a facelet tag library defined in an XHTML file, so
    that it does not have an associated JAR file.
    
    2. Use this facelet tag library in a facelet (XHTML file).
    
    3. Open the facelet (XHTML file) with the Page Designer Editor.
    
    Results:
    
    The editor does not show the contents of the page. It shows the
    following exception:
    
    java.lang.NullPointerException
        at java.io.File.?init?(File.java:233)
        at
    com.ibm.etools.jsf.util.internal.FaceletTagUtil.getFileContents(
    FaceletTagUtil.java:382)
        at
    com.ibm.etools.jsf.util.internal.FaceletTagUtil.getCompositeDocu
    ment(FaceletTagUtil.java:328)
        at
    com.ibm.etools.jsf.util.internal.FaceletTagUtil.isCompositeInsta
    nce(FaceletTagUtil.java:301)
        at
    com.ibm.etools.jsf.util.internal.FaceletTagUtil.isCompositeInsta
    nce(FaceletTagUtil.java:289)
        at
    com.ibm.etools.jsf.util.JsfComponentUtil.isFaceletCompositeInsta
    nce(JsfComponentUtil.java:1267)
        at
    com.ibm.etools.jsf.util.internal.JsfVisualizerFactoryInfoProvide
    r.getTaglibKind(JsfVisualizerFactoryInfoProvider.java:27)
        at
    com.ibm.etools.webedit.taglib.vct.VisualizerFactoryLoader.load(V
    isualizerFactoryLoader.java:55)
        at
    com.ibm.etools.webedit.taglib.vct.VisualizerFactoryLoader.loadVi
    sualizer(VisualizerFactoryLoader.java:45)
        at
    com.ibm.etools.webedit.taglib.design.DesignTimeTagAdapterFactory
    .adapt(DesignTimeTagAdapterFactory.java:123)
        at
    org.eclipse.wst.sse.core.internal.provisional.AbstractNotifier.g
    etAdapterFor(AbstractNotifier.java:93)
    
    Local fix:
    
    There is no known workaround at this time.
    

Local fix

Problem summary

  • Attempts to open an XHTML file containing  tag libraries defined
     in a facelet tag library file result in
    java.lang.NullPointerException
    

Problem conclusion

  • Function updated to handle visualization for tag libraries
    defined in a facelet library file.
    
    The fix for this APAR is included in Rational Application
    Developer v8.0.4.3.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM84243

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    804

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-03-06

  • Closed date

    2013-10-28

  • Last modified date

    2013-10-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

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R804 PSY

       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":"8.0.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 October 2013