mjava.lang.IllegalArgumentException: Invalid enum name:Other in com.abc.xyx.service.task.TaskType

  1. 0

    Get full Java stack trace from IBM Bluemix using logstash 2.3.4

    Stack Overflow | 5 months ago | Sundararaj Govindasamy
    mjava.lang.IllegalArgumentException: Invalid enum name:Other in com.abc.xyx.service.task.TaskType

    Root Cause Analysis

    1. mjava.lang.IllegalArgumentException

      Invalid enum name:Other in com.abc.xyx.service.task.TaskType

      at com.abc.xyx.service.task.TaskUtils.getEnum()
    2. com.abc.xyx
      TaskService$$FastClassBySpringCGLIB$$bb02ea04.invoke
      1. com.abc.xyx.service.task.TaskUtils.getEnum(TaskUtils.java:30)[xyx-core-1.0-SNAPSHOT.jar:na]
      2. com.abc.xyx.service.task.Task.init(Task.java:179)[xyx-core-1.0-SNAPSHOT.jar:na]
      3. com.abc.xyx.service.task.TaskService.searchOnePageTasks(TaskService.java:558)[xyx-core-1.0-SNAPSHOT.jar:na]
      4. com.abc.xyx.service.task.Task.<init>(Task.java:93)[xyx-core-1.0-SNAPSHOT.jar:na]
      5. com.abc.xyx.service.task.TaskService$$FastClassBySpringCGLIB$$bb02ea04.invoke(<generated>)[xyx-core-1.0-SNAPSHOT.jar:na]
      5 frames
    3. Spring Core
      MethodProxy.invoke
      1. org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      1 frame