philips hue - Anyone experiencing Error code -46 on Java SDK 1.20 -
latest java sdk (1.20) seems throw nosuchmethoderror when trying autheticate accesspoint using onauthenticationrequired() ; once exception thrown subsequent attempt connect bridge result in " error - code 46 message bridge not responding"
anyone experiencing behaviour, code executed on
java version "1.6.0_27" openjdk runtime environment (icedtea6 1.12.8) (6b27-1.12.8) openjdk 0 vm (build 20.0-b12, mixed mode) exception in thread "thread-25" java.lang.nosuchmethoderror: java.lang.integer.compare(ii)i @ com.philips.lighting.hue.sdk.fbp.phbridgeversionmanager$1.compare(phbridgeversionmanager.java:83) @ com.philips.lighting.hue.sdk.fbp.phbridgeversionmanager$1.compare(phbridgeversionmanager.java:1) @ java.util.arrays.mergesort(arrays.java:1283) @ java.util.arrays.mergesort(arrays.java:1294) @ java.util.arrays.sort(arrays.java:1223) @ java.util.collections.sort(collections.java:176) @ com.philips.lighting.hue.sdk.fbp.phbridgeversionmanager.setfallbackbridgeversion(phbridgeversionmanager.java:130) @ com.philips.lighting.hue.sdk.fbp.phbridgeversionmanager.setbridgeversion(phbridgeversionmanager.java:365) @ com.philips.lighting.hue.sdk.connection.impl.phbridgeinternal.processresponse(phbridgeinternal.java:450) @ com.philips.lighting.hue.sdk.connection.impl.phbridgeinternal$1.run(phbridgeinternal.java:122)
integer.compare introduced in java 7 , you're using java 6 based on error message.
try using java 7 or java 8.
Comments
Post a Comment