Say I have this:
class A {
companion object: AbstractObject(A)
}
There’s no error during typechecking but an error during compiling:
kotlin java.lang.illegalargumentexception: parameter specified as non-null is null
Say I have this:
class A {
companion object: AbstractObject(A)
}
There’s no error during typechecking but an error during compiling:
kotlin java.lang.illegalargumentexception: parameter specified as non-null is null
It looks like your passing something to the constructor of the abstract class? Make sure that it is a non null value.