title: Null reference used for synchronization (monitor-enter)
body: <p>When I turn off my Internet connection and log out from Firebase app, I can't return my app.</p>
  
  <p>Also get next error:</p>
  
  <pre><code>2019-11-05 20:26:19.364 5593-5611/com.mandarine.target_list E/System:
      Uncaught exception thrown by finalizer 2019-11-05 20:26:19.3655593-5611/com.mandarine.target_list E/System:
  java.lang.NullPointerException: Null reference used for synchronization (monitor-enter)
          at com.android.org.conscrypt.ConscryptFileDescriptorSocket.finalize(ConscryptFileDescriptorSocket.java:1053)
          at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:252)
          at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:239)
          at java.lang.Daemons$Daemon.run(Daemons.java:105)
          at java.lang.Thread.run(Thread.java:764)
  </code></pre>
  
  <p>It only happens when I turn off the Internet.</p>
  
  <p>Also i found this: <a href="https://github.com/google/conscrypt/blob/master/common/src/main/java/org/conscrypt/ConscryptFileDescriptorSocket.java#L1079" rel="nofollow noreferrer">https://github.com/google/conscrypt/blob/master/common/src/main/java/org/conscrypt/ConscryptFileDescriptorSocket.java#L1079</a></p>
  
  <p>But don't really know what to do gotta get</p>
  
  <p>Also i made <code>/gradlew app:androidDependencies</code> and get:</p>
  
  <pre><code>&gt; releaseUnitTestRuntimeClasspath - Dependencies for runtime/packaging
  &gt; +--- org.jetbrains.kotlin:kotlin-android-extensions-runtime:1.3.50@jar
  &gt; +--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.50@jar
  &gt; +--- com.firebaseui:firebase-ui-auth:4.3.1@aar
  &gt; +--- androidx.navigation:navigation-ui-ktx:2.0.0@aar
  &gt; +--- androidx.navigation:navigation-ui:2.0.0@aar
  &gt; +--- com.google.android.material:material:1.0.0@aar
  &gt; +--- me.zhanghai.android.materialprogressbar:library:1.4.2@aar
  &gt; +--- androidx.appcompat:appcompat:1.0.2@aar
  &gt; +--- androidx.constraintlayout:constraintlayout:1.1.3@aar
  &gt; +--- androidx.cardview:cardview:1.0.0@aar
  &gt; +--- com.google.firebase:firebase-auth:16.1.0@aar
  &gt; +--- com.google.firebase:firebase-messaging:17.4.0@aar
  &gt; +--- com.google.firebase:firebase-database:16.0.6@aar
  &gt; +--- androidx.recyclerview:recyclerview:1.0.0@aar
  &gt; +--- com.jakewharton.threetenabp:threetenabp:1.2.1@aar
  &gt; +--- androidx.navigation:navigation-fragment-ktx:2.0.0@aar
  &gt; +--- junit:junit:4.12@jar
  &gt; +--- org.mockito:mockito-core:2.16.0@jar
  &gt; +--- androidx.navigation:navigation-runtime-ktx:2.0.0@aar
  &gt; +--- androidx.navigation:navigation-common-ktx:2.0.0@aar
  &gt; +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.50@jar
  &gt; +--- androidx.lifecycle:lifecycle-extensions:2.0.0@aar
  &gt; +--- com.google.android.gms:play-services-flags:16.0.1@aar
  &gt; +--- com.google.firebase:firebase-auth-interop:16.0.1@aar
  &gt; +--- com.google.android.gms:play-services-auth:16.0.1@aar
  &gt; +--- com.google.android.gms:play-services-auth-api-phone:16.0.0@aar
  &gt; +--- com.google.android.gms:play-services-auth-base:16.0.0@aar
  &gt; +--- com.google.firebase:firebase-iid:17.1.0@aar
  &gt; +--- com.google.firebase:firebase-iid-interop:16.0.1@aar
  &gt; +--- com.google.android.gms:play-services-base:16.0.1@aar
  &gt; +--- com.google.firebase:firebase-common:16.0.4@aar
  &gt; +--- com.google.android.gms:play-services-tasks:16.0.1@aar
  &gt; +--- com.google.firebase:firebase-measurement-connector:17.0.1@aar
  &gt; +--- com.google.android.gms:play-services-stats:16.0.1@aar
  &gt; +--- com.google.android.gms:play-services-basement:16.1.0@aar
  &gt; +--- androidx.legacy:legacy-support-v4:1.0.0@aar
  &gt; +--- androidx.navigation:navigation-fragment:2.0.0@aar
  &gt; +--- androidx.fragment:fragment:1.0.0@aar
  &gt; +--- androidx.vectordrawable:vectordrawable-animated:1.0.0@aar
  &gt; +--- androidx.browser:browser:1.0.0@aar
  &gt; +--- androidx.legacy:legacy-support-core-ui:1.0.0@aar
  &gt; +--- androidx.navigation:navigation-runtime:2.0.0@aar
  &gt; +--- androidx.legacy:legacy-support-core-utils:1.0.0@aar
  &gt; +--- androidx.vectordrawable:vectordrawable:1.0.1@aar
  &gt; +--- androidx.transition:transition:1.0.0@aar
  &gt; +--- androidx.loader:loader:1.0.0@aar
  &gt; +--- androidx.viewpager:viewpager:1.0.0@aar
  &gt; +--- androidx.coordinatorlayout:coordinatorlayout:1.0.0@aar
  &gt; +--- androidx.drawerlayout:drawerlayout:1.0.0@aar
  &gt; +--- androidx.slidingpanelayout:slidingpanelayout:1.0.0@aar
  &gt; +--- androidx.customview:customview:1.0.0@aar
  &gt; +--- androidx.swiperefreshlayout:swiperefreshlayout:1.0.0@aar
  &gt; +--- androidx.asynclayoutinflater:asynclayoutinflater:1.0.0@aar
  &gt; +--- androidx.media:media:1.0.0@aar
  &gt; +--- androidx.navigation:navigation-common:2.0.0@aar
  &gt; +--- androidx.core:core:1.0.1@aar
  &gt; +--- androidx.versionedparcelable:versionedparcelable:1.0.0@aar
  &gt; +--- androidx.collection:collection:1.0.0@jar
  &gt; +--- androidx.cursoradapter:cursoradapter:1.0.0@aar
  &gt; +--- androidx.lifecycle:lifecycle-process:2.0.0@aar
  &gt; +--- androidx.lifecycle:lifecycle-service:2.0.0@aar
  &gt; +--- androidx.lifecycle:lifecycle-runtime:2.0.0@aar
  &gt; +--- androidx.documentfile:documentfile:1.0.0@aar
  &gt; +--- androidx.localbroadcastmanager:localbroadcastmanager:1.0.0@aar
  &gt; +--- androidx.print:print:1.0.0@aar
  &gt; +--- androidx.lifecycle:lifecycle-viewmodel:2.0.0@aar
  &gt; +--- androidx.interpolator:interpolator:1.0.0@aar
  &gt; +--- androidx.lifecycle:lifecycle-livedata:2.0.0@aar
  &gt; +--- androidx.lifecycle:lifecycle-livedata-core:2.0.0@aar
  &gt; +--- androidx.arch.core:core-runtime:2.0.0@aar
  &gt; +--- androidx.arch.core:core-common:2.0.0@jar
  &gt; +--- androidx.lifecycle:lifecycle-common:2.0.0@jar
  &gt; +--- androidx.annotation:annotation:1.0.0@jar
  &gt; +--- androidx.constraintlayout:constraintlayout-solver:1.1.3@jar
  &gt; +--- com.google.firebase:firebase-database-collection:16.0.1@aar
  &gt; +--- org.threeten:threetenbp:1.4.0:no-tzdb@jar
  &gt; +--- org.hamcrest:hamcrest-core:1.3@jar
  &gt; +--- net.bytebuddy:byte-buddy:1.7.9@jar
  &gt; +--- net.bytebuddy:byte-buddy-agent:1.7.9@jar
  &gt; +--- org.objenesis:objenesis:2.6@jar
  &gt; +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.3.50@jar
  &gt;  \--- org.jetbrains:annotations:13.0@jar
  </code></pre>