{"action":"created","issue":{"url":"https://api.github.com/repos/hierynomus/jython-gradle-plugin/issues/6","repository_url":"https://api.github.com/repos/hierynomus/jython-gradle-plugin","labels_url":"https://api.github.com/repos/hierynomus/jython-gradle-plugin/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/hierynomus/jython-gradle-plugin/issues/6/comments","events_url":"https://api.github.com/repos/hierynomus/jython-gradle-plugin/issues/6/events","html_url":"https://github.com/hierynomus/jython-gradle-plugin/issues/6","id":156392135,"number":6,"title":"artifact \"six\" with named file fails","user":{"login":"robparrott","id":970026,"avatar_url":"https://avatars.githubusercontent.com/u/970026?v=3","gravatar_id":"","url":"https://api.github.com/users/robparrott","html_url":"https://github.com/robparrott","followers_url":"https://api.github.com/users/robparrott/followers","following_url":"https://api.github.com/users/robparrott/following{/other_user}","gists_url":"https://api.github.com/users/robparrott/gists{/gist_id}","starred_url":"https://api.github.com/users/robparrott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robparrott/subscriptions","organizations_url":"https://api.github.com/users/robparrott/orgs","repos_url":"https://api.github.com/users/robparrott/repos","events_url":"https://api.github.com/users/robparrott/events{/privacy}","received_events_url":"https://api.github.com/users/robparrott/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-23T23:58:17Z","updated_at":"2016-05-24T07:29:24Z","closed_at":null,"body":"When using the example dependency statement from the README:\r\n\r\n``` \r\n jython(\":six:1.9.0\") {\r\n    artifact {\r\n      name = \"six\"\r\n      extension = \"py\"\r\n    }\r\n  }\r\n```\r\n\r\nI get a NPE, and the \"six\" lib is not included.\r\n\r\n```\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nCould not resolve all dependencies for configuration ':client:cuttyhunk-cli:compile'.\r\n> java.lang.NullPointerException (no error message)\r\n\r\n* Try:\r\nRun with --debug option to get more log output.\r\n\r\n* Exception is:\r\norg.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':client:cuttyhunk-cli:compile'.\r\n        at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.wrapException(ErrorHandlingConfigurationResolver.java:70)\r\n        at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolve(ErrorHandlingConfigurationResolver.java:45)\r\n\r\n...\r\n\r\nCaused by: java.lang.NullPointerException\r\n        at org.gradle.internal.component.model.DefaultIvyArtifactName.hashCode(DefaultIvyArtifactName.java:106)\r\n        at org.gradle.util.CollectionUtils.collect(CollectionUtils.java:160)\r\n        at org.gradle.util.CollectionUtils.collect(CollectionUtils.java:151)\r\n        at org.gradle.api.internal.artifacts.ivyservice.moduleconverter.dependencies.AbstractIvyDependencyDescriptorFactory.convertArtifacts(AbstractIvyDependencyDescriptorFactory.java:51)\r\n        at org.gradle.api.internal.artifacts.ivyservice.moduleconverter.dependencies.ExternalModuleIvyDependencyDescriptorFactory.createDependencyDescriptor(ExternalModuleIvyDependencyDescriptorFactory.java:42)\r\n...\r\n```"},"comment":{"url":"https://api.github.com/repos/hierynomus/jython-gradle-plugin/issues/comments/221188202","html_url":"https://github.com/hierynomus/jython-gradle-plugin/issues/6#issuecomment-221188202","issue_url":"https://api.github.com/repos/hierynomus/jython-gradle-plugin/issues/6","id":221188202,"user":{"login":"hierynomus","id":117667,"avatar_url":"https://avatars.githubusercontent.com/u/117667?v=3","gravatar_id":"","url":"https://api.github.com/users/hierynomus","html_url":"https://github.com/hierynomus","followers_url":"https://api.github.com/users/hierynomus/followers","following_url":"https://api.github.com/users/hierynomus/following{/other_user}","gists_url":"https://api.github.com/users/hierynomus/gists{/gist_id}","starred_url":"https://api.github.com/users/hierynomus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hierynomus/subscriptions","organizations_url":"https://api.github.com/users/hierynomus/orgs","repos_url":"https://api.github.com/users/hierynomus/repos","events_url":"https://api.github.com/users/hierynomus/events{/privacy}","received_events_url":"https://api.github.com/users/hierynomus/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T07:29:24Z","updated_at":"2016-05-24T07:29:24Z","body":"Could you copy-paste the entire build.gradle, or a small reproduction\nsample?\n\n2016-05-24 1:58 GMT+02:00 Rob Parrott <notifications@github.com>:\n\n> When using the example dependency statement from the README:\n>\n> jython(\":six:1.9.0\") {\n> artifact {\n> name = \"six\"\n> extension = \"py\"\n> }\n> }\n>\n> I get a NPE, and the \"six\" lib is not included.\n>\n> FAILURE: Build failed with an exception.\n>\n> * What went wrong:\n> Could not resolve all dependencies for configuration ':client:cuttyhunk-cli:compile'.\n> > java.lang.NullPointerException (no error message)\n>\n> * Try:\n> Run with --debug option to get more log output.\n>\n> * Exception is:\n> org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':client:cuttyhunk-cli:compile'.\n>         at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.wrapException(ErrorHandlingConfigurationResolver.java:70)\n>         at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolve(ErrorHandlingConfigurationResolver.java:45)\n>\n> ...\n>\n> Caused by: java.lang.NullPointerException\n>         at org.gradle.internal.component.model.DefaultIvyArtifactName.hashCode(DefaultIvyArtifactName.java:106)\n>         at org.gradle.util.CollectionUtils.collect(CollectionUtils.java:160)\n>         at org.gradle.util.CollectionUtils.collect(CollectionUtils.java:151)\n>         at org.gradle.api.internal.artifacts.ivyservice.moduleconverter.dependencies.AbstractIvyDependencyDescriptorFactory.convertArtifacts(AbstractIvyDependencyDescriptorFactory.java:51)\n>         at org.gradle.api.internal.artifacts.ivyservice.moduleconverter.dependencies.ExternalModuleIvyDependencyDescriptorFactory.createDependencyDescriptor(ExternalModuleIvyDependencyDescriptorFactory.java:42)\n> ...\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/hierynomus/jython-gradle-plugin/issues/6>\n>\n"}}
{"actor":{"display_login":"hierynomus"}}