{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/smarthome/issues/3678","repository_url":"https://api.github.com/repos/eclipse/smarthome","labels_url":"https://api.github.com/repos/eclipse/smarthome/issues/3678/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/smarthome/issues/3678/comments","events_url":"https://api.github.com/repos/eclipse/smarthome/issues/3678/events","html_url":"https://github.com/eclipse/smarthome/issues/3678","id":236518016,"number":3678,"title":"Bug in parameter value normalization","user":{"login":"kaikreuzer","id":3244965,"avatar_url":"https://avatars0.githubusercontent.com/u/3244965?v=3","gravatar_id":"","url":"https://api.github.com/users/kaikreuzer","html_url":"https://github.com/kaikreuzer","followers_url":"https://api.github.com/users/kaikreuzer/followers","following_url":"https://api.github.com/users/kaikreuzer/following{/other_user}","gists_url":"https://api.github.com/users/kaikreuzer/gists{/gist_id}","starred_url":"https://api.github.com/users/kaikreuzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaikreuzer/subscriptions","organizations_url":"https://api.github.com/users/kaikreuzer/orgs","repos_url":"https://api.github.com/users/kaikreuzer/repos","events_url":"https://api.github.com/users/kaikreuzer/events{/privacy}","received_events_url":"https://api.github.com/users/kaikreuzer/received_events","type":"User","site_admin":false},"labels":[{"id":74198568,"url":"https://api.github.com/repos/eclipse/smarthome/labels/bug","name":"bug","color":"fc2929","default":true},{"id":294421275,"url":"https://api.github.com/repos/eclipse/smarthome/labels/Core","name":"Core","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-16T15:33:12Z","updated_at":"2017-06-16T15:36:11Z","closed_at":null,"body":"Just found that in my log using the most recent code:\r\n\r\n```\r\n17:27:57.440 [WARN ] [.smarthome.config.core.Configuration] - Could not set field value for field 'id': Can not set java.lang.Integer field org.eclipse.smarthome.binding.tradfri.DeviceConfig.id to java.lang.String\r\njava.lang.IllegalArgumentException: Can not set java.lang.Integer field org.eclipse.smarthome.binding.tradfri.DeviceConfig.id to java.lang.String\r\n\tat sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167)[:1.8.0_112]\r\n\tat sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171)[:1.8.0_112]\r\n\tat sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:81)[:1.8.0_112]\r\n\tat java.lang.reflect.Field.set(Field.java:764)[:1.8.0_112]\r\n\tat org.apache.commons.lang.reflect.FieldUtils.writeField(FieldUtils.java:523)[31:org.apache.commons.lang:2.6.0]\r\n\tat org.apache.commons.lang.reflect.FieldUtils.writeField(FieldUtils.java:500)[31:org.apache.commons.lang:2.6.0]\r\n\tat org.apache.commons.lang.reflect.FieldUtils.writeField(FieldUtils.java:560)[31:org.apache.commons.lang:2.6.0]\r\n\tat org.eclipse.smarthome.config.core.Configuration.as(Configuration.java:96)[95:org.eclipse.smarthome.config.core:0.9.0.201706161358]\r\n\tat org.eclipse.smarthome.core.thing.binding.BaseThingHandler.getConfigAs(BaseThingHandler.java:248)[106:org.eclipse.smarthome.core.thing:0.9.0.201706161358]\r\n\tat org.eclipse.smarthome.binding.tradfri.handler.TradfriLightHandler.initialize(TradfriLightHandler.java:69)[184:org.eclipse.smarthome.binding.tradfri:0.9.0.201706161358]\r\n\tat org.eclipse.smarthome.core.thing.internal.ThingManager$9.call(ThingManager.java:741)[106:org.eclipse.smarthome.core.thing:0.9.0.201706161358]\r\n\tat org.eclipse.smarthome.core.thing.internal.ThingManager$9.call(ThingManager.java:1)[106:org.eclipse.smarthome.core.thing:0.9.0.201706161358]\r\n\tat org.eclipse.smarthome.core.common.SafeMethodCaller$CallableWrapper.call(SafeMethodCaller.java:181)[99:org.eclipse.smarthome.core:0.9.0.201706161358]\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_112]\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_112]\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_112]\r\n\tat java.lang.Thread.run(Thread.java:745)[:1.8.0_112]\r\n```\r\n\r\nNot sure what is causing this, but my suspicion is that it might be related to https://github.com/eclipse/smarthome/pull/3662. @sjka wdyt?"},"comment":{"url":"https://api.github.com/repos/eclipse/smarthome/issues/comments/309059009","html_url":"https://github.com/eclipse/smarthome/issues/3678#issuecomment-309059009","issue_url":"https://api.github.com/repos/eclipse/smarthome/issues/3678","id":309059009,"user":{"login":"sjka","id":2592443,"avatar_url":"https://avatars2.githubusercontent.com/u/2592443?v=3","gravatar_id":"","url":"https://api.github.com/users/sjka","html_url":"https://github.com/sjka","followers_url":"https://api.github.com/users/sjka/followers","following_url":"https://api.github.com/users/sjka/following{/other_user}","gists_url":"https://api.github.com/users/sjka/gists{/gist_id}","starred_url":"https://api.github.com/users/sjka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjka/subscriptions","organizations_url":"https://api.github.com/users/sjka/orgs","repos_url":"https://api.github.com/users/sjka/repos","events_url":"https://api.github.com/users/sjka/events{/privacy}","received_events_url":"https://api.github.com/users/sjka/received_events","type":"User","site_admin":false},"created_at":"2017-06-16T15:36:11Z","updated_at":"2017-06-16T15:36:11Z","body":"Ha. Yes it is. And it's even correct:\r\n\r\n```\r\n<parameter name=\"id\" type=\"text\" required=\"true\">\r\n```"}}
{"actor":{"display_login":"sjka"}}