Encountering error while automating an app on appium

Getting the below error in eclipse console while trying to execute test case.

Invalid layout of java.lang.String at value

A fatal error has been detected by the Java Runtime Environment:

Internal Error (javaClasses.cpp:126), pid=436, tid=316

fatal error: Invalid layout of preloaded class

JRE version: (8.0_25-b18) (build )

Java VM: Java HotSpotâ„¢ 64-Bit Server VM (25.25-b02 mixed mode windows-amd64 compressed oops)

Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

An error report file with more information is saved as:


If you would like to submit a bug report, please visit:


Any ideas about the cause for this?