{"action":"created","issue":{"url":"https://api.github.com/repos/segmentio/analytics-android/issues/201","labels_url":"https://api.github.com/repos/segmentio/analytics-android/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/analytics-android/issues/201/comments","events_url":"https://api.github.com/repos/segmentio/analytics-android/issues/201/events","html_url":"https://github.com/segmentio/analytics-android/issues/201","id":59091566,"number":201,"title":"NullPointerException in AppsFlyerIntegration.initialize","user":{"login":"adrienkohlbecker","id":70469,"avatar_url":"https://avatars.githubusercontent.com/u/70469?v=3","gravatar_id":"","url":"https://api.github.com/users/adrienkohlbecker","html_url":"https://github.com/adrienkohlbecker","followers_url":"https://api.github.com/users/adrienkohlbecker/followers","following_url":"https://api.github.com/users/adrienkohlbecker/following{/other_user}","gists_url":"https://api.github.com/users/adrienkohlbecker/gists{/gist_id}","starred_url":"https://api.github.com/users/adrienkohlbecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrienkohlbecker/subscriptions","organizations_url":"https://api.github.com/users/adrienkohlbecker/orgs","repos_url":"https://api.github.com/users/adrienkohlbecker/repos","events_url":"https://api.github.com/users/adrienkohlbecker/events{/privacy}","received_events_url":"https://api.github.com/users/adrienkohlbecker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/segmentio/analytics-android/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"f2prateek","id":843979,"avatar_url":"https://avatars.githubusercontent.com/u/843979?v=3","gravatar_id":"","url":"https://api.github.com/users/f2prateek","html_url":"https://github.com/f2prateek","followers_url":"https://api.github.com/users/f2prateek/followers","following_url":"https://api.github.com/users/f2prateek/following{/other_user}","gists_url":"https://api.github.com/users/f2prateek/gists{/gist_id}","starred_url":"https://api.github.com/users/f2prateek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f2prateek/subscriptions","organizations_url":"https://api.github.com/users/f2prateek/orgs","repos_url":"https://api.github.com/users/f2prateek/repos","events_url":"https://api.github.com/users/f2prateek/events{/privacy}","received_events_url":"https://api.github.com/users/f2prateek/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/segmentio/analytics-android/milestones/4","html_url":"https://github.com/segmentio/analytics-android/milestones/analytics-android-3.0.1","labels_url":"https://api.github.com/repos/segmentio/analytics-android/milestones/4/labels","id":994369,"number":4,"title":"analytics-android-3.0.1","description":"","creator":{"login":"f2prateek","id":843979,"avatar_url":"https://avatars.githubusercontent.com/u/843979?v=3","gravatar_id":"","url":"https://api.github.com/users/f2prateek","html_url":"https://github.com/f2prateek","followers_url":"https://api.github.com/users/f2prateek/followers","following_url":"https://api.github.com/users/f2prateek/following{/other_user}","gists_url":"https://api.github.com/users/f2prateek/gists{/gist_id}","starred_url":"https://api.github.com/users/f2prateek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f2prateek/subscriptions","organizations_url":"https://api.github.com/users/f2prateek/orgs","repos_url":"https://api.github.com/users/f2prateek/repos","events_url":"https://api.github.com/users/f2prateek/events{/privacy}","received_events_url":"https://api.github.com/users/f2prateek/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":1,"state":"open","created_at":"2015-02-25T00:35:59Z","updated_at":"2015-02-26T16:37:56Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-02-26T15:49:13Z","updated_at":"2015-02-26T19:03:12Z","closed_at":null,"body":"Hello,\r\nI'm getting a NullPointerException, using the latest snapshot.\r\nIt happens when initializing the AppsFlyerIntegration, which I do not have activated.\r\nHere is the stacktrace:\r\n\r\n```\r\n2666-2841/fr.sharette.mobile.dev E/AndroidRuntime﹕ FATAL EXCEPTION: SegmentAnalytics-IntegrationManager\r\n    Process: fr.sharette.mobile.dev, PID: 2666\r\n    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.segment.analytics.ValueMap.getString(java.lang.String)' on a null object reference\r\n            at com.segment.analytics.internal.integrations.AppsFlyerIntegration.initialize(AppsFlyerIntegration.java:40)\r\n            at com.segment.analytics.IntegrationManager.performInitializeIntegrations(IntegrationManager.java:240)\r\n            at com.segment.analytics.IntegrationManager$IntegrationManagerHandler.handleMessage(IntegrationManager.java:542)\r\n            at android.os.Handler.dispatchMessage(Handler.java:102)\r\n            at android.os.Looper.loop(Looper.java:135)\r\n            at android.os.HandlerThread.run(HandlerThread.java:61)\r\n```\r\n\r\nHere is my gradle config:\r\n\r\n```\r\nrepositories {\r\n    mavenCentral()\r\n    maven {\r\n        url 'https://oss.sonatype.org/content/repositories/snapshots/'\r\n    }\r\n}\r\n\r\ndependencies {\r\n    compile('com.segment.analytics.android:analytics-core:3.0+@aar') {\r\n        transitive = true\r\n    }\r\n    compile('com.segment.analytics.android:analytics-integration-amplitude:3.0+@aar') {\r\n        transitive = true\r\n    }\r\n    compile('com.segment.analytics.android:analytics-integration-appsflyer:3.0+@aar') {\r\n        transitive = true\r\n    }\r\n    compile('com.segment.analytics.android:analytics-integration-bugsnag:3.0+@aar') {\r\n        transitive = true\r\n    }\r\n    compile('com.segment.analytics.android:analytics-integration-countly:3.0+@aar') {\r\n        transitive = true\r\n    }\r\n    compile('com.segment.analytics.android:analytics-integration-crittercism:3.0+@aar') {\r\n        transitive = true\r\n    }\r\n    compile('com.segment.analytics.android:analytics-integration-flurry:3.0+@aar') {\r\n        transitive = true\r\n    }\r\n    compile('com.segment.analytics.android:analytics-integration-google-analytics:3.0+@aar') {\r\n        transitive = true\r\n    }\r\n    compile('com.segment.analytics.android:analytics-integration-kahuna:3.0+@aar') {\r\n        transitive = true\r\n    }\r\n    compile('com.segment.analytics.android:analytics-integration-leanplum:3.0+@aar') {\r\n        transitive = true\r\n    }\r\n    compile('com.segment.analytics.android:analytics-integration-localytics:3.0+@aar') {\r\n        transitive = true\r\n    }\r\n    compile('com.segment.analytics.android:analytics-integration-mixpanel:3.0+@aar') {\r\n        transitive = true\r\n    }\r\n    compile('com.segment.analytics.android:analytics-integration-quantcast:3.0+@aar') {\r\n        transitive = true\r\n    }\r\n    compile('com.segment.analytics.android:analytics-integration-tapstream:3.0+@aar') {\r\n        transitive = true\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/segmentio/analytics-android/issues/comments/76244548","html_url":"https://github.com/segmentio/analytics-android/issues/201#issuecomment-76244548","issue_url":"https://api.github.com/repos/segmentio/analytics-android/issues/201","id":76244548,"user":{"login":"adrienkohlbecker","id":70469,"avatar_url":"https://avatars.githubusercontent.com/u/70469?v=3","gravatar_id":"","url":"https://api.github.com/users/adrienkohlbecker","html_url":"https://github.com/adrienkohlbecker","followers_url":"https://api.github.com/users/adrienkohlbecker/followers","following_url":"https://api.github.com/users/adrienkohlbecker/following{/other_user}","gists_url":"https://api.github.com/users/adrienkohlbecker/gists{/gist_id}","starred_url":"https://api.github.com/users/adrienkohlbecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrienkohlbecker/subscriptions","organizations_url":"https://api.github.com/users/adrienkohlbecker/orgs","repos_url":"https://api.github.com/users/adrienkohlbecker/repos","events_url":"https://api.github.com/users/adrienkohlbecker/events{/privacy}","received_events_url":"https://api.github.com/users/adrienkohlbecker/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T19:03:12Z","updated_at":"2015-02-26T19:03:12Z","body":"```\r\n02-26 19:00:32.356    8768-9454/fr.sharette.mobile.dev E/AndroidRuntime﹕ FATAL EXCEPTION: SegmentAnalytics-IntegrationManager\r\n    Process: fr.sharette.mobile.dev, PID: 8768\r\n    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.segment.analytics.ValueMap.getString(java.lang.String)' on a null object reference\r\n            at com.segment.analytics.internal.integrations.AppsFlyerIntegration.initialize(AppsFlyerIntegration.java:40)\r\n            at com.segment.analytics.IntegrationManager.performInitializeIntegrations(IntegrationManager.java:240)\r\n            at com.segment.analytics.IntegrationManager$IntegrationManagerHandler.handleMessage(IntegrationManager.java:542)\r\n            at android.os.Handler.dispatchMessage(Handler.java:102)\r\n            at android.os.Looper.loop(Looper.java:135)\r\n            at android.os.HandlerThread.run(HandlerThread.java:61)\r\n02-26 19:53:56.988    4845-5433/fr.sharette.mobile.dev D/Segment﹕ IntegrationManager   skip         com.segment.analytics.internal.integrations.BugsnagIntegration\r\n02-26 19:53:56.988    4845-5433/fr.sharette.mobile.dev D/Segment﹕ IntegrationManager   skip         com.segment.analytics.internal.integrations.CountlyIntegration\r\n02-26 19:53:56.989    4845-5433/fr.sharette.mobile.dev D/Segment﹕ IntegrationManager   skip         com.segment.analytics.internal.integrations.CrittercismIntegration\r\n02-26 19:53:56.992    4845-5433/fr.sharette.mobile.dev D/Segment﹕ IntegrationManager   skip         com.segment.analytics.internal.integrations.FlurryIntegration\r\n02-26 19:53:56.992    4845-5433/fr.sharette.mobile.dev D/Segment﹕ IntegrationManager   skip         com.segment.analytics.internal.integrations.KahunaIntegration\r\n02-26 19:53:56.993    4845-5433/fr.sharette.mobile.dev D/Segment﹕ IntegrationManager   skip         com.segment.analytics.internal.integrations.LeanplumIntegration\r\n02-26 19:53:56.993    4845-5433/fr.sharette.mobile.dev D/Segment﹕ IntegrationManager   skip         com.segment.analytics.internal.integrations.LocalyticsIntegration\r\n02-26 19:53:56.994    4845-5433/fr.sharette.mobile.dev D/Segment﹕ IntegrationManager   skip         com.segment.analytics.internal.integrations.QuantcastIntegration\r\n02-26 19:53:56.997    4845-5472/fr.sharette.mobile.dev D/Segment﹕ IntegrationManager   initialize   Amplitude                            {trackAllPages=false, trackCategorizedPages=true, trackNamedPages=true, apiKey=apiKey}\r\n02-26 19:53:57.025    4845-5472/fr.sharette.mobile.dev D/Segment﹕ IntegrationManager   initialize   AppsFlyer                            null\r\n02-26 19:53:57.608    4845-5433/fr.sharette.mobile.dev D/Segment﹕ Main                 create       fe007a72-30b1-4e4c-b2f0-738d95ae9da7 IdentifyPayload{\"userId=\"userid}\r\n02-26 19:53:57.608    4845-5476/fr.sharette.mobile.dev D/Segment﹕ SegmentDispatcher    enqueue      fe007a72-30b1-4e4c-b2f0-738d95ae9da7 Queue Size: 0\r\n02-26 19:53:57.612    4845-5433/fr.sharette.mobile.dev D/Segment﹕ Main                 create       2e493a52-6940-4d4d-9749-d7f747700f4b TrackPayload{\"Home}\r\n02-26 19:53:57.614    4845-5433/fr.sharette.mobile.dev D/Segment﹕ Main                 create       c27479ca-f8c0-4888-9e96-810e58e605f3 TrackPayload{\"First}\r\n02-26 19:53:57.616    4845-5433/fr.sharette.mobile.dev D/Segment﹕ Main                 create       4dd864df-cae8-4393-bbac-baab5395463b TrackPayload{\"App Ready}\r\n02-26 19:53:57.618    4845-5433/fr.sharette.mobile.dev D/Segment﹕ Main                 create       d827a941-6e80-4390-83ad-d05782f1ac08 IdentifyPayload{\"userId=\"userid}\r\n02-26 19:53:57.625    4845-5476/fr.sharette.mobile.dev D/Segment﹕ SegmentDispatcher    enqueue      2e493a52-6940-4d4d-9749-d7f747700f4b Queue Size: 1\r\n02-26 19:53:57.638    4845-5476/fr.sharette.mobile.dev D/Segment﹕ SegmentDispatcher    enqueue      c27479ca-f8c0-4888-9e96-810e58e605f3 Queue Size: 2\r\n02-26 19:53:57.653    4845-5476/fr.sharette.mobile.dev D/Segment﹕ SegmentDispatcher    enqueue      4dd864df-cae8-4393-bbac-baab5395463b Queue Size: 3\r\n02-26 19:53:57.710    4845-5476/fr.sharette.mobile.dev D/Segment﹕ SegmentDispatcher    enqueue      d827a941-6e80-4390-83ad-d05782f1ac08 Queue Size: 4\r\n02-26 19:53:58.293    4845-5472/fr.sharette.mobile.dev E/AndroidRuntime﹕ FATAL EXCEPTION: SegmentAnalytics-IntegrationManager\r\n    Process: fr.sharette.mobile.dev, PID: 4845\r\n    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.segment.analytics.ValueMap.getString(java.lang.String)' on a null object reference\r\n            at com.segment.analytics.internal.integrations.AppsFlyerIntegration.initialize(AppsFlyerIntegration.java:40)\r\n            at com.segment.analytics.IntegrationManager.performInitializeIntegrations(IntegrationManager.java:240)\r\n            at com.segment.analytics.IntegrationManager$IntegrationManagerHandler.handleMessage(IntegrationManager.java:542)\r\n            at android.os.Handler.dispatchMessage(Handler.java:102)\r\n            at android.os.Looper.loop(Looper.java:135)\r\n            at android.os.HandlerThread.run(HandlerThread.java:61)\r\n02-26 19:53:58.343    4845-4845/fr.sharette.mobile.dev D/Segment﹕ Main                 create       980c0356-4e74-4b98-a23c-071732cfc868 ActivityLifecycle{PAUSED}\r\n```"}}