{"action":"closed","issue":{"url":"https://api.github.com/repos/eclipse/kura/issues/640","repository_url":"https://api.github.com/repos/eclipse/kura","labels_url":"https://api.github.com/repos/eclipse/kura/issues/640/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/kura/issues/640/comments","events_url":"https://api.github.com/repos/eclipse/kura/issues/640/events","html_url":"https://github.com/eclipse/kura/issues/640","id":183450254,"number":640,"title":"[Modem] NoClassDefFoundError: Could not initialize class org.eclipse.kura.linux.net.modem.SupportedUsbModems","user":{"login":"MMaiero","id":10448126,"avatar_url":"https://avatars.githubusercontent.com/u/10448126?v=3","gravatar_id":"","url":"https://api.github.com/users/MMaiero","html_url":"https://github.com/MMaiero","followers_url":"https://api.github.com/users/MMaiero/followers","following_url":"https://api.github.com/users/MMaiero/following{/other_user}","gists_url":"https://api.github.com/users/MMaiero/gists{/gist_id}","starred_url":"https://api.github.com/users/MMaiero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MMaiero/subscriptions","organizations_url":"https://api.github.com/users/MMaiero/orgs","repos_url":"https://api.github.com/users/MMaiero/repos","events_url":"https://api.github.com/users/MMaiero/events{/privacy}","received_events_url":"https://api.github.com/users/MMaiero/received_events","type":"User","site_admin":false},"labels":[{"id":70933577,"url":"https://api.github.com/repos/eclipse/kura/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"ctron","id":202474,"avatar_url":"https://avatars.githubusercontent.com/u/202474?v=3","gravatar_id":"","url":"https://api.github.com/users/ctron","html_url":"https://github.com/ctron","followers_url":"https://api.github.com/users/ctron/followers","following_url":"https://api.github.com/users/ctron/following{/other_user}","gists_url":"https://api.github.com/users/ctron/gists{/gist_id}","starred_url":"https://api.github.com/users/ctron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctron/subscriptions","organizations_url":"https://api.github.com/users/ctron/orgs","repos_url":"https://api.github.com/users/ctron/repos","events_url":"https://api.github.com/users/ctron/events{/privacy}","received_events_url":"https://api.github.com/users/ctron/received_events","type":"User","site_admin":false},"assignees":[{"login":"ctron","id":202474,"avatar_url":"https://avatars.githubusercontent.com/u/202474?v=3","gravatar_id":"","url":"https://api.github.com/users/ctron","html_url":"https://github.com/ctron","followers_url":"https://api.github.com/users/ctron/followers","following_url":"https://api.github.com/users/ctron/following{/other_user}","gists_url":"https://api.github.com/users/ctron/gists{/gist_id}","starred_url":"https://api.github.com/users/ctron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctron/subscriptions","organizations_url":"https://api.github.com/users/ctron/orgs","repos_url":"https://api.github.com/users/ctron/repos","events_url":"https://api.github.com/users/ctron/events{/privacy}","received_events_url":"https://api.github.com/users/ctron/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/eclipse/kura/milestones/2","html_url":"https://github.com/eclipse/kura/milestones/KURA-2.1.0","labels_url":"https://api.github.com/repos/eclipse/kura/milestones/2/labels","id":1742776,"number":2,"title":"KURA-2.1.0","description":"","creator":{"login":"MMaiero","id":10448126,"avatar_url":"https://avatars.githubusercontent.com/u/10448126?v=3","gravatar_id":"","url":"https://api.github.com/users/MMaiero","html_url":"https://github.com/MMaiero","followers_url":"https://api.github.com/users/MMaiero/followers","following_url":"https://api.github.com/users/MMaiero/following{/other_user}","gists_url":"https://api.github.com/users/MMaiero/gists{/gist_id}","starred_url":"https://api.github.com/users/MMaiero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MMaiero/subscriptions","organizations_url":"https://api.github.com/users/MMaiero/orgs","repos_url":"https://api.github.com/users/MMaiero/repos","events_url":"https://api.github.com/users/MMaiero/events{/privacy}","received_events_url":"https://api.github.com/users/MMaiero/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":104,"state":"open","created_at":"2016-05-02T15:51:29Z","updated_at":"2016-11-04T19:27:31Z","due_on":"2016-08-31T22:00:00Z","closed_at":null},"comments":4,"created_at":"2016-10-17T15:34:43Z","updated_at":"2016-11-04T19:27:31Z","closed_at":"2016-11-04T19:27:31Z","body":"This issue is caused by commit 9f5870537e36afa6641dc6d3d237686e82407f02 \nEverything works right if the device has no internal modem, while, if the modem is available, the execution will stop at boot due to a `NoClassDefFoundError` on class `org.eclipse.kura.linux.net.modem.SupportedUsbModems`.\n\nThe issue is triggered by `SupportedUsbModemsInfo.isSupported` that tries to call `SupportedUsbModems.isSupported`. Before executing the `isSupported` method, the `SupportedUsbModems` static block will invoke `getLsusbInfo` that will call `LinuxProcessUtil.startWithStats`. \nThe static block in `LinuxProcessUtil` modified by 9f5870537e36afa6641dc6d3d237686e82407f02 tries to get a service reference of the `SystemService`, but the result of this invocation is a null value. This is due to the fact that the `SystemService` component definition has a dependency on the `NetworkService`, but the network service needs the `SystemService` to execute: an indirect dependency loop is generated in this way, preventing the code to execute properly.\n\n@ctron Could you take a look at this?\n"}}
{"actor":{"display_login":"MMaiero"}}