[GH-ISSUE #158] Crash when interact with hashtags #588

Closed
opened 2026-03-13 22:02:00 +03:00 by kerem · 4 comments
Owner

Originally created by @bronzeboy on GitHub (Oct 28, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/158

Seems can't handle any hashtag, it seems to have problem with scroll to end

Originally created by @bronzeboy on GitHub (Oct 28, 2020). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/158 Seems can't handle any hashtag, it seems to have problem with scroll to end
kerem closed this issue 2026-03-13 22:02:05 +03:00
Author
Owner

@alexal1 commented on GitHub (Oct 29, 2020):

Could you please attach Crash.zip folder?
It may happen because different accounts can have slightly different UI and crash info will help to fix it.

<!-- gh-comment-id:718807638 --> @alexal1 commented on GitHub (Oct 29, 2020): Could you please attach Crash.zip folder? It may happen because different accounts can have slightly different UI and crash info will help to fix it.
Author
Owner

@bronzeboy commented on GitHub (Oct 29, 2020):

Could you please attach Crash.zip folder?
It may happen because different accounts can have slightly different UI and crash info will help to fix it.

It can't scroll, that's the function that crash. I'll report here the error but I think it would be great if the report autogenerated would be anonymous with personal information taken out!

<!-- gh-comment-id:719020461 --> @bronzeboy commented on GitHub (Oct 29, 2020): > Could you please attach Crash.zip folder? > It may happen because different accounts can have slightly different UI and crash info will help to fix it. It can't scroll, that's the function that crash. I'll report here the error but I think it would be great if the report autogenerated would be anonymous with personal information taken out!
Author
Owner

@MelBourbon commented on GitHub (Nov 2, 2020):

Maybe this will help. I think I have the same issue on an "old" device running with Android 5. May this be related to switching devices (phones). Meaning having used one phone the time before and then only connect to another phone and use the same script?

Traceback (most recent call last):
  File "<string>", line 174, in scroll
  File "/usr/local/lib/python3.7/dist-packages/uiautomator2/_selector.py", line 575, in __call__
    max_swipes, steps)
  File "/usr/local/lib/python3.7/dist-packages/uiautomator2/__init__.py", line 436, in __call__
    http_timeout)
  File "/usr/local/lib/python3.7/dist-packages/uiautomator2/__init__.py", line 442, in _jsonrpc_retry_call
    return self._jsonrpc_call(*args, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/uiautomator2/__init__.py", line 514, in _jsonrpc_call
    raise err
uiautomator2.exceptions.UiObjectNotFoundError: -32001 Jsonrpc error: <android.support.test.uiautomator.UiObjectNotFoundException> data: UiSelector[CLASS=androidx.recyclerview.widget.RecyclerView, RESOURCE_ID=android:id/list], method: scrollToEnd

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/insomniac/__init__.py", line 418, in wrapper
    func(*args, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/insomniac/__init__.py", line 227, in job
    on_interaction)
  File "<string>", line 114, in handle_hashtag
  File "<string>", line 176, in scroll
insomniac.device_facade.DeviceFacade.JsonRpcError: -32001 Jsonrpc error: <android.support.test.uiautomator.UiObjectNotFoundException> data: UiSelector[CLASS=androidx.recyclerview.widget.RecyclerView, RESOURCE_ID=android:id/list], method: scrollToEnd
<!-- gh-comment-id:720709342 --> @MelBourbon commented on GitHub (Nov 2, 2020): Maybe this will help. I think I have the same issue on an "old" device running with Android 5. May this be related to switching devices (phones). Meaning having used one phone the time before and then only connect to another phone and use the same script? ``` Traceback (most recent call last): File "<string>", line 174, in scroll File "/usr/local/lib/python3.7/dist-packages/uiautomator2/_selector.py", line 575, in __call__ max_swipes, steps) File "/usr/local/lib/python3.7/dist-packages/uiautomator2/__init__.py", line 436, in __call__ http_timeout) File "/usr/local/lib/python3.7/dist-packages/uiautomator2/__init__.py", line 442, in _jsonrpc_retry_call return self._jsonrpc_call(*args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/uiautomator2/__init__.py", line 514, in _jsonrpc_call raise err uiautomator2.exceptions.UiObjectNotFoundError: -32001 Jsonrpc error: <android.support.test.uiautomator.UiObjectNotFoundException> data: UiSelector[CLASS=androidx.recyclerview.widget.RecyclerView, RESOURCE_ID=android:id/list], method: scrollToEnd During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/insomniac/__init__.py", line 418, in wrapper func(*args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/insomniac/__init__.py", line 227, in job on_interaction) File "<string>", line 114, in handle_hashtag File "<string>", line 176, in scroll insomniac.device_facade.DeviceFacade.JsonRpcError: -32001 Jsonrpc error: <android.support.test.uiautomator.UiObjectNotFoundException> data: UiSelector[CLASS=androidx.recyclerview.widget.RecyclerView, RESOURCE_ID=android:id/list], method: scrollToEnd ```
Author
Owner

@Fadude commented on GitHub (Jan 6, 2021):

Fixed on 3.5.0

<!-- gh-comment-id:755267364 --> @Fadude commented on GitHub (Jan 6, 2021): Fixed on 3.5.0
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Insomniac#588
No description provided.