org.openqa.selenium.WebDriverException: java.lang.ArrayIndexOutOfBoundsException: -1 Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'KMI-DS0678ER', ip: '193.229.195.87', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_65' Driver info: driver.version: JBrowserDriver

GitHub | anilreddy | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ArrayIndexOutOfBound while capturing screenshots

    GitHub | 11 months ago | anilreddy
    org.openqa.selenium.WebDriverException: java.lang.ArrayIndexOutOfBoundsException: -1 Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'KMI-DS0678ER', ip: '193.229.195.87', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_65' Driver info: driver.version: JBrowserDriver
  2. 0

    Stack dump when visualizing file containing only "G91"

    GitHub | 2 years ago | razeh
    java.lang.ArrayIndexOutOfBoundsException: -1
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Deleting a Jtable row from a custom model extending AbstractTableModel

    Stack Overflow | 2 years ago | Giovanrich
    java.lang.ArrayIndexOutOfBoundsException: -1
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ArrayIndexOutOfBoundsException

    -1

    at java.util.ArrayList.elementData()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.elementData(ArrayList.java:418)
    2. java.util.ArrayList.get(ArrayList.java:431)
    2 frames
  3. com.machinepublishers.jbrowserdriver
    JBrowserDriverServer.getScreenshot
    1. com.machinepublishers.jbrowserdriver.Context.init(Context.java:82)
    2. com.machinepublishers.jbrowserdriver.JBrowserDriverServer.init(JBrowserDriverServer.java:170)
    3. com.machinepublishers.jbrowserdriver.JBrowserDriverServer.getScreenshot(JBrowserDriverServer.java:614)
    3 frames
  4. Java RT
    RemoteObjectInvocationHandler.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    5. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
    6. sun.rmi.transport.Transport$1.run(Transport.java:200)
    7. sun.rmi.transport.Transport$1.run(Transport.java:197)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    10. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
    11. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
    12. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(TCPTransport.java:683)
    13. java.security.AccessController.doPrivileged(Native Method)
    14. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
    15. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    16. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    17. java.lang.Thread.run(Thread.java:745)
    18. sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
    19. sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
    20. sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
    21. java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
    22. java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
    22 frames
  5. com.machinepublishers.jbrowserdriver
    JBrowserDriver.getScreenshotAs
    1. com.machinepublishers.jbrowserdriver.$Proxy9.getScreenshot(Unknown Source)
    2. com.machinepublishers.jbrowserdriver.JBrowserDriver.getScreenshotAs(JBrowserDriver.java:1199)
    2 frames
  6. com.uprr.btp
    CreateTurnAroundTrainsTest.createTurnAroundTrains
    1. com.uprr.btp.utils.Utils.createScreenshot(Utils.java:111)
    2. com.uprr.btp.regression.tests.CreateTurnAroundTrainsTest.createTurnAroundTrains(CreateTurnAroundTrainsTest.java:45)
    2 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  8. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    7. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    15. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    16. org.junit.runners.Suite.runChild(Suite.java:128)
    17. org.junit.runners.Suite.runChild(Suite.java:27)
    18. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    19. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    20. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    21. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    22. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    23. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    23 frames
  9. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    1 frame
  10. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
    5 frames