-
Notifications
You must be signed in to change notification settings - Fork 56
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
2018-03-25 20:40:59 JNI call ThrowNew failed to throw exception !, FormatMessageA(), error code : 15100 #36
Comments
I have seen this on a misconfigured Windows system. Did you formatted your
computer. Did you tried this with eclipse IDE.
…On 25-Mar-2018 11:15 PM, "makarna35" ***@***.***> wrote:
Hi;
I'm try only this:
`class HotPlugEventWatcher implements ISerialComUSBHotPlugListener {
@OverRide
public void onUSBHotPlugEvent(int event, int usbvid, int usbpid, String serialNumber) {
if(event == SerialComUSB.DEV_ADDED) {
System.out.println("DUT added, running automated tests for this device !");
}else if(event == SerialComUSB.DEV_REMOVED) {
System.out.println("DUT removed, running tests, if any, to be run after device removal !");
System.out.println("usbvid : " + usbvid);
}else {
}
}
}`
If I'm unplug my usb Device from USB port netbeans show this message:
2018-03-25 20:40:59 JNI call ThrowNew failed to throw exception !,
FormatMessageA(), error code : 15100
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#36>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AJNSrPKm_cYl95KZSDSUqdlpR5CTsKqlks5th9fAgaJpZM4S6Oz->
.
|
Windows not have any problem. I'm use only NETBEANS |
NOTE: I use FT series usb-com converter. I'm plug and unplug for test. |
And now I get this message:
|
JNI call CallVoidMethod() in usb_hotplug_event_handler() , failed ! error cause of me I'm fix it but
|
I'm dedect problem but I not have a solition. If use this scenario you can see problem: |
May you check if same problem occurs with eclipse also. |
I not have Eclipse |
Which language your windows system is using English or any other language. Try installing and activating english in windows computer and see if this still occurs. I tried to debug and found windows is not able to found correct english string. |
Hi;
I'm try only this:
`class HotPlugEventWatcher implements ISerialComUSBHotPlugListener {
}`
If I'm unplug my usb Device from USB port netbeans show this message:
The text was updated successfully, but these errors were encountered: