Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException #2032

Closed
ProfessorVenkman opened this issue Nov 2, 2020 · 0 comments

Comments

@ProfessorVenkman
Copy link

ProfessorVenkman commented Nov 2, 2020

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:506)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
Caused by: java.lang.reflect.InvocationTargetException
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
	... 1 more
Caused by: org.electroncash.electroncash3.ToastException: This wallet is watching-only.
	at org.electroncash.electroncash3.SendDialog.<init>(Send.kt:41)
	at org.electroncash.electroncash3.MainActivity.onOptionsItemSelected(Main.kt:255)
	at android.app.Activity.onMenuItemSelected(Activity.java:4182)
	at androidx.fragment.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:384)
	at androidx.appcompat.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:219)
	at androidx.appcompat.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:109)
	at androidx.appcompat.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:109)
	at androidx.appcompat.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:64)
	at androidx.appcompat.widget.Toolbar$1.onMenuItemClick(Toolbar.java:207)
	at androidx.appcompat.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:781)
	at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:840)
	at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:158)
	at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:991)
	at androidx.appcompat.view.menu.MenuPopup.onItemClick(MenuPopup.java:128)
	at android.widget.AdapterView.performItemClick(AdapterView.java:374)
	at android.widget.AbsListView.performItemClick(AbsListView.java:1736)
	at android.widget.AbsListView$PerformClick.run(AbsListView.java:4207)
	at android.widget.AbsListView.onTouchUp(AbsListView.java:6707)
	at android.widget.AbsListView.onTouchEvent(AbsListView.java:6453)
	at android.widget.ListView.onTouchEvent(ListView.java:1721)
	at androidx.appcompat.widget.DropDownListView.onTouchEvent(DropDownListView.java:217)
	at androidx.appcompat.widget.MenuPopupWindow$MenuDropDownListView.onTouchEvent(MenuPopupWindow.java:135)
	at android.view.View.dispatchTouchEvent(View.java:14375)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3857)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3535)
	at android.widget.AbsListView.dispatchTouchEvent(AbsListView.java:6365)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551)
	at android.widget.PopupWindow$PopupDecorView.dispatchTouchEvent(PopupWindow.java:2860)
	at android.view.View.dispatchPointerEvent(View.java:14643)
	at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:6539)
	at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:6326)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5764)
	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5817)
	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5783)
	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5939)
	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5791)
	at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5996)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5764)
	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5817)
	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5783)
	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5791)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5764)
	at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:8976)
	at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:8837)
	at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:8790)
	at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:9112)
	at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:194)
	at android.os.MessageQueue.nativePollOnce(Native Method)
	at android.os.MessageQueue.next(MessageQueue.java:336)
	at android.os.Looper.loop(Looper.java:197)
	at android.app.ActivityThread.main(ActivityThread.java:8125)
	... 3 more
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

Reporter

This issue was reported by 10 user(s):

Electron Cash Version Python Version Operating System Wallet Type Locale
4.2.0-0 3.6.5 (default, Sep 11 2019, 15:39:45) [GCC 4.9] Android 10 on samsung SM-N960U1 (crownqlteue) unknown en_US
4.2.0-0 3.6.5 (default, Sep 11 2019, 15:39:45) [GCC 4.9] Android 10 on samsung SM-G986W (y2q) unknown en_CA
4.2.0-0 3.6.5 (default, Sep 11 2019, 15:30:12) [GCC 4.9] Android 10 on samsung SM-A115U (a11q) unknown en_US
4.2.0-0 3.6.5 (default, Sep 11 2019, 15:30:12) [GCC 4.9] Android 10 on samsung SM-A115U (a11q) unknown en_US
4.2.0-0 3.6.5 (default, Sep 11 2019, 15:39:45) [GCC 4.9] Android 10 on samsung SM-N960U1 (crownqlteue) unknown en_US
4.2.0-0 3.6.5 (default, Sep 11 2019, 15:39:45) [GCC 4.9] Android 10 on samsung SM-A215U1 (a21) unknown en_US
4.2.0-0 3.6.5 (default, Sep 11 2019, 15:39:45) [GCC 4.9] Android 10 on samsung SM-G960U (starqltesq) unknown en_US
4.2.0-0 3.6.5 (default, Sep 11 2019, 15:39:45) [GCC 4.9] Android 10 on samsung SM-N975U (d2q) unknown en_US
4.2.0-0 3.6.5 (default, Sep 11 2019, 15:39:45) [GCC 4.9] Android 10 on samsung SM-G970W (beyond0q) unknown en_CA
4.2.0-0 3.6.5 (default, Sep 11 2019, 15:39:45) [GCC 4.9] Android 10 on samsung SM-G965U1 (star2qlteue) unknown vi_VN

Additional Information

The reporting user(s) did not provide additional information.

@mhsmith mhsmith closed this as completed in bd181ce Nov 6, 2020
mhsmith added a commit that referenced this issue Feb 14, 2021
The number of reports we had of people clicking it in watching-only wallets (#2032), I think many of them must have assumed it was the normal send command. Also, this wording is more consistent with the desktop app, and makes clear the relationship with "load transaction".
EchterAgo pushed a commit to EchterAgo/Electron-Cash that referenced this issue Mar 11, 2021
The number of reports we had of people clicking it in watching-only wallets (Electron-Cash#2032), I think many of them must have assumed it was the normal send command. Also, this wording is more consistent with the desktop app, and makes clear the relationship with "load transaction".
EchterAgo pushed a commit to EchterAgo/Electron-Cash that referenced this issue Mar 11, 2021
The number of reports we had of people clicking it in watching-only wallets (Electron-Cash#2032), I think many of them must have assumed it was the normal send command. Also, this wording is more consistent with the desktop app, and makes clear the relationship with "load transaction".
EchterAgo pushed a commit to EchterAgo/Electron-Cash that referenced this issue Mar 11, 2021
The number of reports we had of people clicking it in watching-only wallets (Electron-Cash#2032), I think many of them must have assumed it was the normal send command. Also, this wording is more consistent with the desktop app, and makes clear the relationship with "load transaction".
EchterAgo pushed a commit to EchterAgo/Electron-Cash that referenced this issue Mar 11, 2021
The number of reports we had of people clicking it in watching-only wallets (Electron-Cash#2032), I think many of them must have assumed it was the normal send command. Also, this wording is more consistent with the desktop app, and makes clear the relationship with "load transaction".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant