Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3013

Specifying an illegal log level causes a NoClassDefFoundError for Browser

    Details

      Description

      Steps to reproduce:

      1. Run the integration tests in the bridge-impl project:
         (cd test/integration/ && mvn verify -P selenium,pluto,chrome -Dintegration.port=8180 -Dintegration.log.level=ASDF)
        

      If the bug still exists, the tests will all fail and the following error will appear at the end of the log:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:integration-test (selenium-tests) on project com.liferay.faces.test.bridge.integration: Execution selenium-tests of goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:integration-test failed: There was an error in the forked process
      [ERROR] java.lang.NoClassDefFoundError: Could not initialize class com.liferay.faces.test.selenium.Browser
      [ERROR] at com.liferay.faces.test.selenium.IntegrationTesterBase.doTearDown(IntegrationTesterBase.java:53)
      [ERROR] at com.liferay.faces.test.selenium.IntegrationTestSuiteListener.testRunFinished(IntegrationTestSuiteListener.java:30)
      [ERROR] at org.junit.runner.notification.SynchronizedRunListener.testRunFinished(SynchronizedRunListener.java:42)
      [ERROR] at org.junit.runner.notification.RunNotifier$2.notifyListener(RunNotifier.java:103)
      [ERROR] at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72)
      [ERROR] at org.junit.runner.notification.RunNotifier.fireTestRunFinished(RunNotifier.java:100)
      [ERROR] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:166)
      [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
      [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
      [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
      

        Attachments

          Activity

            People

            • Assignee:
              kyle.stiemann Kyle Stiemann (Inactive)
              Reporter:
              kyle.stiemann Kyle Stiemann (Inactive)
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                test-selenium-0.2.0