Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3487

POJO Endpoint causes NPE at JBossWebMetaDataParser.parse

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Hide

      1. Deploy the artifact attached with the forum reference.
      2. Enable it.
      3. Look in the logs. You'll see the NPE stack trace. Enabling will hang which in itself is an issue.

      Show
      1. Deploy the artifact attached with the forum reference. 2. Enable it. 3. Look in the logs. You'll see the NPE stack trace. Enabling will hang which in itself is an issue.
    • Workaround Exists
    • Hide

      Users can use older jboss-web.xml version

      <jboss-web xmlns="http://www.jboss.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_6_0.xsd"
        version="6.0">
        <!-- other stuff -->
      </jobss-web>
      
      Show
      Users can use older jboss-web.xml version <jboss-web xmlns= "http: //www.jboss.com/xml/ns/javaee" xmlns:xsi= "http: //www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http: //www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_6_0.xsd" version= "6.0" > <!-- other stuff --> </jobss-web>

      Unaware of the Component/s and Affects Version/s. Please feel free to update the description or provide that in comment for future reference.
      POJO Endpoint deployed with web.xml and jboss-web.xml. When enabled, or attempted to, JBOSS AS 7 fails with NPE. Source code and deployable artifact attached with the forum post.

            ropalka Richard Opalka
            Abhi0123 Abhijit Sarkar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: