New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing InputState enum constant in rest-client #919

bernd opened this Issue Jan 26, 2015 · 0 comments


None yet
2 participants

bernd commented Jan 26, 2015

Getting the following error regarding a missing enum constant.

Steps to reproduce:

  • Create Radio Kafka input with the settings below.
  • Action, Edit Input
  • Press "UpdateInput"
  • Error appears.

No messages in the server log, Input seems to be updated and restarted.

Radio Kafka Input Config

throttling_allowed: true
fetch_wait_max: 100
fetch_min_bytes: 5
threads: 1

Stack Trace

[error] play - Cannot invoke the action, eventually got an error: java.lang.IllegalArgumentException: No enum constant org.graylog2.restclient.models.InputState.InputStateType.STOPPING
[error] application - 

! @6l23a7cp2 - Internal server error, for (GET) [/system/inputs] ->

play.api.Application$$anon$1: Execution exception[[IllegalArgumentException: No enum constant org.graylog2.restclient.models.InputState.InputStateType.STOPPING]]
        at play.api.Application$class.handleError(Application.scala:296) ~[]
        at play.api.DefaultApplication.handleError(Application.scala:402) []
        at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$4.apply(PlayDefaultUpstreamHandler.scala:320) []
        at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$4.apply(PlayDefaultUpstreamHandler.scala:320) []
        at [org.scala-lang.scala-library-2.10.4.jar:na]
Caused by: java.lang.IllegalArgumentException: No enum constant org.graylog2.restclient.models.InputState.InputStateType.STOPPING
        at java.lang.Enum.valueOf( ~[na:1.7.0_76]
        at org.graylog2.restclient.models.InputState$InputStateType.valueOf( ~[org.graylog2.graylog2-rest-client-1.0.0-beta.4-SNAPSHOT.jar:na]
        at org.graylog2.restclient.models.InputState.<init>( ~[org.graylog2.graylog2-rest-client-1.0.0-beta.4-SNAPSHOT.jar:na]
        at sun.reflect.GeneratedConstructorAccessor54.newInstance(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( ~[na:1.7.0_76]

@bernd bernd added inputs bug labels Jan 26, 2015

@bernd bernd added this to the 1.0.0 milestone Jan 26, 2015

dennisoelkers added a commit that referenced this issue Jan 26, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment