You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When tapping the clear / notification item to clear / open the chucker activity, it crashses instead.
To Reproduce
Steps to reproduce the behavior:
Do anything to show the chucker notification
Kill the app, chucker notification still persists
Tap clear button / the notification itself
Crashes
Smartphone
OS: 8.0.0
Lib version: 3.0.0-alpha2
java.lang.IllegalStateException: You can't access the transaction repository if you don't initialize it! at com.chuckerteam.chucker.api.internal.data.repository.RepositoryProvider.transaction(RepositoryProvider.kt:16) at com.chuckerteam.chucker.api.internal.support.ClearTransactionsService.onHandleIntent(ClearTransactionsService.java:25) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:68) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:169) at android.os.HandlerThread.run(HandlerThread.java:65)
java.lang.IllegalStateException: You can't access the transaction repository if you don't initialize it! at com.chuckerteam.chucker.api.internal.data.repository.RepositoryProvider.transaction(RepositoryProvider.kt:16) at com.chuckerteam.chucker.api.internal.ui.transaction.TransactionListFragment.getDataSource(TransactionListFragment.java:136) at com.chuckerteam.chucker.api.internal.ui.transaction.TransactionListFragment.onAttach(TransactionListFragment.java:81) at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1404) at androidx.fragment.app.FragmentTransition.addToFirstInLastOut(FragmentTransition.java:1195)
The text was updated successfully, but these errors were encountered:
FixesChuckerTeam#68
Clicking the notification after the app would have been closed or killed would trigger a crash because the repositories were only initialized when creating the Intercaptor
Fixes#68
Clicking the notification after the app would have been closed or killed would trigger a crash because the repositories were only initialized when creating the Intercaptor
Describe the bug
When tapping the clear / notification item to clear / open the chucker activity, it crashses instead.
To Reproduce
Steps to reproduce the behavior:
Smartphone
java.lang.IllegalStateException: You can't access the transaction repository if you don't initialize it! at com.chuckerteam.chucker.api.internal.data.repository.RepositoryProvider.transaction(RepositoryProvider.kt:16) at com.chuckerteam.chucker.api.internal.support.ClearTransactionsService.onHandleIntent(ClearTransactionsService.java:25) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:68) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:169) at android.os.HandlerThread.run(HandlerThread.java:65)
java.lang.IllegalStateException: You can't access the transaction repository if you don't initialize it! at com.chuckerteam.chucker.api.internal.data.repository.RepositoryProvider.transaction(RepositoryProvider.kt:16) at com.chuckerteam.chucker.api.internal.ui.transaction.TransactionListFragment.getDataSource(TransactionListFragment.java:136) at com.chuckerteam.chucker.api.internal.ui.transaction.TransactionListFragment.onAttach(TransactionListFragment.java:81) at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1404) at androidx.fragment.app.FragmentTransition.addToFirstInLastOut(FragmentTransition.java:1195)
The text was updated successfully, but these errors were encountered: