java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.Object;

jsystemtest | oritl | 6 years 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

    Cannot load scenario when using checkbox

    jsystemtest | 6 years ago | oritl
    java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.Object;
  2. 0

    GitHub comment 58#17474244

    GitHub | 4 years ago | itaiag
    java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.Object;

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to [Ljava.lang.Object;

      at jsystem.extensions.paramproviders.StringArrayOptionsParameterProvider.getAsString()
    2. jsystem.extensions.paramproviders
      StringArrayOptionsParameterProvider.getAsString
      1. jsystem.extensions.paramproviders.StringArrayOptionsParameterProvider.getAsString(StringArrayOptionsParameterProvider.java:26)
      1 frame
    3. jsystem.framework.scenario
      RunnerTest.updateProperties
      1. jsystem.framework.scenario.Parameter.getStringValue(Parameter.java:501)
      2. jsystem.framework.scenario.RunnerTest.updateProperties(RunnerTest.java:699)
      2 frames