« Return to Thread: Groovy Console hangs under Ubuntu/Fedora?

Re: Groovy Console hangs under Ubuntu/Fedora?

by Jim White :: Rate this Message:

Reply to Author | View in Thread

Jochen Theodorou wrote:

> Jim White schrieb:
>
>> On Mac OS X/Safari (Leopard/4.0.1) I get the attached exception.
>
> this is a exception in native code. Even if the program is doing wrong,
> this surely should not happen, should it?

I suspect that in an applet context you don't get the Apple menu and
there is some null return that GroovyConsole isn't checking for and
instead just passing that into some other call ("removeItem").

The exception is probably occuring in the native code because the Java
wrapper code doesn't do it's own checking of the parameters.  The Java
bindings in Mac are effectively native calls.

The trouble may be in the Apple code though after all.  The problem is
probably triggered by this in MacOSXDefaults.groovy:

System.setProperty("com.apple.mrj.application.apple.menu.about.name",
"GroovyConsole")

But I don't have time right now to chase this further.

Jim


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Groovy Console hangs under Ubuntu/Fedora?