Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1982

NPE in SkinUtils when there is an empty META-INF/trinidad-skins.xml file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0-beta-1
    • Skinning
    • None

    Description

      Create a skinning jar with a META-INF/trinidad-skins.xml file that is empty.
      You'll get:
      java.lang.NullPointerException
      at org.apache.myfaces.trinidadinternal.skin.SkinUtils._registerSkinExtensionsA
      ndAdditions(SkinUtils.java:392)
      at org.apache.myfaces.trinidadinternal.skin.SkinUtils.registerSkinExtensions(S
      kinUtils.java:133)
      at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.init(Glob
      alConfiguratorImpl.java:406)

      Attachments

        Activity

          People

            jeanne.waldman@oracle.com Jeanne Waldman
            jeanne.waldman@oracle.com Jeanne Waldman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: