Issue Details (XML | Word | Printable)

Key: JAX_WS-1022
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Iaroslav Savytskyi
Reporter: gdavison
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
jax-ws

JSR 269 version of WebServiceAp contains potential null pointer exception

Created: 14/Nov/11 02:50 PM   Updated: 22/Nov/11 08:56 AM   Resolved: 22/Nov/11 08:56 AM
Component/s: None
Affects Version/s: 2.2
Fix Version/s: None

Time Tracking:
Not Specified

Tags:
Participants: gdavison and Iaroslav Savytskyi


 Description  « Hide

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.



There are no comments yet on this issue.