XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • None
    • Test Suite
    • None

    Description

      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

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            tdiesler@redhat.com Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: