Skip to content

Instantly share code, notes, and snippets.

@henriquedesousa
Created May 19, 2016 20:28
Show Gist options
  • Save henriquedesousa/308bb26bc46f0ba83007d3f55ae619d3 to your computer and use it in GitHub Desktop.
Save henriquedesousa/308bb26bc46f0ba83007d3f55ae619d3 to your computer and use it in GitHub Desktop.
java.lang.NullPointerException: Attempt to invoke virtual method 'com.chess.dagger.GlobalComponent com.chess.ui.activities.MainApplication.getGlobalComponent()' on a null object reference
at com.chess.utilities.MonitorDataHelper.getCrashlytics(MonitorDataHelper.java:63)
at com.chess.utilities.MonitorDataHelper.setFlagValue(MonitorDataHelper.java:28)
at com.chess.db.DbDataProvider.insert(DbDataProvider.java:203)
at android.content.ContentProvider$Transport.insert(ContentProvider.java:236)
at android.content.ContentResolver.insert(ContentResolver.java:1207)
at com.chess.db.DbDataManager.updateOrInsertValues(DbDataManager.java:4247)
at com.chess.db.DbDataManager.savePlayMoveNotification(DbDataManager.java:3039)
at com.chess.backend.gcm.GcmIntentService.processMoveMadeNotification(GcmIntentService.java:360)
at com.chess.backend.gcm.GcmIntentService.onMessage(GcmIntentService.java:147)
at com.chess.backend.gcm.GcmIntentService.onHandleIntent(GcmIntentService.java:93)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment