{"action":"closed","issue":{"url":"https://api.github.com/repos/samrocketman/jenkins-bootstrap-slack/issues/6","repository_url":"https://api.github.com/repos/samrocketman/jenkins-bootstrap-slack","labels_url":"https://api.github.com/repos/samrocketman/jenkins-bootstrap-slack/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/samrocketman/jenkins-bootstrap-slack/issues/6/comments","events_url":"https://api.github.com/repos/samrocketman/jenkins-bootstrap-slack/issues/6/events","html_url":"https://github.com/samrocketman/jenkins-bootstrap-slack/issues/6","id":386385581,"node_id":"MDU6SXNzdWUzODYzODU1ODE=","number":6,"title":"ERROR: Unexpected exception occurred while performing groovy command.","user":{"login":"mtvann","id":2378513,"node_id":"MDQ6VXNlcjIzNzg1MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/2378513?v=4","gravatar_id":"","url":"https://api.github.com/users/mtvann","html_url":"https://github.com/mtvann","followers_url":"https://api.github.com/users/mtvann/followers","following_url":"https://api.github.com/users/mtvann/following{/other_user}","gists_url":"https://api.github.com/users/mtvann/gists{/gist_id}","starred_url":"https://api.github.com/users/mtvann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtvann/subscriptions","organizations_url":"https://api.github.com/users/mtvann/orgs","repos_url":"https://api.github.com/users/mtvann/repos","events_url":"https://api.github.com/users/mtvann/events{/privacy}","received_events_url":"https://api.github.com/users/mtvann/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-30T23:18:28Z","updated_at":"2018-12-01T02:20:58Z","closed_at":"2018-12-01T02:20:58Z","author_association":"NONE","body":"I'm using this script to configure Slack on a new Jenkins instance, and am getting the below error using configure-slack.groovy.  It appears to be failing at the call to `slack.configure(req, formData)`, but I'm unable to figure out why.  Any idea what might be the issue?\r\n\r\n```\r\nERROR: Unexpected exception occurred while performing groovy command.\r\njava.lang.UnsupportedOperationException\r\nat org.codehaus.groovy.runtime.ConvertedMap.invokeCustom(ConvertedMap.java:52)\r\nat org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:124)\r\nat com.sun.proxy.$Proxy68.bindJSON(Unknown Source)\r\nat jenkins.plugins.slack.SlackNotifier$DescriptorImpl.configure(SlackNotifier.java:492)\r\nat jenkins.plugins.slack.SlackNotifier$DescriptorImpl$configure.call(Unknown Source)\r\nat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)\r\nat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)\r\nat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)\r\nat RemoteClass.run(RemoteClass:26)\r\nat groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)\r\nat groovy.lang.GroovyShell.run(GroovyShell.java:518)\r\nat groovy.lang.GroovyShell.run(GroovyShell.java:497)\r\nat hudson.cli.GroovyCommand.run(GroovyCommand.java:89)\r\nat hudson.cli.CLICommand.main(CLICommand.java:283)\r\nat hudson.cli.CliManagerImpl.main(CliManagerImpl.java:95)\r\nat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\nat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\nat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\nat java.lang.reflect.Method.invoke(Method.java:498)\r\nat hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:929)\r\nat hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:903)\r\nat hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:855)\r\nat hudson.remoting.UserRequest.perform(UserRequest.java:212)\r\nat hudson.remoting.UserRequest.perform(UserRequest.java:54)\r\nat hudson.remoting.Request$2.run(Request.java:369)\r\nat hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)\r\nat hudson.cli.CliManagerImpl$1.call(CliManagerImpl.java:66)\r\nat hudson.remoting.CallableDecoratorAdapter.call(CallableDecoratorAdapter.java:18)\r\nat hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)\r\nat jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)\r\nat jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71)\r\nat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\nat java.lang.Thread.run(Thread.java:748)\r\n\r\n```"}}
{"actor":{"display_login":"mtvann"}}