BUG: Update Thing Configuration Parameters yields ERROR: 500 - Internal Server Error on PaperUI

I’m experiencing the same issue with ZW100 Multisensor 6, every time I try and update the config via PaperUI I get an internal server error.


I have installed a bunch of Qubino switches and shutter controls, and am getting 500 errors, even when just updating the name of a thing (updates work though). The problem only occurs over the ZWave binding. I don’t have this issue with OpenSprinkler, Netatmo or Envislink bindings. Maybe it is some kind of timeout problem with the Aeon Labs ZStick Gen5. If someone needs more specific logging, pls let me know what you need and what I need to do. Am still very new to OpenHab, but love it, and am learning step by step.

I’ve got the same issue. :blush:
Trying to update the settings for my Fibaroa FGKF-601, also through the AEON Lab ZStick GEN5. To use the ‘lock function’ in the FGKF-601, you need to put a value in parameter 0. But once I try to save it, getting a ‘Error 500 -internal server error’.

When I check the openhab.log:

2017-07-11 19:03:27.682 [ERROR] [ome.io.rest.core.thing.ThingResource] - Exception during HTTP PUT request for update config at 'things/zwave:device:30038385:node91/config' for thing 'zwave:device:30038385:node91': For input string: "org.openhab.binding.zwave.internal.protocol.ZWaveAssociationGroup@21eca37"

Not a browser issue, i’ve tested it on Chrome, Firefox & Edge.
btw, HABmin is working, so the issue should be searched in paperUI?

So I guess I’ll follow this topic a bit. If somebody has a hint where I can look, let me know…

Any solution (besides avoiding the paper UI)? Experiencing the same issues on a fresh openhabian install.

Hi Sander,

I am currently experiencing the same issue … Let you know if I have any update with my problem!

I’m having the same problem on 2.1.0. Any solutions?

2 Likes

Did any of you also try the 2.2.0-SNAPSHOT builds to see if it is fixed? It contains 5 months of bug fixing and development. If it is not fixed in those builds an issue should be created otherwise it will not get fixed in the final 2.2.0 release. :slight_smile:

Hi,
I tried it with the latest snapshot and it still happens. I have raised an Issue.

Hi,
It reproduces for me also with “openHAB 2.2.0 Release Build”.
In Paper UI, during attempt to modify parameters for ZWave device i can see the HTTP request:

PUT http://openhabianpi:8080/rest/things/zwave:device:69348d40:node8/config

failing with HTTP 500 error and /var/log/openhab2/openhab2.log includes:

2017-12-27 17:44:41.535 [ERROR] [st.core.internal.thing.ThingResource] - Exception during HTTP PUT request for update config at 'things/zwave:device:69348d40:node8/config'
java.lang.ClassCastException: java.math.BigDecimal cannot be cast to java.lang.Integer
        at org.openhab.binding.zwave.handler.ZWaveThingHandler.handleConfigurationUpdate(ZWaveThingHandler.java:749) [226:org.openhab.binding.zwave:2.2.0]
        at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.updateConfiguration(ThingRegistryImpl.java:94) [116:org.eclipse.smarthome.core.thing:0.10.0.b1]
        at org.eclipse.smarthome.io.rest.core.internal.thing.ThingResource.updateConfiguration(ThingResource.java:413) [126:org.eclipse.smarthome.io.rest.core:0.10.0.b1]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]

@Nick_Hoath, could you reference raised Issue?

1 Like

is it this issue: https://github.com/openhab/openhab-distro/issues/595 ?
@Kai closed it

This was fixed a couple of days ago so I’d recommend to use the latest version of the ZWave binding.

1 Like

For completeness -:

1 Like

Yes - of course. 2.2 was released before this change.

I can confirm that after upgrade to the last week snapshot this problem has been fixed!

Thank you
(checked on Fibaro double switch 2X1.5W and fibaro double switch 2)

How exactly can I install the latest version. I’ve gone to the link Chris provided above but am unsure of what to do with the files. Complete noob here, obvs!

Also, unlike others on this thread, this problem is occurring on both Paper UI and Habmin for me.

I am also having this problem, and like you, am experienced enough to locate this discussion, but inexperienced enough to be unsure of where to get the latest version of the zwave binding. Did you find the location? Also, how does one go about updating the binding?

Any support you or others can provide is appreciated.

Tom

Hello,

I have this issue too, how can I update Zwave Binding Module ? thank you

New 2.3 was released, does this include the updated binding?

2.3 includes the latest master version of the ZWave binding if that’s what you mean? If you’re asking if it includes the security version, then no, that will be in 2.4.

2.3 includes the latest master version of the ZWave binding if that’s what you mean? If you’re asking if it includes the security version, then no, that will be in 2.4.

As some time passed since I tried to find a solutionm I am not sure, will security version fix the 500er error on configuration update via PaperUI? Or is this a different issue?