Closed jim618 closed 9 years ago
hid4java now fails fast on startup and transforms any Throwable
into a HidException
to simplify downstream handling of native library binding issues. The original error report does not contain sufficient information to identify the unique OS variant causing the problem (beyond Linux 64).
To verify build hid4java, MultiBit Hardware and MultiBit HD locally off their latest develop branches.
Ready for review and close.
All builds ok - fix is in multibit-hardware. Closing.
"@timestamp": "2015-06-10T14:00:31.390-06:00", "level": "WARN", "thread_name": "AWT-EventQueue-0", "logger_name": "org.multibit.hd.core.services.CoreServices", "message": "Could not create the hardware wallet.", "stack_trace": "java.lang.NoClassDefFoundError: Could not initialize class org.hid4java.jna.HidApi at org.hid4java.HidDeviceManager.getAttachedHidDevices(HidDeviceManager.java:150) ~[multibit-hd.jar:na] at org.hid4java.HidDeviceManager.scan(HidDeviceManager.java:101) ~[multibit-hd.jar:na] at org.hid4java.HidDeviceManager.start(HidDeviceManager.java:58) ~[multibit-hd.jar:na] at org.hid4java.HidServices.(HidServices.java:38) ~[multibit-hd.jar:na] at org.hid4java.HidManager.getHidServices(HidManager.java:25) ~[multibit-hd.jar:na] at org.multibit.hd.hardware.trezor.wallets.v1.TrezorV1HidHardwareWallet.(TrezorV1HidHardwareWallet.java:90) ~[multibit-hd.jar:na] at org.multibit.hd.hardware.trezor.wallets.v1.TrezorV1HidHardwareWallet.(TrezorV1HidHardwareWallet.java:68) ~[multibit-hd.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_79] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_79] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_79] at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_79] at java.lang.Class.newInstance(Class.java:379) ~[na:1.7.0_79] at org.multibit.hd.hardware.core.wallets.HardwareWallets.newHardwareWallet(HardwareWallets.java:214) ~[multibit-hd.jar:na] at org.multibit.hd.hardware.core.wallets.HardwareWallets.newUsbInstance(HardwareWallets.java:105) ~[multibit-hd.jar:na] at org.multibit.hd.core.services.CoreServices.getOrCreateHardwareWalletService(CoreServices.java:352) ~[multibit-hd.jar:na] at org.multibit.hd.ui.views.wizards.use_trezor.UseTrezorRequestWipeDevicePanelView.afterShow(UseTrezorRequestWipeDevicePanelView.java:93) [multibit-hd.jar:na] at org.multibit.hd.ui.views.wizards.AbstractWizard$1.run(AbstractWizard.java:200) [multibit-hd.jar:na] at