title: Crashlytics.logException method throwing illegal state exception. Not able to collect non-fatal issues for some activities
body: <p>My app uses the above Firebase Crashlytics feature but I am running into a strange problem. Recently I saw in my app's playstore crashes, an exception (see attached photo).
  <a href="https://i.stack.imgur.com/ZHZzL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZHZzL.png" alt="Crash Description"></a>
   The corresponding code in that location is as follows:</p>
  
  <pre><code>    override fun onCreate(savedInstanceState: Bundle?) {
          super.onCreate(savedInstanceState)
          setContentView(R.layout.activity_my_sites)
          setSupportActionBar(findViewById(R.id.my_toolbar))
  
          init()
          try{
              loadSitesSetAdapter()
          } catch (e:NullPointerException){
              Crashlytics.logException(e) // this is line 55 as crash
              finish()
  //            startActivity(Intent(this,MainActivity::class.java))
          }
  </code></pre>
  
  <p>The Fabric initialisation is as follows in my app:</p>
  
  <p>in app level gradle I have: </p>
  
  <pre><code>buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
      debug {
          // Disable fabric build ID generation for debug builds
          ext.enableCrashlytics = false
      }
  }
  </code></pre>
  
  <p>In main activity I have the following:</p>
  
  <pre><code>val crashlyticsKit = Crashlytics.Builder()
                                      .core(CrashlyticsCore.Builder().disabled(BuildConfig.DEBUG).build())
                                      .build();
  
      // Initialize Fabric with the debug-disabled crashlytics.
      Fabric.with(this,crashlyticsKit)
  </code></pre>
  
  <p>and last but not the least my dependency in gradle file is as follows:</p>
  
  <pre><code>// Crashlytics
  implementation('com.crashlytics.sdk.android:crashlytics:2.9.8@aar') {
      transitive = true;
  }
  </code></pre>
  
  <p>Is there something obvious I am missing here? Help please</p>