0

we are using Sikuli with Java (Sikuli 1.1.1), but we are running into java.lang.ThreadDeath exception for a new client. In Java Configuration, we have selected mix code of Enable - hide warning and run with protections. Has anyone run into this issue before and what is the reason and possible fix?

Payam Fard
  • 11
  • 3

1 Answers1

2

Somewhere in the code Thread.stop() is being called.

According to the documentation don't do this! It releases all locks held by that thread may cause locked objects to be accessed in inconsistent state.

Mordechai
  • 15,437
  • 2
  • 41
  • 82
  • See also [Why is Thread.stop() so dangerous](https://stackoverflow.com/questions/5218969/why-is-thread-stop-so-dangerous) – Vadzim Mar 03 '18 at 06:18