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

217 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/17 11:12:22

Post type: Code Result

Reply | Duplicate | Rename | Raw Text

In reference to:

java.lang.RuntimeException: > ----------
> 1. ERROR in /root/JavaX-Caches/Temp/1605611542071/main.java (at line 28)
> 	return safeMapEachLine_str(__19 -> ai_isQuestion_2(__19),post);
> 	       ^^^^^^^^^^^^^^^^^^^
> The method safeMapEachLine_str((<no type> __19) -> {}, String) is undefined for the type main
> ----------
> 2. ERROR in /root/JavaX-Caches/Temp/1605611542071/main.java (at line 36)
> 	static <A> safeMapEachLine_str(String text, IF1<String, A> f) {
> 	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Return type for the method is missing
> ----------
> 3. ERROR in /root/JavaX-Caches/Temp/1605611542071/main.java (at line 40)
> 	static <A> safeMapEachLine_str(IF1<String, A> f, String text) {
> 	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Return type for the method is missing
> ----------
> 4. ERROR in /root/JavaX-Caches/Temp/1605611542071/main.java (at line 41)
> 	return safeMapEachLine_str(text, f);
> 	       ^^^^^^^^^^^^^^^^^^^
> The method safeMapEachLine_str(String, main.IF1<String,A>) is undefined for the type main
> ----------
> 4 problems (4 errors)
x30$JavaCompileException: ----------
1. ERROR in /root/JavaX-Caches/Temp/1605611542071/main.java (at line 28)
	return safeMapEachLine_str(__19 -> ai_isQuestion_2(__19),post);
	       ^^^^^^^^^^^^^^^^^^^
The method safeMapEachLine_str((<no type> __19) -> {}, String) is undefined for the type main
----------
2. ERROR in /root/JavaX-Caches/Temp/1605611542071/main.java (at line 36)
	static <A> safeMapEachLine_str(String text, IF1<String, A> f) {
	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Return type for the method is missing
----------
3. ERROR in /root/JavaX-Caches/Temp/1605611542071/main.java (at line 40)
	static <A> safeMapEachLine_str(IF1<String, A> f, String text) {
	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Return type for the method is missing
----------
4. ERROR in /root/JavaX-Caches/Temp/1605611542071/main.java (at line 41)
	return safeMapEachLine_str(text, f);
	       ^^^^^^^^^^^^^^^^^^^
The method safeMapEachLine_str(String, main.IF1<String,A>) is undefined for the type main
----------
4 problems (4 errors)
	at x30_pkg.x30_util.fail(x30_util.java:238)
	at main.javaCompileToJar_optionalRename(main.java:18028)
	at main$CompilerBot.compile(main.java:16394)
	at main$CompilerBot.compile(main.java:16381)
	at main$CompilerBot.compile(main.java:16377)
	at main.javaCompile_overInternalBot(main.java:11248)
	at main.veryQuickJava_finish(main.java:9853)
	at main.veryQuickJava3(main.java:8214)
	at main.veryQuickJava3(main.java:8199)
	at main.veryQuickJava(main.java:5915)
	at main.dm_evalJava_withModule(main.java:3579)
	at main.dm_javaEval(main.java:1755)
	at main.lambda$4(main.java:1690)
	at main$7.get(main.java:3669)
	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:1252)
	at main$6.run(main.java:3608)
	at main$17.run(main.java:8292)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: x30$JavaCompileException: ----------
1. ERROR in /root/JavaX-Caches/Temp/1605611542071/main.java (at line 28)
	return safeMapEachLine_str(__19 -> ai_isQuestion_2(__19),post);
	       ^^^^^^^^^^^^^^^^^^^
The method safeMapEachLine_str((<no type> __19) -> {}, String) is undefined for the type main
----------
2. ERROR in /root/JavaX-Caches/Temp/1605611542071/main.java (at line 36)
	static <A> safeMapEachLine_str(String text, IF1<String, A> f) {
	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Return type for the method is missing
----------
3. ERROR in /root/JavaX-Caches/Temp/1605611542071/main.java (at line 40)
	static <A> safeMapEachLine_str(IF1<String, A> f, String text) {
	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Return type for the method is missing
----------
4. ERROR in /root/JavaX-Caches/Temp/1605611542071/main.java (at line 41)
	return safeMapEachLine_str(text, f);
	       ^^^^^^^^^^^^^^^^^^^
The method safeMapEachLine_str(String, main.IF1<String,A>) is undefined for the type main
----------
4 problems (4 errors)
	at x30.invokeEcj(x30.java:1319)
	at x30.invokeJavaCompiler(x30.java:1269)
	at x30.compileJava(x30.java:1163)
	at jdk.internal.reflect.GeneratedMethodAccessor542.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:5553)
	at main.call_withVarargs(main.java:2961)
	at main.call(main.java:1292)
	at main.javaCompileToJar_optionalRename(main.java:18022)
	... 22 more