2 Replies Latest reply: Nov 2, 2012 1:42 AM by Lincoln Baxter III RSS

java.lang.IllegalArgumentException: com/gargoylesoftware/htmlunit/javascript/configuration/FF3.6.properties doesn't exist or can't be accessed

Hanspeter Gisler Newbie

If I use 2.0.0.Beta2 I get:

java.lang.IllegalArgumentException: com/gargoylesoftware/htmlunit/javascript/configuration/FF3.6.properties doesn't exist or can't be accessed

 

(without even using / calling any JSFUnit objects/methods inside my testcases).

 

If I use Beta1, the exception is not thrown. Do I have perhaps wrong version of some libraries?

 

Thanks very much for any help on this issue.

Hanspeter

 

Here an excerpt of my parent pom:

 

{code:xml}

 

      <repositories>

        <repository>

            <id>jboss public repository</id>

            <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>

            <releases>

                <enabled>true</enabled>

            </releases>

            <snapshots>

                <enabled>true</enabled>

                <updatePolicy>daily</updatePolicy>

            </snapshots>

        </repository>

    </repositories>

 

    <pluginRepositories>

        <pluginRepository>

            <id>jboss-public-repository</id>

            <name>JBoss Repository</name>

            <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>

            <releases>

                <enabled>true</enabled>

            </releases>

            <snapshots>

                <enabled>true</enabled>

                <updatePolicy>daily</updatePolicy>

            </snapshots>

        </pluginRepository>

    </pluginRepositories>

 

 

 

<properties>

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

        <netbeans.hint.deploy.server>gfv3ee6</netbeans.hint.deploy.server>

        <org.slf4j.version>1.6.2</org.slf4j.version>

        <log4j.version>1.2.16</log4j.version>

 

        <org.jboss.shrinkwrap.resolver.version>1.0.0-beta-6</org.jboss.shrinkwrap.resolver.version>

        <version.shrinkwrap.descriptors>1.1.0-beta-1</version.shrinkwrap.descriptors>

        <version.shrinkwrap>1.0.0-cr-3</version.shrinkwrap>

        <org.jboss.arquillian.version>1.0.0.CR2</org.jboss.arquillian.version>

    </properties>

 

 

 

 

    <dependencyManagement>

        <dependencies>

 

            <dependency>

                <groupId>org.slf4j</groupId>

                <artifactId>slf4j-log4j12</artifactId>

                <version>${org.slf4j.version}</version>

            </dependency>

 

            <dependency>

                <groupId>org.slf4j</groupId>

                <artifactId>slf4j-api</artifactId>

                <version>${org.slf4j.version}</version>

            </dependency>

 

            <dependency>

                <groupId>org.slf4j</groupId>

                <artifactId>slf4j-ext</artifactId>

                <version>${org.slf4j.version}</version>

            </dependency>

 

            <dependency>

                <groupId>org.slf4j</groupId>

                <artifactId>slf4j-jdk14</artifactId>

                <version>${org.slf4j.version}</version>

            </dependency>

 

 

            <dependency>

                <groupId>org.slf4j</groupId>

                <artifactId>slf4j-simple</artifactId>

                <version>${log4j.version}</version>

            </dependency>

 

            <dependency>

                <groupId>log4j</groupId>

                <artifactId>log4j</artifactId>

                <version>${log4j.version}</version>

            </dependency>

 

 

            <dependency>

                <groupId>org.jboss.arquillian</groupId>

                <artifactId>arquillian-bom</artifactId>

                <version>1.0.0.CR7</version>

                <scope>import</scope>

                <type>pom</type>

            </dependency>

 

 

            <dependency>

                <groupId>org.jboss.weld</groupId>

                <artifactId>weld-core-bom</artifactId>

                <version>1.1.4.Final</version>

                <scope>import</scope>

                <type>pom</type>

            </dependency>

 

        </dependencies>

    </dependencyManagement>

 

 

 

 

 

    <dependencies>

         <!-- 2.0.0 important for source code availability and thus javadoc -->

 

 

        <dependency>

            <groupId>org.jboss.spec</groupId>

            <artifactId>jboss-javaee-6.0</artifactId>

            <version>1.0.0.Final</version>

            <type>pom</type>

            <scope>provided</scope>

        </dependency>

 

        <dependency>

            <groupId>org.testng</groupId>

            <artifactId>testng</artifactId>

            <scope>test</scope>

         <!-- do not use 6.xx version, this does not work with weld -->

            <version>5.14.10</version>

         <!--<version>6.3.1</version>-->

        </dependency>

 

 

        <!-- attention!! separate guice is needed by testng version >= 6.0 -->

        <dependency>

            <groupId>com.google.inject</groupId>

            <artifactId>guice</artifactId>

            <version>3.0</version>

            <scope>test</scope>

        </dependency>

 

        <dependency>

            <groupId>org.jboss.arquillian.testng</groupId>

            <artifactId>arquillian-testng-container</artifactId>

            <scope>test</scope>

        </dependency>

 

 

        <!-- in this module and not in util because we need exceptions in all modules -->

        <dependency>

            <groupId>commons-configuration</groupId>

            <artifactId>commons-configuration</artifactId>

            <version>1.7</version>

        </dependency>

 

 

        <!-- shrinkwrap resolver and descriptor -->

 

        <dependency>

            <groupId>org.jboss.shrinkwrap.resolver</groupId>

            <artifactId>shrinkwrap-resolver-api</artifactId>

            <scope>test</scope>

        </dependency>

 

        <dependency>

            <groupId>org.jboss.shrinkwrap.resolver</groupId>

            <artifactId>shrinkwrap-resolver-api-maven</artifactId>

            <scope>test</scope>

        </dependency>

 

        <dependency>

            <groupId>org.jboss.shrinkwrap.resolver</groupId>

            <artifactId>shrinkwrap-resolver-impl-maven</artifactId>

            <scope>test</scope>

        </dependency>

 

        <dependency>

            <groupId>org.jboss.weld.se</groupId>

            <artifactId>weld-se-core</artifactId>

            <scope>test</scope>

        </dependency>

 

        <dependency>

            <groupId>org.jboss.shrinkwrap.descriptors</groupId>

            <artifactId>shrinkwrap-descriptors-impl</artifactId>

            <scope>test</scope>

        </dependency>

 

           <dependency>

            <groupId>org.jboss.jsfunit</groupId>

            <artifactId>jsfunit-arquillian</artifactId>

            <version>2.0.0.Beta2</version>

            <scope>test</scope>

        </dependency>

 

 

        <dependency>

            <groupId>org.jboss.jsfunit</groupId>

            <artifactId>jboss-jsfunit-core</artifactId>

            <version>2.0.0.Beta2</version>

            <scope>test</scope>

        </dependency>

 

    </dependencies>

 

{code}

 

 

The stacktrace:

 

{code}

 

java.lang.IllegalArgumentException: com/gargoylesoftware/htmlunit/javascript/configuration/FF3.6.properties doesn't exist or can't be accessed

          at org.jboss.shrinkwrap.impl.base.Validate.notNull(Validate.java:44)

          at org.jboss.shrinkwrap.impl.base.container.ContainerBase.fileFromResource(ContainerBase.java:1609)

          at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsResource(ContainerBase.java:885)

          at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsResource(ContainerBase.java:863)

          at org.jboss.jsfunit.arquillian.client.JSFUnitArchiveAppender.createAuxiliaryArchive(JSFUnitArchiveAppender.java:46)

          at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.loadAuxiliaryArchives(DeploymentGenerator.java:198)

          at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.buildTestableDeployments(DeploymentGenerator.java:149)

          at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.createTestableDeployments(DeploymentGenerator.java:136)

          at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.generateDeployment(DeploymentGenerator.java:85)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)

          at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)

          at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:100)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

          at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

          at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)

          at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)

          at org.jboss.arquillian.testng.Arquillian.arquillianBeforeClass(Arquillian.java:103)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:74)

          at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525)

          at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202)

          at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)

          at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:173)

          at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:105)

          at org.testng.TestRunner.runWorkers(TestRunner.java:1147)

          at org.testng.TestRunner.privateRun(TestRunner.java:749)

          at org.testng.TestRunner.run(TestRunner.java:600)

          at org.testng.SuiteRunner.runTest(SuiteRunner.java:317)

          at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:312)

          at org.testng.SuiteRunner.privateRun(SuiteRunner.java:274)

          at org.testng.SuiteRunner.run(SuiteRunner.java:223)

          at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

          at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

          at org.testng.TestNG.runSuitesSequentially(TestNG.java:1039)

          at org.testng.TestNG.runSuitesLocally(TestNG.java:964)

          at org.testng.TestNG.run(TestNG.java:900)

          at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)

          at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:111)

          at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:115)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)

          at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)

          at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)

          at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)

          at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)

 

{code}