{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab/issues/4108","repository_url":"https://api.github.com/repos/openhab/openhab","labels_url":"https://api.github.com/repos/openhab/openhab/issues/4108/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab/issues/4108/comments","events_url":"https://api.github.com/repos/openhab/openhab/issues/4108/events","html_url":"https://github.com/openhab/openhab/issues/4108","id":136802898,"number":4108,"title":"compatibility issue opehab and oracle jre 1.8","user":{"login":"humarf","id":15859466,"avatar_url":"https://avatars.githubusercontent.com/u/15859466?v=3","gravatar_id":"","url":"https://api.github.com/users/humarf","html_url":"https://github.com/humarf","followers_url":"https://api.github.com/users/humarf/followers","following_url":"https://api.github.com/users/humarf/following{/other_user}","gists_url":"https://api.github.com/users/humarf/gists{/gist_id}","starred_url":"https://api.github.com/users/humarf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humarf/subscriptions","organizations_url":"https://api.github.com/users/humarf/orgs","repos_url":"https://api.github.com/users/humarf/repos","events_url":"https://api.github.com/users/humarf/events{/privacy}","received_events_url":"https://api.github.com/users/humarf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openhab/openhab/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-26T20:15:30Z","updated_at":"2016-02-27T07:55:45Z","closed_at":null,"body":"I have a compatibility issue regarding oracle jre 1.8. No matter if using openhab 1.7.1 or 1.8.1 when using oracle 1.8 jre it produces this error\r\n\r\n`[ERROR] [o.o.c.s.ScriptExecutionThread ] - Error during the execution of rule 'Küche alles aus': Could not invoke method: org.openhab.model.script.actions.BusEvent.sendCommand(java.lang.String,java.lang.String) on instance: null`\r\n\r\nwhen running this code snippet:\r\n```\r\nrule \"Küche alles aus\"\r\n\r\nwhen\r\n\t\tItem kitchenAllOff received command ON or\r\n\t\tItem kitchenLong1 received update ON or\r\n\t\tItem kitchenLong2 received update ON\r\nthen\r\n\t\tlogInfo(\"rules\", \"Küche alles aus\")\r\n\t\tGF_Kitchen.members.filter(s | s.state != OFF).forEach(item | {\r\n\t\t\tif (item.getGroupNames.filter(g | g == \"AllOff\").size > 0) sendCommand(item, OFF)\r\n\t\t\t}\r\n\t\t)\t\r\nend\r\n```\r\n\r\nError is caused by sendCommand. When doing the same thing with oracle 1.7 it's all fine.\r\n\r\nBest regards\r\nhumarf"},"comment":{"url":"https://api.github.com/repos/openhab/openhab/issues/comments/189603262","html_url":"https://github.com/openhab/openhab/issues/4108#issuecomment-189603262","issue_url":"https://api.github.com/repos/openhab/openhab/issues/4108","id":189603262,"user":{"login":"watou","id":3008217,"avatar_url":"https://avatars.githubusercontent.com/u/3008217?v=3","gravatar_id":"","url":"https://api.github.com/users/watou","html_url":"https://github.com/watou","followers_url":"https://api.github.com/users/watou/followers","following_url":"https://api.github.com/users/watou/following{/other_user}","gists_url":"https://api.github.com/users/watou/gists{/gist_id}","starred_url":"https://api.github.com/users/watou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watou/subscriptions","organizations_url":"https://api.github.com/users/watou/orgs","repos_url":"https://api.github.com/users/watou/repos","events_url":"https://api.github.com/users/watou/events{/privacy}","received_events_url":"https://api.github.com/users/watou/received_events","type":"User","site_admin":false},"created_at":"2016-02-27T07:55:45Z","updated_at":"2016-02-27T07:55:45Z","body":"> If you don't mind I leave this open\r\n\r\nMost definitely!  Even though there is a workaround, it's still a bug. :worried: "}}