Uploaded image for project: 'JBoss Metadata'
  1. JBoss Metadata
  2. JBMETA-377

NullPointerException occurs during parsing web.xml with missing context param-name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 8.1.1.Final
    • 8.0.0.Final, 7.1.1.Final
    • common
    • None
    • Hide
      • Deploy a WAR on WildFly with the following entry inside the web.xml file:
              <context-param>     
                <!--param-name>AnyName</param-name-->
                <param-value>AnyValue</param-value>
              </context-param>
        
      Show
      Deploy a WAR on WildFly with the following entry inside the web.xml file: <context-param> <!--param-name>AnyName</param-name--> <param-value>AnyValue</param-value> </context-param>

      [Opening this issue to track down the issue specific to jboss metadata]

      While deploying a WAR, If the web.xml file is used which has context <param-value> defined, However it has missing <param-name> then it causes NullPointerException.

      Refer to for more details: https://issues.jboss.org/browse/WFLY-3699

              rhn-cservice-bbaranow Bartosz Baranowski
              jaysensharma Jay SenSharma (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: