{"action":"created","issue":{"url":"https://api.github.com/repos/rosjava/android_core/issues/229","labels_url":"https://api.github.com/repos/rosjava/android_core/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/rosjava/android_core/issues/229/comments","events_url":"https://api.github.com/repos/rosjava/android_core/issues/229/events","html_url":"https://github.com/rosjava/android_core/issues/229","id":57801066,"number":229,"title":"cannot compile with the latest Indigo branch from rosjava","user":{"login":"vrabaud","id":700766,"avatar_url":"https://avatars.githubusercontent.com/u/700766?v=3","gravatar_id":"","url":"https://api.github.com/users/vrabaud","html_url":"https://github.com/vrabaud","followers_url":"https://api.github.com/users/vrabaud/followers","following_url":"https://api.github.com/users/vrabaud/following{/other_user}","gists_url":"https://api.github.com/users/vrabaud/gists{/gist_id}","starred_url":"https://api.github.com/users/vrabaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrabaud/subscriptions","organizations_url":"https://api.github.com/users/vrabaud/orgs","repos_url":"https://api.github.com/users/vrabaud/repos","events_url":"https://api.github.com/users/vrabaud/events{/privacy}","received_events_url":"https://api.github.com/users/vrabaud/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-16T12:55:26Z","updated_at":"2015-02-18T16:56:08Z","closed_at":"2015-02-18T16:56:08Z","body":"I actually get the following error in catkin after a catkin_make (and following properly the instructions of the tutorials):\r\n\r\n    -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    -- ~~  traversing 2 packages in topological order:\r\n    -- ~~  - android_core\r\n    -- ~~  - android_apps\r\n    -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    -- +++ processing catkin package: 'android_core'\r\n    -- ==> add_subdirectory(android_core)\r\n    -- +++ processing catkin package: 'android_apps'\r\n    -- ==> add_subdirectory(android_apps)\r\n    -- Configuring done\r\n    -- Generating done\r\n    -- Build files have been written to: /home/vrabaud/ros/ws_android/ws_android/build\r\n    ####\r\n    #### Running command: \"make -j4 -l4\" in \"/home/vrabaud/ros/ws_android/ws_android/build\"\r\n    ####\r\n    Scanning dependencies of target gradle-android_core\r\n\r\n    FAILURE: Build failed with an exception.\r\n\r\n    * Where:\r\n    Build file '/home/vrabaud/ros/ws_android/ws_android/src/android_core/build.gradle' line: 25\r\n\r\n    * What went wrong:\r\n    A problem occurred evaluating root project 'android_core'.\r\n    > org/codehaus/groovy/runtime/typehandling/ShortTypeHandling\r\n\r\n    * Try:\r\n    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\n    BUILD FAILED\r\n\r\n    Total time: 1.578 secs\r\n    make[2]: *** [android_core/CMakeFiles/gradle-android_core] Error 1\r\n    make[1]: *** [android_core/CMakeFiles/gradle-android_core.dir/all] Error 2\r\n    make: *** [all] Error 2\r\n    Invoking \"make -j4 -l4\" failed\r\n\r\n\r\nNow, I managed to track down the crash at this line in the Catkin plugin:\r\n\r\nhttps://github.com/rosjava/rosjava_bootstrap/blob/indigo/gradle_plugins/src/main/groovy/org/ros/gradle_plugins/CatkinPlugin.groovy#L167\r\n\r\nThe error is ``Caused by: java.lang.NoClassDefFoundError: org/codehaus/groovy/runtime/typehandling/ShortTypeHandling``. It does not make sense as the rest of rosjava works fine with that plugin.\r\n\r\n\r\nI am actually opening a bug because I believe something simpler is happening. rosjava got updated to the latest gradle in https://github.com/rosjava/rosjava_bootstrap/commit/7d47ee42b4a00dd4bbceac80785b6e210fcab9ec but not the android_* packages, cf https://github.com/rosjava/android_core/blob/indigo/build.gradle#L18. BTW, a new gradle actually got released today, cf https://github.com/rosjava/rosjava_bootstrap/issues/42\r\n\r\nThx !"},"comment":{"url":"https://api.github.com/repos/rosjava/android_core/issues/comments/74900793","html_url":"https://github.com/rosjava/android_core/issues/229#issuecomment-74900793","issue_url":"https://api.github.com/repos/rosjava/android_core/issues/229","id":74900793,"user":{"login":"stonier","id":687378,"avatar_url":"https://avatars.githubusercontent.com/u/687378?v=3","gravatar_id":"","url":"https://api.github.com/users/stonier","html_url":"https://github.com/stonier","followers_url":"https://api.github.com/users/stonier/followers","following_url":"https://api.github.com/users/stonier/following{/other_user}","gists_url":"https://api.github.com/users/stonier/gists{/gist_id}","starred_url":"https://api.github.com/users/stonier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stonier/subscriptions","organizations_url":"https://api.github.com/users/stonier/orgs","repos_url":"https://api.github.com/users/stonier/repos","events_url":"https://api.github.com/users/stonier/events{/privacy}","received_events_url":"https://api.github.com/users/stonier/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T16:56:08Z","updated_at":"2015-02-18T16:56:08Z","body":"Just merged in alot of the code brought in by @talregev in #226. Also updated the gradle wrapper and this error's gone. Everything compiling nicely...and seems alot faster than I remember too. :neckbeard:"}}