question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception in HostObject::get: for prop 'RNStaticSafeAreaInsets'

See original GitHub issue

I’ve had a few crash reports come through crashlytics, but it’s really not obvious to me what’s happening here. Any help would be appreciated. Device info for latest crash included.

Version: 2.1.1

Device Brand: samsung Model: Galaxy A20 Orientation: Portrait RAM free: 654.35 MB Disk free: 3.04 GB

Operating System Version: 10 Orientation: Portrait Rooted: No

Fatal Exception: com.facebook.react.common.JavascriptException: Error: Exception in HostObject::get: for prop 'RNStaticSafeAreaInsets': <unknown exception>, js engine: hermes, stack:
v@1:86634
d@1:86327
o@1:85953
anonymous@1:1029868
v@1:86634
d@1:86327
o@1:85953
anonymous@1:1029042
v@1:86634
d@1:86327
o@1:85953
anonymous@1:1026417
v@1:86634
d@1:86327
o@1:85953
anonymous@1:703318
v@1:86634
d@1:86284
o@1:85953
anonymous@1:93171
R@1:467611
run@1:467897
runApplication@1:468406
value@1:118225
anonymous@1:116755
value@1:117822
value@1:116713

       at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:79)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
       at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:151)
       at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java)
       at android.os.Handler.handleCallback(Handler.java:883)
       at android.os.Handler.dispatchMessage(Handler.java:100)
       at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
       at android.os.Looper.loop(Looper.java:237)
       at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
       at java.lang.Thread.run(Thread.java:919)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
robzybcommented, Jul 20, 2020

I am getting a huge cluster of crash reports on Crashlytics with the same error, however my hotspot is happening for Samsung S10e phones.

#17 claims to fix this, but I am running off the latest master branch and continue to see this error coming through.

Fatal Exception: com.facebook.react.common.JavascriptException: Error: Exception in HostObject::get: for prop 'RNStaticSafeAreaInsets': <unknown exception>, js engine: hermes, stack:
v@1:28672
d@1:28365
o@1:27991
anonymous@1:622348
v@1:28672
d@1:28365
o@1:27991
anonymous@1:495496
v@1:28672
d@1:28365
o@1:27991
anonymous@1:35092
v@1:28672
d@1:28322
o@1:27991
global@1:27723

       at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:79)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
       at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:151)
       at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java)
       at android.os.Handler.handleCallback(Handler.java:883)
       at android.os.Handler.dispatchMessage(Handler.java:100)
       at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
       at android.os.Looper.loop(Looper.java:237)
       at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
       at java.lang.Thread.run(Thread.java:919)
0reactions
jpamarohortacommented, Aug 12, 2022

Hello, thank your for the fallback @medonagy45 it was integrated into release 2.2.0, it should be fixed now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exception in HostObject - React Native Build Android
In my case, the problem was with react-native-device-info. Try this in your app/build.gradle dependencies:
Read more >
Why Is The Logic Of Retrieving Safeareainsets - ADocLib
React Native package that exposes the Safe Area Insets as constants Issues Exception in HostObject::get: for prop 'RNStaticSafeAreaInsets'.
Read more >
Diff - platform/frameworks/base - Google Git
Merge "Add Configuration.getLayoutDirectionFromLocale()" diff --git a/api/14.txt b/api/14.txt index ac93afb..5c4732e 100644 --- a/api/14.txt +++ b/api/14.
Read more >
react-native-static-safe-area-insets - npm
react-native-static-safe-area-insets. TypeScript icon, indicating that this package has built-in type declarations.
Read more >
Sun Management Center 3.0 Developer Environment ...
Troubleshooting for Static Menus 349. Console Message Exceptions 349. Strange Behavior of Integrated Program if Invoked Multiple Times.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found