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.

Attempt to invoke virtual method 'int com.horcrux.svg.SvgViewShadowNode.hitTest(android.graphics.Point)' on a null object reference

See original GitHub issue

react-native : 0.53.0 manufacturer:HUAWEI model:HUAWEI NXT-AL10 osName:android osVersion:7.0

java.lang.NullPointerException Attempt to invoke virtual method 'int com.horcrux.svg.SvgViewShadowNode.hitTest(android.graphics.Point)' on a null object reference 
    SvgView.java:97 com.horcrux.svg.SvgView.dispatchTouchEvent
    ViewGroup.java:2671 android.view.ViewGroup.dispatchTransformedTouchEvent
    ViewGroup.java:2301 android.view.ViewGroup.dispatchTouchEvent
    ViewGroup.java:2671 android.view.ViewGroup.dispatchTransformedTouchEvent
    ViewGroup.java:2301 android.view.ViewGroup.dispatchTouchEvent
    ViewGroup.java:2671 android.view.ViewGroup.dispatchTransformedTouchEvent
    ViewGroup.java:2301 android.view.ViewGroup.dispatchTouchEvent
    ViewGroup.java:2671 android.view.ViewGroup.dispatchTransformedTouchEvent
    ViewGroup.java:2301 android.view.ViewGroup.dispatchTouchEvent
    ViewGroup.java:2671 android.view.ViewGroup.dispatchTransformedTouchEvent
    ViewGroup.java:2301 android.view.ViewGroup.dispatchTouchEvent
    ViewGroup.java:2671 android.view.ViewGroup.dispatchTransformedTouchEvent
    ViewGroup.java:2301 android.view.ViewGroup.dispatchTouchEvent
    ViewGroup.java:2671 android.view.ViewGroup.dispatchTransformedTouchEvent
    ViewGroup.java:2301 android.view.ViewGroup.dispatchTouchEvent
    ViewGroup.java:2671 android.view.ViewGroup.dispatchTransformedTouchEvent
    ViewGroup.java:2301 android.view.ViewGroup.dispatchTouchEvent
    DecorView.java:447 com.android.internal.policy.DecorView.superDispatchTouchEvent
    PhoneWindow.java:1871 com.android.internal.policy.PhoneWindow.superDispatchTouchEvent
    Dialog.java:949 android.app.Dialog.dispatchTouchEvent
    DecorView.java:409 com.android.internal.policy.DecorView.dispatchTouchEvent
    View.java:10232 android.view.View.dispatchPointerEvent
    ViewRootImpl.java:4862 android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent
    ViewRootImpl.java:4723 android.view.ViewRootImpl$ViewPostImeInputStage.onProcess
    ViewRootImpl.java:4255 android.view.ViewRootImpl$InputStage.deliver
    ViewRootImpl.java:4308 android.view.ViewRootImpl$InputStage.onDeliverToNext
    ViewRootImpl.java:4274 android.view.ViewRootImpl$InputStage.forward
    ViewRootImpl.java:4401 android.view.ViewRootImpl$AsyncInputStage.forward
    ViewRootImpl.java:4282 android.view.ViewRootImpl$InputStage.apply
    ViewRootImpl.java:4458 android.view.ViewRootImpl$AsyncInputStage.apply
    ViewRootImpl.java:4255 android.view.ViewRootImpl$InputStage.deliver
    ViewRootImpl.java:4308 android.view.ViewRootImpl$InputStage.onDeliverToNext
    ViewRootImpl.java:4274 android.view.ViewRootImpl$InputStage.forward
    ViewRootImpl.java:4282 android.view.ViewRootImpl$InputStage.apply
    ViewRootImpl.java:4255 android.view.ViewRootImpl$InputStage.deliver
    ViewRootImpl.java:6682 android.view.ViewRootImpl.deliverInputEvent
    ViewRootImpl.java:6656 android.view.ViewRootImpl.doProcessInputEvents
    ViewRootImpl.java:6617 android.view.ViewRootImpl.enqueueInputEvent
    ViewRootImpl.java:6809 android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent
    InputEventReceiver.java:192 android.view.InputEventReceiver.dispatchInputEvent
    MessageQueue.java:-2 android.os.MessageQueue.nativePollOnce
    MessageQueue.java:356 android.os.MessageQueue.next
    Looper.java:138 android.os.Looper.loop
    ActivityThread.java:6523 android.app.ActivityThread.main
    Method.java:-2 java.lang.reflect.Method.invoke
    ZygoteInit.java:942 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
    ZygoteInit.java:832 com.android.internal.os.ZygoteInit.main

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12

github_iconTop GitHub Comments

2reactions
pibocommented, Aug 2, 2018

+1

2reactions
ghostcommented, Aug 2, 2018

+1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Attempt to invoke virtual method 'int com.horcrux.svg ... - GitHub
Attempt to invoke virtual method 'int com.horcrux.svg.SvgViewShadowNode.hitTest(android.graphics.Point)' on a null object reference #695.
Read more >
Attempt to Invoke virtual method ... on a null object reference
everything is fine all Items which I want will be added to the RecyclerView , but if I pass when(id) { else ->...
Read more >
ATTEMPT TO INVOKE VIRTUAL METHOD 'ERROR' … 'ON A ...
Just understand Android. ... ATTEMPT TO INVOKE VIRTUAL METHOD 'ERROR' … ... Settext (java.lang.charsequence)' on a null object reference
Read more >
2021年02月_weixin_39980353的博客_CSDN博客
所以我有一个Android应用程序,显示一些消息.我可以将消息从应用程序添加到Web服务的数据库中,但是我很难将希伯来语编码为正确的格式.
Read more >
react-native-svg - npm
Supports most SVG elements and properties (Rect, Circle, Line, Polyline, Polygon, G ...). Easy to convert SVG code into ReactNative code.
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