{"action":"closed","issue":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/926","labels_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/926/labels{/name}","comments_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/926/comments","events_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/926/events","html_url":"https://github.com/Graylog2/graylog2-server/issues/926","id":55605575,"number":926,"title":"Deleting Random HTTP input on Radio fails","user":{"login":"bernd","id":461,"avatar_url":"https://avatars.githubusercontent.com/u/461?v=3","gravatar_id":"","url":"https://api.github.com/users/bernd","html_url":"https://github.com/bernd","followers_url":"https://api.github.com/users/bernd/followers","following_url":"https://api.github.com/users/bernd/following{/other_user}","gists_url":"https://api.github.com/users/bernd/gists{/gist_id}","starred_url":"https://api.github.com/users/bernd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernd/subscriptions","organizations_url":"https://api.github.com/users/bernd/orgs","repos_url":"https://api.github.com/users/bernd/repos","events_url":"https://api.github.com/users/bernd/events{/privacy}","received_events_url":"https://api.github.com/users/bernd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Graylog2/graylog2-server/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/Graylog2/graylog2-server/labels/inputs","name":"inputs","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"dennisoelkers","id":41929,"avatar_url":"https://avatars.githubusercontent.com/u/41929?v=3","gravatar_id":"","url":"https://api.github.com/users/dennisoelkers","html_url":"https://github.com/dennisoelkers","followers_url":"https://api.github.com/users/dennisoelkers/followers","following_url":"https://api.github.com/users/dennisoelkers/following{/other_user}","gists_url":"https://api.github.com/users/dennisoelkers/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisoelkers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisoelkers/subscriptions","organizations_url":"https://api.github.com/users/dennisoelkers/orgs","repos_url":"https://api.github.com/users/dennisoelkers/repos","events_url":"https://api.github.com/users/dennisoelkers/events{/privacy}","received_events_url":"https://api.github.com/users/dennisoelkers/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/milestones/31","labels_url":"https://api.github.com/repos/Graylog2/graylog2-server/milestones/31/labels","id":872659,"number":31,"title":"1.0.0","description":"","creator":{"login":"joschi","id":43951,"avatar_url":"https://avatars.githubusercontent.com/u/43951?v=3","gravatar_id":"","url":"https://api.github.com/users/joschi","html_url":"https://github.com/joschi","followers_url":"https://api.github.com/users/joschi/followers","following_url":"https://api.github.com/users/joschi/following{/other_user}","gists_url":"https://api.github.com/users/joschi/gists{/gist_id}","starred_url":"https://api.github.com/users/joschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joschi/subscriptions","organizations_url":"https://api.github.com/users/joschi/orgs","repos_url":"https://api.github.com/users/joschi/repos","events_url":"https://api.github.com/users/joschi/events{/privacy}","received_events_url":"https://api.github.com/users/joschi/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":73,"state":"open","created_at":"2014-11-19T11:46:12Z","updated_at":"2015-01-27T11:35:57Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-01-27T11:20:45Z","updated_at":"2015-01-27T11:35:57Z","closed_at":"2015-01-27T11:35:57Z","body":"I got the following when terminating a Random HTTP input on a radio.\r\n\r\n\"Error! ×Could not terminate input 54c66a6187307f36d2441405\"\r\n\r\nThe input is stopped but not deleted. Looks like this is related to 5c181103.\r\n```\r\n2015-01-27 12:14:05,628 INFO : org.graylog2.radio.rest.resources.system.inputs.InputsResource - Attempting to terminate input [Random HTTP message generator]. Reason: REST request.\r\n2015-01-27 12:14:05,649 ERROR: org.graylog2.plugin.rest.AnyExceptionClassMapper - Unhandled exception in REST resource\r\njava.lang.NullPointerException\r\n        at org.graylog2.plugin.inputs.MessageInput.terminate(MessageInput.java:176)\r\n        at org.graylog2.shared.inputs.InputRegistry.remove(InputRegistry.java:92)\r\n        at org.graylog2.radio.rest.resources.system.inputs.InputsResource.terminate(InputsResource.java:206)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:606)\r\n        at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\r\n        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)\r\n        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:172)\r\n        at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152)\r\n        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)\r\n        at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:384)\r\n        at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:342)\r\n        at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:101)\r\n        at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:271)\r\n        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\r\n        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\r\n        at org.glassfish.jersey.internal.Errors.process(Errors.java:315)\r\n        at org.glassfish.jersey.internal.Errors.process(Errors.java:297)\r\n        at org.glassfish.jersey.internal.Errors.process(Errors.java:267)\r\n        at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297)\r\n        at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:254)\r\n        at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1030)\r\n        at org.graylog2.jersey.container.netty.NettyContainer.messageReceived(NettyContainer.java:356)\r\n        at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)\r\n        at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)\r\n        at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)\r\n        at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43)\r\n        at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67)\r\n        at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)\r\n        at org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor$MemoryAwareRunnable.run(MemoryAwareThreadPoolExecutor.java:622)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n        at java.lang.Thread.run(Thread.java:745)\r\n```"}}