{"comment":{"url":"https://api.github.com/repos/openhab/openhab2/comments/11087363","html_url":"https://github.com/openhab/openhab2/commit/62e005a2ff38eed6f2638ca1d16ec67f22cbba29#commitcomment-11087363","id":11087363,"user":{"login":"robbyb67","id":8514114,"avatar_url":"https://avatars.githubusercontent.com/u/8514114?v=3","gravatar_id":"","url":"https://api.github.com/users/robbyb67","html_url":"https://github.com/robbyb67","followers_url":"https://api.github.com/users/robbyb67/followers","following_url":"https://api.github.com/users/robbyb67/following{/other_user}","gists_url":"https://api.github.com/users/robbyb67/gists{/gist_id}","starred_url":"https://api.github.com/users/robbyb67/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbyb67/subscriptions","organizations_url":"https://api.github.com/users/robbyb67/orgs","repos_url":"https://api.github.com/users/robbyb67/repos","events_url":"https://api.github.com/users/robbyb67/events{/privacy}","received_events_url":"https://api.github.com/users/robbyb67/received_events","type":"User","site_admin":false},"position":5,"line":24,"path":"addons/binding/org.openhab.binding.fritzaha/ESH-INF/thing/bridge.xml","commit_id":"62e005a2ff38eed6f2638ca1d16ec67f22cbba29","created_at":"2015-05-07T13:48:43Z","updated_at":"2015-05-07T13:48:43Z","body":"If default is omitted when type is Integer this leads to an NPE (logged as warning):\r\n\tat java.math.BigDecimal.<init>(BigDecimal.java:545)\r\n\tat java.math.BigDecimal.<init>(BigDecimal.java:739)\r\n\tat org.eclipse.smarthome.core.thing.binding.ThingFactory.getDefaultValueAsCorrectType(ThingFactory.java:208)\r\n\tat org.eclipse.smarthome.core.thing.binding.ThingFactory.createThing(ThingFactory.java:113)\r\n\tat org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory.createThing(BaseThingHandlerFactory.java:246)\r\n\tat org.eclipse.smarthome.core.thing.setup.ThingSetupManager.createThing(ThingSetupManager.java:532)\r\n\tat org.eclipse.smarthome.core.thing.setup.ThingSetupManager.addThing(ThingSetupManager.java:483)\r\n\tat org.eclipse.smarthome.core.thing.setup.ThingSetupManager.addThing(ThingSetupManager.java:149)\r\n\tat org.eclipse.smarthome.core.thing.setup.ThingSetupManager.addThing(ThingSetupManager.java:118)\r\n\tat org.eclipse.smarthome.io.rest.core.thing.setup.ThingSetupManagerResource.addThing(ThingSetupManagerResource.java:68)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\r\nIs it ok in this case ?"}}