Ousc
08/05/2024, 2:59 AMYoussef Shoaib [MOD]
08/05/2024, 3:09 AMOusc
08/05/2024, 3:18 AMOusc
08/06/2024, 9:52 AMException in thread "main" java.lang.NullPointerException: Parameter specified as non-null is null: method
MyClass.<init>, parameter name
at MyClass.<init>(Main.kt)
at Main.main(Main.java:6)
at MainKt.main(Main.kt:34)
at MainKt.main(Main.kt)
And I packaged the Maven plugin according to your generous instructions, but got the following error when actually running it:
[ERROR] The provided plugin org.jetbrains.kotlin.kapt3.Kapt3ComponentRegistrar is not compatible with this version of compiler.
java.lang.AbstractMethodError: Method org/jetbrains/kotlin/kapt3/Kapt3ComponentRegistrar.registerProjectComponents(Lorg/jetbrains/kotlin/com/intellij/mock/MockProject;Lorg/jetbrains/kotlin/config/CompilerConfiguration;)V is abstract
at org.jetbrains.kotlin.kapt3.Kapt3ComponentRegistrar.registerProjectComponents(Kapt3Plugin.kt)
Youssef Shoaib [MOD]
08/06/2024, 10:18 AMOusc
08/21/2024, 9:09 AMmaven-sample
in your kotlin-null-default
project does not work properly? The current example does not seem to achieve the effect of "allows Java callers to pass in null for default parameters by automatically checking for nulls and substituting the default values". I tried to find some ways to explore why the maven plugin does not work, but none of them worked, so I came to you again to try to get some inspiration and advice.Ousc
08/22/2024, 6:55 AM