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

220 Conversations | 2,785 Posts + (501 from users, 2,284 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/18 10:54:12

Post type: Code Result

Reply | Duplicate | Rename | Raw Text

In reference to:

java.lang.RuntimeException: > ----------
> 1. ERROR in /root/JavaX-Caches/Temp/1605696851962/main.java (at line 33)
> 	return mapToLines(sortByCalculatedFieldDesc(p -> l(p.text()),
> 	                  ^^^^^^^^^^^^^^^^^^^^^^^^^
> The method sortByCalculatedFieldDesc(Collection<A>, Object) in the type main is not applicable for the arguments ((<no type> p) -> {}, List<main.GazellePost>, (<no type> p) -> {})
> ----------
> 2. ERROR in /root/JavaX-Caches/Temp/1605696851962/main.java (at line 33)
> 	return mapToLines(sortByCalculatedFieldDesc(p -> l(p.text()),
> 	                                            ^^^^^^^^^^^^^^^^
> The target type of this expression must be a functional interface
> ----------
> 2 problems (2 errors)
x30$JavaCompileException: ----------
1. ERROR in /root/JavaX-Caches/Temp/1605696851962/main.java (at line 33)
	return mapToLines(sortByCalculatedFieldDesc(p -> l(p.text()),
	                  ^^^^^^^^^^^^^^^^^^^^^^^^^
The method sortByCalculatedFieldDesc(Collection<A>, Object) in the type main is not applicable for the arguments ((<no type> p) -> {}, List<main.GazellePost>, (<no type> p) -> {})
----------
2. ERROR in /root/JavaX-Caches/Temp/1605696851962/main.java (at line 33)
	return mapToLines(sortByCalculatedFieldDesc(p -> l(p.text()),
	                                            ^^^^^^^^^^^^^^^^
The target type of this expression must be a functional interface
----------
2 problems (2 errors)
	at x30_pkg.x30_util.fail(x30_util.java:238)
	at main.javaCompileToJar_optionalRename(main.java:18127)
	at main$CompilerBot.compile(main.java:16489)
	at main$CompilerBot.compile(main.java:16476)
	at main$CompilerBot.compile(main.java:16472)
	at main.javaCompile_overInternalBot(main.java:11499)
	at main.veryQuickJava_finish(main.java:10180)
	at main.veryQuickJava3(main.java:8521)
	at main.veryQuickJava3(main.java:8506)
	at main.veryQuickJava(main.java:6285)
	at main.dm_evalJava_withModule(main.java:3785)
	at main.dm_javaEval(main.java:1847)
	at main.lambda$4(main.java:1782)
	at main$7.get(main.java:3875)
	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:1344)
	at main$6.run(main.java:3814)
	at main$17.run(main.java:8599)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: x30$JavaCompileException: ----------
1. ERROR in /root/JavaX-Caches/Temp/1605696851962/main.java (at line 33)
	return mapToLines(sortByCalculatedFieldDesc(p -> l(p.text()),
	                  ^^^^^^^^^^^^^^^^^^^^^^^^^
The method sortByCalculatedFieldDesc(Collection<A>, Object) in the type main is not applicable for the arguments ((<no type> p) -> {}, List<main.GazellePost>, (<no type> p) -> {})
----------
2. ERROR in /root/JavaX-Caches/Temp/1605696851962/main.java (at line 33)
	return mapToLines(sortByCalculatedFieldDesc(p -> l(p.text()),
	                                            ^^^^^^^^^^^^^^^^
The target type of this expression must be a functional interface
----------
2 problems (2 errors)
	at x30.invokeEcj(x30.java:1319)
	at x30.invokeJavaCompiler(x30.java:1269)
	at x30.compileJava(x30.java:1163)
	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:5927)
	at main.call_withVarargs(main.java:3167)
	at main.call(main.java:1384)
	at main.javaCompileToJar_optionalRename(main.java:18121)
	... 22 more