Gosu Plugin: Pressing CTRL+SHIFT+F10 twice causes Scratchpad to blow up

390 views
Skip to first unread message

chris

unread,
Feb 19, 2012, 10:05:16 PM2/19/12
to gosu-lang
K, I'm not really an IJ guy, so maybe I'm doing something wrong, but
here's what I've run into:

Open up the scratchpad and type something simple into it eg:
print("Hello World")

Hit SHIFT+F10 and the scratch pad runs

Hit CTRL+SHIFT+F10 once, nothing happens (actually I have gotten the
error occasionally on the first try)
Hit CTRL+SHIFT+F10 a second time and you get this:

gw.internal.gosu.parser.RuntimeExceptionWithNoStacktrace:
java.lang.ClassNotFoundException: scratchpad.Gosu Scratchpad in module
_default_
Caused by: java.lang.ClassNotFoundException: scratchpad.Gosu
Scratchpad in module _default_
at
gw.internal.gosu.parser.TypeLoaderAccess.getIntrinsicTypeByFullName(TypeLoaderAccess.java:
522)
at
gw.internal.gosu.parser.TypeSystemImpl.getByFullName(TypeSystemImpl.java:
224)
at gw.lang.reflect.TypeSystem.getByFullName(TypeSystem.java:145)
at gw.lang.Gosu$ExecuteMode.runWithType(Gosu.java:765)
at gw.lang.Gosu$ExecuteMode.run(Gosu.java:754)
at gw.lang.Gosu.start(Gosu.java:87)
at gw.lang.Gosu.main(Gosu.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:
120)

The only way that I've found around it is to restart IJ.

I can include the generated command line if requested.

IJ 11.02 CE, Gosu plugin 2.0.2, Linux. Pretty sure it also occurred on
Windows, but I didn't get the chance to trace it down to this key
combo

File a bug?

Chris

Scott McKinney

unread,
Feb 21, 2012, 4:13:35 PM2/21/12
to gosu-lang
This is fixed in the next release, which will be available soon.
Reply all
Reply to author
Forward
0 new messages