Copyright 2019 dhhAndroid
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void io.reactivex.subjects.Subject.onNext(java.lang.Object)' on a null object reference
at com.dhh.rxlife2.LifecycleBridge.onStateChanged(LifecycleBridge.kt:29)
at com.dhh.rxlife2.LifecycleBridgeBase.onStateChanged(LifecycleBridgeBase.kt:31)
at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.java:355)
at androidx.lifecycle.LifecycleRegistry.addObserver(LifecycleRegistry.java:181)
at com.dhh.rxlife2.LifecycleBridgeBase.(LifecycleBridgeBase.kt:21)
at com.dhh.rxlife2.LifecycleBridge.(LifecycleBridge.kt:14)
at com.dhh.rxlife2.LifecycleBridge$Companion.get(LifecycleBridge.kt:19)
at com.dhh.rxlife2.RxLife.with(RxLife.kt:17)
at com.yunniu.isonic_smarthome.ui.fragment.MyHouseFragments.initView(MyHouseFragments.java:374)
at com.yunniu.isonic_smarthome.ui.fragment.MyHouseFragments.onCreateView(MyHouseFragments.java:145)
ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not find RxLife:rxLife_base:unspecified.
Show Details
Affected Modules: app