java.lang.RuntimeException: java.lang.NegativeArraySizeException

seleniumreads.com | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NegativeArraySizeException

    No message provided

    at sample.login.getExcelData()
  2. Java EE Connector Architecture API Specification
    login.createData
    1. sample.login.getExcelData(login.java:31)
    2. sample.login.createData(login.java:46)
    2 frames
  3. 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:483)
    4 frames
  4. TestNG
    MethodInvocationHelper.invokeDataProvider
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
    2. org.testng.internal.MethodInvocationHelper.invokeDataProvider(MethodInvocationHelper.java:135)
    2 frames