我有一个正在使用的DialogFragment子类,当它被关闭时,我会遇到一些崩溃。这并不是每次都会发生,我似乎也找不到一种模式。崩溃发生在被覆盖的onDismiss()函数内部。java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter dialog
at com.foo.MyDialogFragmen
我有一个带有变量MenuComponents的类,它是一个充满menuComponents的ArrayList,但是在初始化时它是空的。The stuff doesn't matter, it throws an exception if I leave it blank当我调用这个方法时,我得到一个空指针异常。在调用这些函数之前,我根本不更改menuComponents,所以它应该等于一个空数组列表。我不知道为什么它会抛出一个
在春天的时候,我和kotlin一起面临一些问题。除非我为控制器使用缓存注释,否则它将完美地工作。我的代码如下所示:@RequestMapping("/regions/")
open class RegionController @Autowired constructorfun get(@PathVariable id: Long): RegionReso