4 ms·
Looks cool but the sandboxed interpreter fails to run in my instance of Chrome (v25 on Mac OS X): >Error: java.lang.NullPointerException np.LibRuntime.b_assign
by iskander 14y ago
Looks cool but the sandboxed interpreter fails to run in my instance of Chrome (v25 on Mac OS X):
>Error: java.lang.NullPointerException
np.LibRuntime.b_assign(LibRuntime.java:214)
sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
np.LibRuntime.execute(LibRuntime.java:104)
np.CoreBuiltin.execute(CoreBuiltin.java:85)
np.ClastExp.invoke(ClastExp.java:32)
np.ClastExp.run(ClastExp.java:45)
np.ClastExp.invoke(ClastExp.java:21)
np.ClastExp.run(ClastExp.java:45)
np.ClastModule.run(ClastModule.java:29)
np.Interpreter.run(Interpreter.java:120)
etc...
- Udo 14y agoThe tutorial examples seem to work. Could you post the code you're executing? Thanks for letting me know!
- iskander 14y agoI don't remember exactly what I typed in, something along the lines of: x = 10; y = 20; println (x ^ (y ^ y));
- Udo 14y agoHuh, the ^ operator isn't defined yet, but that shouldn't have caused it. Damn, I would have liked to find this out, because the end user should never see exceptions of course. Anyway, thanks for telling me, I hope it'll crop up again in the future!
- huhtenberg 14y agooki-doki = 42; will cause an exception too.