Closed GoogleCodeExporter closed 8 years ago
Version: jSSC-0.9.0
MS Win7, 64 bit
Original comment by w...@posten.ru
on 25 Apr 2012 at 12:00
Workaround:
public static String[] GetPortList() {
try {
String[] serialPortNames = SerialPortList.getPortNames();
return serialPortNames;
} catch (NullPointerException e) {
}
return new String[0];
}
Original comment by w...@posten.ru
on 25 Apr 2012 at 12:07
As I see, you use jSSC-0.8-tb2 (see 223 string of your stack trace:
0x0000000067c40000 - 0x0000000067c5d000
C:\Users\Pavel\.jssc\windows\jSSC-0.8-tb2_x86_64.dll)
jSSC-0.8-tb2 have no checking of returned array from native code, that's why
you have this error. This issue was fixed in jSSC-0.8-tb3.
Original comment by scream3r.org@gmail.com
on 13 Mar 2013 at 8:41
Original issue reported on code.google.com by
w...@posten.ru
on 25 Apr 2012 at 11:53