title: .WeldService: com.google.common.collect.ComputationException: java.lang.ArrayInd exOutOfBoundsException: 3"}}}} when using selenium with jboss
body: <p>I have developed a project. Now for testing I am using selenium. When selenium-server-standlone.jar is added or selenium-java.jar(with other lib provided by selenium) is added then it gives this exception:</p>
  
  <p>.WeldService: com.google.common.collect.ComputationException: java.lang.ArrayIndexOutOfBoundsException: 3"}}}}</p>
  
  <p>The relevant code is:</p>
  
  <pre><code>  @Before
    public void setUp() throws Exception {
      driver = new FirefoxDriver();
      baseUrl = "http://localhost:8081";
      driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
    }
  </code></pre>
  
  <p>The Selenium version is 2.42.2 and JBoss version is 7.1.0</p>