question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

java.lang.IllegalArgumentException: Key: Not supported character: m

See original GitHub issue

This only started happening from version 2.0.0. I was using 1.1.4 previously.

My SikuliX Java program is started through a Windows .bat file. If I run it from the command prompt, it’s ok. However, if I double-click to run the .bat, this exception is thrown: Capture

The line in my program is S.type("m", Key.WIN);

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Revaryecommented, Nov 21, 2019

Hello, I resolved the problem by adding English (United States) to my list of languages. The first language in my list is another variant of English.

0reactions
jdwilliamsDXCAScommented, Mar 8, 2021

I had the same problem with English Canada. I switched to English United States as my keyboard layout and all is working again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Question #692749 “Not supported character in keyDown()”
Not supported character in keyDown()​​ I tried to run it both in IDE and command line with same result.
Read more >
memcached client throws java.lang.IllegalArgumentException
But I have to use i18n. Anyway to fix it? java.lang.IllegalArgumentException: Key contains invalid characters: ``HK:00:A Kung Wan'' at net.
Read more >
[Sikuli-driver] [Question #692749]: Not supported character in ...
... I'm getting an error: > [error] java.lang.IllegalArgumentException ( > java.lang.IllegalArgumentException: Key: Not supported character: ...
Read more >
java.lang.IllegalArgumentException: Key must be integer ...
Somewhere in your application this is likely happening. It is unclear if the cause is in your code, or inside of a luminus...
Read more >
java.lang.IllegalArgumentException – How to solve ... - YouTube
Interested in learning more about java. lang. IllegalArgumentException ?Then check out our detailed video on how to solve Illegal Argument ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found