[jboss-jira] [JBoss JIRA] (WFLY-2712) Possible NPE in RemoteDeployer from WS tests-integration
Alessio Soldano (JIRA)
issues at jboss.org
Tue Jan 7 05:55:32 EST 2014
[ https://issues.jboss.org/browse/WFLY-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934084#comment-12934084 ]
Alessio Soldano commented on WFLY-2712:
---------------------------------------
Hi Rostislav,
this should be fixed to either check for null on line 305 too, or avoid checking it at all. The exception can actually be reproduced in the JBossWS testsuite only by direct usage of the JBossWSTestHelper#addHttpsConnector method. When relying on the JBossWSTestSetup (which is the common scenario), the invocation is actually performed only when a not null map parameter is provided.
> Possible NPE in RemoteDeployer from WS tests-integration
> --------------------------------------------------------
>
> Key: WFLY-2712
> URL: https://issues.jboss.org/browse/WFLY-2712
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web Services
> Reporter: Rostislav Svoboda
> Assignee: Alessio Soldano
>
> https://github.com/rsvoboda/wildfly/blob/master/webservices/tests-integration/src/main/java/org/jboss/as/webservices/deployer/RemoteDeployer.java#L305
> Possible NPE, check 'if (options != null)' is present only on line 284.
> Or is it intentional to throw exception ?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list