Details

      Description

      I get:

      java.lang.NullPointerException
      at org.jboss.arquillian.impl.DeployableTestBuilder.build(DeployableTestBuilder.java:82)
      at org.jboss.arquillian.impl.DeployableTestBuilder.build(DeployableTestBuilder.java:71)
      at org.jboss.arquillian.junit.Arquillian.<init>(Arquillian.java:68)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

      Any component that uses a SPI implementation should guard against null values - if there is a non-null requirement of course - and throw an IllegalArgumentException with a descriptive error message.

        Gliffy Diagrams

          Attachments

          1. arq164.diff
            1 kB
          2. DeployableTestBuilderTestCase.java
            0.5 kB
          3. pom.xml
            6 kB

            Issue Links

              Activity

                People

                • Assignee:
                  aslak Aslak Knutsen
                  Reporter:
                  jesper.pedersen Jesper Pedersen
                • Votes:
                  2 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: