{"action":"created","issue":{"url":"https://api.github.com/repos/ashwanthkumar/gocd-slack-build-notifier/issues/23","labels_url":"https://api.github.com/repos/ashwanthkumar/gocd-slack-build-notifier/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/ashwanthkumar/gocd-slack-build-notifier/issues/23/comments","events_url":"https://api.github.com/repos/ashwanthkumar/gocd-slack-build-notifier/issues/23/events","html_url":"https://github.com/ashwanthkumar/gocd-slack-build-notifier/issues/23","id":119522019,"number":23,"title":"Null pointer exception with minimal config","user":{"login":"arghac","id":971473,"avatar_url":"https://avatars.githubusercontent.com/u/971473?v=3","gravatar_id":"","url":"https://api.github.com/users/arghac","html_url":"https://github.com/arghac","followers_url":"https://api.github.com/users/arghac/followers","following_url":"https://api.github.com/users/arghac/following{/other_user}","gists_url":"https://api.github.com/users/arghac/gists{/gist_id}","starred_url":"https://api.github.com/users/arghac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arghac/subscriptions","organizations_url":"https://api.github.com/users/arghac/orgs","repos_url":"https://api.github.com/users/arghac/repos","events_url":"https://api.github.com/users/arghac/events{/privacy}","received_events_url":"https://api.github.com/users/arghac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-30T16:01:43Z","updated_at":"2015-11-30T16:40:05Z","closed_at":null,"body":"Hey,\r\n\r\nWe tried using the minimal config \r\n\r\n```\r\ngocd.slack {\r\n  login = \"foo\"\r\n  password = \"foo-bar\"\r\n  server-host = \"https://go-instance:8153/\"\r\n  webhookUrl = \"http://slack-instance.net/\"\r\n\r\n  pipelines = [{\r\n    name = \".*\"\r\n    stage = \".*\"\r\n    state = \"failed\"\r\n    channel = \"#foo\"\r\n  }]\r\n```\r\n\r\nThe exception stack trace we see is as below:\r\n\r\n2015-11-30 15:43:36,718  INFO [68@MessageListener for PluginNotificationListener] GoNotificationPlugin:52 - test-pipeline/2/build/1 has Failed/Failed\r\n2015-11-30 15:43:36,718 ERROR [68@MessageListener for PluginNotificationListener] GoNotificationPlugin:77 - Error handling status message\r\njava.lang.NullPointerException\r\n\tat in.ashwanthkumar.gocd.slack.GoNotificationPlugin.handleStageNotification(GoNotificationPlugin.java:77)\r\n\tat in.ashwanthkumar.gocd.slack.GoNotificationPlugin.handle(GoNotificationPlugin.java:53)\r\n\tat com.thoughtworks.go.plugin.infra.DefaultPluginManager$1.execute(DefaultPluginManager.java:172)\r\n\tat com.thoughtworks.go.plugin.infra.DefaultPluginManager$1.execute(DefaultPluginManager.java:167)\r\n\tat com.thoughtworks.go.plugin.infra.FelixGoPluginOSGiFramework.executeActionOnTheService(FelixGoPluginOSGiFramework.java:315)\r\n\tat com.thoughtworks.go.plugin.infra.FelixGoPluginOSGiFramework.doOn(FelixGoPluginOSGiFramework.java:245)\r\n\tat com.thoughtworks.go.plugin.infra.DefaultPluginManager.submitTo(DefaultPluginManager.java:167)\r\n\tat com.thoughtworks.go.plugin.access.PluginRequestHelper.submitRequest(PluginRequestHelper.java:32)\r\n\tat com.thoughtworks.go.plugin.access.notification.NotificationExtension.notify(NotificationExtension.java:74)\r\n\tat com.thoughtworks.go.server.messaging.plugin.PluginNotificationService.notifyPlugin(PluginNotificationService.java:61)\r\n\tat com.thoughtworks.go.server.messaging.plugin.PluginNotificationService.notifyPlugins(PluginNotificationService.java:53)\r\n\tat com.thoughtworks.go.server.messaging.plugin.PluginNotificationListener.onMessage(PluginNotificationListener.java:30)\r\n\tat com.thoughtworks.go.server.messaging.plugin.PluginNotificationListener.onMessage(PluginNotificationListener.java:21)\r\n\tat com.thoughtworks.go.server.messaging.activemq.JMSMessageListenerAdapter.runImpl(JMSMessageListenerAdapter.java:65)\r\n\tat com.thoughtworks.go.server.messaging.activemq.JMSMessageListenerAdapter.run(JMSMessageListenerAdapter.java:50)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nr\r\n\r\n\r\nCould you help understand which config value we're missing here?\r\nThanks"},"comment":{"url":"https://api.github.com/repos/ashwanthkumar/gocd-slack-build-notifier/issues/comments/160682924","html_url":"https://github.com/ashwanthkumar/gocd-slack-build-notifier/issues/23#issuecomment-160682924","issue_url":"https://api.github.com/repos/ashwanthkumar/gocd-slack-build-notifier/issues/23","id":160682924,"user":{"login":"ashwanthkumar","id":600279,"avatar_url":"https://avatars.githubusercontent.com/u/600279?v=3","gravatar_id":"","url":"https://api.github.com/users/ashwanthkumar","html_url":"https://github.com/ashwanthkumar","followers_url":"https://api.github.com/users/ashwanthkumar/followers","following_url":"https://api.github.com/users/ashwanthkumar/following{/other_user}","gists_url":"https://api.github.com/users/ashwanthkumar/gists{/gist_id}","starred_url":"https://api.github.com/users/ashwanthkumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashwanthkumar/subscriptions","organizations_url":"https://api.github.com/users/ashwanthkumar/orgs","repos_url":"https://api.github.com/users/ashwanthkumar/repos","events_url":"https://api.github.com/users/ashwanthkumar/events{/privacy}","received_events_url":"https://api.github.com/users/ashwanthkumar/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T16:40:05Z","updated_at":"2015-11-30T16:40:05Z","body":"And the config file is located on the home folder right? Also the config you pasted is missing a closing `}` at the end, I suppose that's just a copy-paste issue? "}}