Hi,
Have you resolved that issue?
I have done some tests but on Windows and it works ok.

Regards,
M

On Sun, 11 Oct 2020 at 19:35, Paolo Di Tommaso <paolo.ditomm...@gmail.com>
wrote:

> Dear all,
>
> I'm getting this exception while launching the Groovy console from my app.
>
>
> groovy.lang.MissingMethodException: No signature of method:
> javax.swing.JMenu.setMnemonic() is applicable for argument types: (String)
> values: [F]
> Possible solutions: setMnemonic(char), setMnemonic(int), getMnemonic()
>         at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:70)
>         at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:76)
>         at
> org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:80)
>         at
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:194)
>         at
> groovy.ui.view.MacOSXMenuBar$_run_closure1.doCall(MacOSXMenuBar.groovy:79)
>         at
> groovy.ui.view.MacOSXMenuBar$_run_closure1.doCall(MacOSXMenuBar.groovy)
>         :
>        Complete stack trace here <https://pastebin.pl/view/0e4fbff3>.
>
>
> I saw this was an issue with Groovy 3 beta
> <https://issues.apache.org/jira/browse/GROOVY-8253>, however, I'm using
> Groovy 3.0.5, Java 8 on MacOS.
>
>
>
> Any clue what's could be the problem?
>
>
> Thanks,
> Paolo
>
>

Reply via email to