[jboss-jira] [JBoss JIRA] Created: (JBAS-3970) NPE in JBossTestCase
Thomas Diesler (JIRA)
jira-events at jboss.com
Mon Jan 8 07:54:26 EST 2007
NPE in JBossTestCase
--------------------
Key: JBAS-3970
URL: http://jira.jboss.com/jira/browse/JBAS-3970
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Test Suite
Reporter: Thomas Diesler
Assigned To: 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list