1 Reply Latest reply on Aug 9, 2010 10:47 AM by Aslak Knutsen

    Better msg on missing container impl

    Ales Justin Master

      If there is no container impl present, I get this NPE:

       

      java.lang.NullPointerException
          at org.jboss.arquillian.impl.DeployableTestBuilder.build(DeployableTestBuilder.java:88)
          at org.jboss.arquillian.impl.DeployableTestBuilder.build(DeployableTestBuilder.java:77)
          at org.jboss.arquillian.junit.Arquillian.<init>(Arquillian.java:85)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
          at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)
      

       

      I guess some better error msg is in place. ;-)