HIDDemo2 - JNI call ThrowNew failed to throw exception !

1 view
Skip to first unread message

Stephan Raible

unread,
Sep 15, 2016, 3:13:55 PM9/15/16
to SerialPundit
Hi RishiGupta12

I was just testing your new version of sp-usb with the HIDDemo2 application. As soon as I unplug my MCP2200 USB HID device my output log in Netbeans quickly fills up with the following error messages:

  1. JNI call ThrowNew failed to throw exception ! , FormatMessageA() , error code : 15100
  2. JNI call ThrowNew failed to throw exception ! , FormatMessageA() , error code : 15105


The second message repeats infinit and my CPU usage of one core goes up to 100%.


Any idea what went wrong here? Since I can't check the dll's myselve I have no options here to look into the details.


Thank you very much in advance for your help.


Kind regards,


Stephan

Rishi Gupta

unread,
Sep 30, 2016, 3:12:08 AM9/30/16
to SerialPundit
Hi, Sorry for delay. I have been overloaded with other works. I tested latest release with mcp2200 and it seems to work fine. Please tell me:
- which version of windows you are using
- how exactly application uses serialpundit api
- is your app UI based or does not have UI.
- your timezone and country

Rishi Gupta

unread,
Oct 2, 2016, 7:06:40 AM10/2/16
to SerialPundit
I have updated the jar file. Please use latest sp-hid.jar file, latest demo app and hid api. 
Reply all
Reply to author
Forward
0 new messages