[238366] java.lang.RuntimeException: > ---------- > 1. ERROR in /root/JavaX-Caches/Temp/1605868596711/main...

219 Conversations | 2,863 Posts + (510 from users, 2,353 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/20 10:36:37

Post type: Code Result

Reply | Duplicate | Rename | Raw Text

In reference to:

java.lang.RuntimeException: > ----------
> 1. ERROR in /root/JavaX-Caches/Temp/1605868596711/main.java (at line 36)
> 	addPair(gridItems, "Posts", "Welcome to our AI system! We have " + nPosts(posts) + ".", "style" , "width: 100%");
> 	^^^^^^^
> The method addPair(Collection<main.Pair<A,B>>, A, B) in the type main is not applicable for the arguments (List<main.Pair<String,String>>, String, String, String, String)
> ----------
> 1 problem (1 error)
x30$JavaCompileException: ----------
1. ERROR in /root/JavaX-Caches/Temp/1605868596711/main.java (at line 36)
	addPair(gridItems, "Posts", "Welcome to our AI system! We have " + nPosts(posts) + ".", "style" , "width: 100%");
	^^^^^^^
The method addPair(Collection<main.Pair<A,B>>, A, B) in the type main is not applicable for the arguments (List<main.Pair<String,String>>, String, String, String, String)
----------
1 problem (1 error)
	at x30_pkg.x30_util.fail(x30_util.java:238)
	at main.javaCompileToJar_optionalRename(main.java:18151)
	at main$CompilerBot.compile(main.java:16512)
	at main$CompilerBot.compile(main.java:16499)
	at main$CompilerBot.compile(main.java:16495)
	at main.javaCompile_overInternalBot(main.java:11522)
	at main.veryQuickJava_finish(main.java:10203)
	at main.veryQuickJava3(main.java:8544)
	at main.veryQuickJava3(main.java:8529)
	at main.veryQuickJava(main.java:6332)
	at main.dm_evalJava_withModule(main.java:3808)
	at main.dm_javaEval(main.java:1862)
	at main.lambda$4(main.java:1797)
	at main$7.get(main.java:3898)
	at jdk.internal.reflect.GeneratedMethodAccessor397.invoke(Unknown Source)
	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:1359)
	at main$6.run(main.java:3837)
	at main$17.run(main.java:8622)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: x30$JavaCompileException: ----------
1. ERROR in /root/JavaX-Caches/Temp/1605868596711/main.java (at line 36)
	addPair(gridItems, "Posts", "Welcome to our AI system! We have " + nPosts(posts) + ".", "style" , "width: 100%");
	^^^^^^^
The method addPair(Collection<main.Pair<A,B>>, A, B) in the type main is not applicable for the arguments (List<main.Pair<String,String>>, String, String, String, String)
----------
1 problem (1 error)
	at x30.invokeEcj(x30.java:1319)
	at x30.invokeJavaCompiler(x30.java:1269)
	at x30.compileJava(x30.java:1163)
	at jdk.internal.reflect.GeneratedMethodAccessor194.invoke(Unknown Source)
	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:5974)
	at main.call_withVarargs(main.java:3190)
	at main.call(main.java:1399)
	at main.javaCompileToJar_optionalRename(main.java:18145)
	... 21 more