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

Google Groups | Arnaud | 6 months ago
  1. 0

    Can't start a JUnit test in debug mode

    Google Groups | 6 months ago | Arnaud
    java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.String;
  2. 0

    impossible to filter a field which data type is integer/numeric

    GitHub | 4 years ago | erwanj
    java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.String;
  3. 0

    Trying to read from a file but keep getting errors - Java Programming Help - KnowCoding.com

    knowcoding.com | 1 year ago
    java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.String;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to copy (the contents of) ArrayList to a String array[]?

    Coderanch | 4 years ago | Ashish Dutt
    java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.String;

    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.ClassCastException

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

      at org.scalaide.core.internal.launching.ClasspathGetterForLaunchDelegate$$anonfun$1.apply()
    2. org.scalaide.core
      ClasspathGetterForLaunchDelegate$$anonfun$1.apply
      1. org.scalaide.core.internal.launching.ClasspathGetterForLaunchDelegate$$anonfun$1.apply(ClasspathGetterForLaunchDelegate.scala:28)
      1 frame
    3. Scala
      AbstractTraversable.flatten
      1. scala.collection.generic.GenericTraversableTemplate$$anonfun$flatten$1.apply(GenericTraversableTemplate.scala:172)
      2. scala.collection.generic.GenericTraversableTemplate$$anonfun$flatten$1.apply(GenericTraversableTemplate.scala:171)
      3. scala.collection.Iterator$class.foreach(Iterator.scala:893)
      4. scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
      5. scala.collection.MapLike$DefaultValuesIterable.foreach(MapLike.scala:206)
      6. scala.collection.generic.GenericTraversableTemplate$class.flatten(GenericTraversableTemplate.scala:171)
      7. scala.collection.AbstractTraversable.flatten(Traversable.scala:104)
      7 frames
    4. org.scalaide.core
      ClasspathGetterForLaunchDelegate$class.getClasspath
      1. org.scalaide.core.internal.launching.ClasspathGetterForLaunchDelegate$class.toInclude(ClasspathGetterForLaunchDelegate.scala:28)
      2. org.scalaide.core.internal.launching.ClasspathGetterForLaunchDelegate$class.scalaClasspath(ClasspathGetterForLaunchDelegate.scala:23)
      3. org.scalaide.core.internal.launching.ClasspathGetterForLaunchDelegate$class.getClasspath(ClasspathGetterForLaunchDelegate.scala:16)
      3 frames
    5. org.scalaide.debug
      ScalaJUnitLaunchConfigurationDelegate.getClasspath
      1. org.scalaide.debug.internal.launching.ScalaJUnitLaunchConfigurationDelegate.getClasspath(ScalaJUnitLaunchConfigurationDelegate.scala:7)
      1 frame
    6. JDT JUnit
      JUnitLaunchConfigurationDelegate.launch
      1. org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationDelegate.launch(JUnitLaunchConfigurationDelegate.java:147)
      1 frame
    7. Debug Core
      LaunchConfiguration.launch
      1. org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
      2. org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
      2 frames
    8. org.eclipse.debug
      DebugUIPlugin$8.run
      1. org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
      2. org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
      2 frames
    9. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      1 frame