jax-ws
  1. jax-ws
  2. JAX_WS-1022

JSR 269 version of WebServiceAp contains potential null pointer exception

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      If you look at line 151 in WebServiceAp on the 22 branch you will notice it tries to get hold of a system property without first checking to see if it is set:

      http://java.net/projects/jax-ws/sources/sources/content/branches/jaxws22/jaxws-ri/tools/wscompile/src/com/sun/tools/ws/processor/modeler/annotation/WebServiceAp.java?rev=12761

      options.verbose = System.getProperty("sun.java.command").contains("-verbose");

      I was workaround this when invoke the Ap from inside of an IDE; but this code should be more careful about assuming the environment it is running in.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Iaroslav Savytskyi
            Reporter:
            gdavison
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: