Facebook App Event sdk 4.38.0 throws NPE in ViewHierarchy.setAppearanceOfView
I'm having a problem in one of my apps where I use facebook sdk. After upgrading sdk from 4.27.0 to 4.38.0 fabric started to log this fatal exception. I don't know when or how it happens cause i can't reproduce it myself. Maybe some of you had this problem after upgrading facebook SDK.
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.compress(android.graphics.Bitmap$CompressFormat, int, java.io.OutputStream)' on a null object reference
at com.facebook.appevents.codeless.internal.ViewHierarchy.setAppearanceOfView(ViewHierarchy.java:182)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:197)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.attachListeners(ButtonIndexer.java:166)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.process(ButtonIndexer.java:161)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.run(ButtonIndexer.java:145)
at android.os.Handler.handleCallback(Handler.java:754)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:163)
at android.app.ActivityThread.main(ActivityThread.java:6221)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
java android facebook facebook-audience-network
|
show 4 more comments
I'm having a problem in one of my apps where I use facebook sdk. After upgrading sdk from 4.27.0 to 4.38.0 fabric started to log this fatal exception. I don't know when or how it happens cause i can't reproduce it myself. Maybe some of you had this problem after upgrading facebook SDK.
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.compress(android.graphics.Bitmap$CompressFormat, int, java.io.OutputStream)' on a null object reference
at com.facebook.appevents.codeless.internal.ViewHierarchy.setAppearanceOfView(ViewHierarchy.java:182)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:197)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.attachListeners(ButtonIndexer.java:166)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.process(ButtonIndexer.java:161)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.run(ButtonIndexer.java:145)
at android.os.Handler.handleCallback(Handler.java:754)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:163)
at android.app.ActivityThread.main(ActivityThread.java:6221)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
java android facebook facebook-audience-network
i see it as well on Android versions 5.1 & 4.4.4, on multiple esoteric devices likeLAVA - Grand 2
.
– marmor
Nov 15 '18 at 21:16
submitted a bug report to facebook, feel free to vote via "subscribe": developers.facebook.com/support/bugs/1955482454532167
– marmor
Nov 15 '18 at 21:23
Already did. Thanks for reporting it, i haven't posted it on facebook site cause 3.38.0 is not the latest version of sdk :)
– DawidJ
Nov 16 '18 at 13:39
To reproduce the case you can just create ImageView and set empty BitmapDrawable:imageView.setImageDrawable(new BitmapDrawable()); imageView.setClickable(true);
Then Facebook SDK in ~2% cases (currently) based on device id will enable button indexing feature and it will fail because BitmapDrawable.getBitmap can be null.
– lukaville
Dec 6 '18 at 13:56
Unfortunately I was not able to reproduce this error in a way which you described :(
– DawidJ
Dec 7 '18 at 13:32
|
show 4 more comments
I'm having a problem in one of my apps where I use facebook sdk. After upgrading sdk from 4.27.0 to 4.38.0 fabric started to log this fatal exception. I don't know when or how it happens cause i can't reproduce it myself. Maybe some of you had this problem after upgrading facebook SDK.
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.compress(android.graphics.Bitmap$CompressFormat, int, java.io.OutputStream)' on a null object reference
at com.facebook.appevents.codeless.internal.ViewHierarchy.setAppearanceOfView(ViewHierarchy.java:182)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:197)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.attachListeners(ButtonIndexer.java:166)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.process(ButtonIndexer.java:161)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.run(ButtonIndexer.java:145)
at android.os.Handler.handleCallback(Handler.java:754)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:163)
at android.app.ActivityThread.main(ActivityThread.java:6221)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
java android facebook facebook-audience-network
I'm having a problem in one of my apps where I use facebook sdk. After upgrading sdk from 4.27.0 to 4.38.0 fabric started to log this fatal exception. I don't know when or how it happens cause i can't reproduce it myself. Maybe some of you had this problem after upgrading facebook SDK.
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.compress(android.graphics.Bitmap$CompressFormat, int, java.io.OutputStream)' on a null object reference
at com.facebook.appevents.codeless.internal.ViewHierarchy.setAppearanceOfView(ViewHierarchy.java:182)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:197)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.getClickableElementsOfView(ButtonIndexer.java:206)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.attachListeners(ButtonIndexer.java:166)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.process(ButtonIndexer.java:161)
at com.facebook.marketing.internal.ButtonIndexer$ViewProcessor.run(ButtonIndexer.java:145)
at android.os.Handler.handleCallback(Handler.java:754)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:163)
at android.app.ActivityThread.main(ActivityThread.java:6221)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
java android facebook facebook-audience-network
java android facebook facebook-audience-network
edited Nov 15 '18 at 21:16
marmor
19.4k883125
19.4k883125
asked Nov 14 '18 at 10:49
DawidJDawidJ
745716
745716
i see it as well on Android versions 5.1 & 4.4.4, on multiple esoteric devices likeLAVA - Grand 2
.
– marmor
Nov 15 '18 at 21:16
submitted a bug report to facebook, feel free to vote via "subscribe": developers.facebook.com/support/bugs/1955482454532167
– marmor
Nov 15 '18 at 21:23
Already did. Thanks for reporting it, i haven't posted it on facebook site cause 3.38.0 is not the latest version of sdk :)
– DawidJ
Nov 16 '18 at 13:39
To reproduce the case you can just create ImageView and set empty BitmapDrawable:imageView.setImageDrawable(new BitmapDrawable()); imageView.setClickable(true);
Then Facebook SDK in ~2% cases (currently) based on device id will enable button indexing feature and it will fail because BitmapDrawable.getBitmap can be null.
– lukaville
Dec 6 '18 at 13:56
Unfortunately I was not able to reproduce this error in a way which you described :(
– DawidJ
Dec 7 '18 at 13:32
|
show 4 more comments
i see it as well on Android versions 5.1 & 4.4.4, on multiple esoteric devices likeLAVA - Grand 2
.
– marmor
Nov 15 '18 at 21:16
submitted a bug report to facebook, feel free to vote via "subscribe": developers.facebook.com/support/bugs/1955482454532167
– marmor
Nov 15 '18 at 21:23
Already did. Thanks for reporting it, i haven't posted it on facebook site cause 3.38.0 is not the latest version of sdk :)
– DawidJ
Nov 16 '18 at 13:39
To reproduce the case you can just create ImageView and set empty BitmapDrawable:imageView.setImageDrawable(new BitmapDrawable()); imageView.setClickable(true);
Then Facebook SDK in ~2% cases (currently) based on device id will enable button indexing feature and it will fail because BitmapDrawable.getBitmap can be null.
– lukaville
Dec 6 '18 at 13:56
Unfortunately I was not able to reproduce this error in a way which you described :(
– DawidJ
Dec 7 '18 at 13:32
i see it as well on Android versions 5.1 & 4.4.4, on multiple esoteric devices like
LAVA - Grand 2
.– marmor
Nov 15 '18 at 21:16
i see it as well on Android versions 5.1 & 4.4.4, on multiple esoteric devices like
LAVA - Grand 2
.– marmor
Nov 15 '18 at 21:16
submitted a bug report to facebook, feel free to vote via "subscribe": developers.facebook.com/support/bugs/1955482454532167
– marmor
Nov 15 '18 at 21:23
submitted a bug report to facebook, feel free to vote via "subscribe": developers.facebook.com/support/bugs/1955482454532167
– marmor
Nov 15 '18 at 21:23
Already did. Thanks for reporting it, i haven't posted it on facebook site cause 3.38.0 is not the latest version of sdk :)
– DawidJ
Nov 16 '18 at 13:39
Already did. Thanks for reporting it, i haven't posted it on facebook site cause 3.38.0 is not the latest version of sdk :)
– DawidJ
Nov 16 '18 at 13:39
To reproduce the case you can just create ImageView and set empty BitmapDrawable:
imageView.setImageDrawable(new BitmapDrawable()); imageView.setClickable(true);
Then Facebook SDK in ~2% cases (currently) based on device id will enable button indexing feature and it will fail because BitmapDrawable.getBitmap can be null.– lukaville
Dec 6 '18 at 13:56
To reproduce the case you can just create ImageView and set empty BitmapDrawable:
imageView.setImageDrawable(new BitmapDrawable()); imageView.setClickable(true);
Then Facebook SDK in ~2% cases (currently) based on device id will enable button indexing feature and it will fail because BitmapDrawable.getBitmap can be null.– lukaville
Dec 6 '18 at 13:56
Unfortunately I was not able to reproduce this error in a way which you described :(
– DawidJ
Dec 7 '18 at 13:32
Unfortunately I was not able to reproduce this error in a way which you described :(
– DawidJ
Dec 7 '18 at 13:32
|
show 4 more comments
1 Answer
1
active
oldest
votes
The fixed version 4.40.0 of the facebook android SDK was recently released:
- https://developers.facebook.com/docs/android/change-log-4x/
- https://github.com/facebook/facebook-android-sdk/releases/tag/sdk-version-4.40.0
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53298421%2ffacebook-app-event-sdk-4-38-0-throws-npe-in-viewhierarchy-setappearanceofview%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The fixed version 4.40.0 of the facebook android SDK was recently released:
- https://developers.facebook.com/docs/android/change-log-4x/
- https://github.com/facebook/facebook-android-sdk/releases/tag/sdk-version-4.40.0
add a comment |
The fixed version 4.40.0 of the facebook android SDK was recently released:
- https://developers.facebook.com/docs/android/change-log-4x/
- https://github.com/facebook/facebook-android-sdk/releases/tag/sdk-version-4.40.0
add a comment |
The fixed version 4.40.0 of the facebook android SDK was recently released:
- https://developers.facebook.com/docs/android/change-log-4x/
- https://github.com/facebook/facebook-android-sdk/releases/tag/sdk-version-4.40.0
The fixed version 4.40.0 of the facebook android SDK was recently released:
- https://developers.facebook.com/docs/android/change-log-4x/
- https://github.com/facebook/facebook-android-sdk/releases/tag/sdk-version-4.40.0
answered Jan 25 at 11:15
p-schneiderp-schneider
313
313
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53298421%2ffacebook-app-event-sdk-4-38-0-throws-npe-in-viewhierarchy-setappearanceofview%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
i see it as well on Android versions 5.1 & 4.4.4, on multiple esoteric devices like
LAVA - Grand 2
.– marmor
Nov 15 '18 at 21:16
submitted a bug report to facebook, feel free to vote via "subscribe": developers.facebook.com/support/bugs/1955482454532167
– marmor
Nov 15 '18 at 21:23
Already did. Thanks for reporting it, i haven't posted it on facebook site cause 3.38.0 is not the latest version of sdk :)
– DawidJ
Nov 16 '18 at 13:39
To reproduce the case you can just create ImageView and set empty BitmapDrawable:
imageView.setImageDrawable(new BitmapDrawable()); imageView.setClickable(true);
Then Facebook SDK in ~2% cases (currently) based on device id will enable button indexing feature and it will fail because BitmapDrawable.getBitmap can be null.– lukaville
Dec 6 '18 at 13:56
Unfortunately I was not able to reproduce this error in a way which you described :(
– DawidJ
Dec 7 '18 at 13:32