ControlP5 : bug with "alt-gr" on Linux

I use controlP5 2.2.6, with processing 3.3.7. With Linux i get this exception when i press “alt-gr” :

java.lang.ArrayIndexOutOfBoundsException: 65406
at controlP5.ControlWindow.keyEvent(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at processing.core.PApplet$RegisteredMethods.handle(
at processing.core.PApplet.handleMethods(
at processing.core.PApplet.handleKeyEvent(
at processing.core.PApplet.dequeueEvents(
at processing.core.PApplet.handleDraw(
at processing.awt.PSurfaceAWT$12.callDraw(
at processing.core.PSurfaceNone$

I’ve tested it on my laptop as well as on my raspberry pi, it gives the same exception.
I’ve also tested it on windows, and it works perfectly.

Has anyone any idea to overcome this problem ?