glassfish
  1. glassfish
  2. GLASSFISH-20507

NullPointerException in RuntimeModelBuilder.java line 195

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: web_services
    • Labels:
      None
    • Environment:

      GlassFish 3.1.2.2, Win 7 Pro SP 1 (32 Bit), JDK 1.7.0_21

      Description

      Application is working well on GlassFish 3.1.1, but not on 3.1.2.2!

      When deploying on GlassFish 3.1.2.2 instead (with same environmental conditions), it crashes when JAXB-unmarshalling the exact same data! Since it works in GF 3.1.1, it seems GF 3.1.2.2 replaces working parts of JAXB by failing replacements!

      Simplified stack trace:

      com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder$IDTransducerImpl.parse() (line 195) <--- throws NPE here
      com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedAccessorImpl.parse() (line 247)
      ...
      javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal() (line 219)
      de.quipsy.util.http.HttpClient (line ...) <--- catched in my code when doing marshaller.unmarshal(InputStream).

      Strange but true, this happens only with some XML content, but not with any other. And no, the InputStream is not null.

      We cannot migrate from 3.1.1 to 3.1.2.2 because of this issue!

      1. GF_20507.tar.gz
        2 kB
        Iaroslav Savytskyi

        Activity

        mkarg created issue -
        Martin Grebac made changes -
        Field Original Value New Value
        Assignee michael.y.chen [ michael.y.chen ] Iaroslav Savytskyi [ yaroska ]
        Priority Blocker [ 1 ] Critical [ 2 ]
        Tags incomplete
        Component/s web_services [ 10623 ]
        Iaroslav Savytskyi made changes -
        Attachment GF_20507.tar.gz [ 53304 ]
        alan42 made changes -
        Tags incomplete 4_0_1-review incomplete
        alan42 made changes -
        Tags 4_0_1-review incomplete 4_0_1-approved 4_0_1-review incomplete
        alan42 made changes -
        Tags 4_0_1-approved 4_0_1-review incomplete 4_0_1-approved incomplete

          People

          • Assignee:
            Iaroslav Savytskyi
            Reporter:
            mkarg
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: