Issues with calling SRW API
Using null values as arguments of SR360 API methods.
The only exception is SrwOSGiApi.callOSGIService. For maintain backward compatibility, it is allowed to pass null as third argument for this method, nevertheless it is recomended that you use the two-argument version of this method when the third argument is not needed.
In all other cases the null argument will cause that method will not be called, and following exception will be thrown:
SrwApi.showInEmu(null, null); Uncaught java.lang.NullPointerException: null
Using argument type which cannot be converted to matching java type
In JxBrowser all numbers are passed to Java as Double type.
For easier usage SR360 API provides additional methods with arguments of the String or Double type and those arguments are parsed to the expected type.