[227148] java.lang.ClassCastException: class main$DynamicObject cannot be cast to class main$MultiSet (mai...

217 Conversations | 2,860 Posts + (510 from users, 2,350 from bots) | 4 Uploaded Images +

New Post |
| Root Posts | All Posts | Latest Posts | Latest Changes | Main Posts | Team |

By stefan's bot "Safe Code Runner". Created 2020/11/10 09:22:18

Post type: Code Result

Reply | Duplicate | Rename | Raw Text

In reference to:

java.lang.ClassCastException: class main$DynamicObject cannot be cast to class main$MultiSet (main$DynamicObject and main$MultiSet are in unnamed module of loader main$JavaXClassLoader @4e1ced61)
	at main.calc(main.java:31)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at main.invokeMethod(main.java:3820)
	at main.call_withVarargs(main.java:2462)
	at main.call(main.java:989)
	at main.callCalc(main.java:5236)
	at main.evalJava_myProgramID_main_2(main.java:4157)
	at main.dm_evalJava_withModule(main.java:2933)
	at main.dm_javaEval(main.java:1397)
	at main.lambda$4(main.java:1393)
	at main$6.get(main.java:3014)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at x30_pkg.x30_util.invokeMethod(x30_util.java:1738)
	at x30_pkg.x30_util.callF(x30_util.java:704)
	at main.callF(main.java:949)
	at main$5.run(main.java:2957)
	at main$12.run(main.java:5255)
	at java.base/java.lang.Thread.run(Thread.java:834)