[jboss-jira] [JBoss JIRA] Closed: (JBAS-3970) NPE in JBossTestCase
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Fri Sep 17 13:25:28 EDT 2010
[ https://jira.jboss.org/browse/JBAS-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Diesler closed JBAS-3970.
--------------------------------
Resolution: Out of Date
> NPE in JBossTestCase
> --------------------
>
> Key: JBAS-3970
> URL: https://jira.jboss.org/browse/JBAS-3970
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Test Suite
> Reporter: Thomas Diesler
> Assignee: Scott M Stark
>
> getServerHost() throws a NPE, because the delegate is not initialized before setUp() is called
> public class SimpleJSETestCase extends JBossTestCase
> {
> private String WSDL_LOCATION = "http://" + getServerHost() + ":8080/ws4ee-simple?wsdl";
> private String NAMESPACE = "http://test.jboss.org/ws4eesimple";
> private QName SERVICE_NAME = new QName(NAMESPACE, "HelloService");
>
> ....
> }
> This is quite common in the webservice test suite
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list