You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2018/09/23 02:40:00 UTC
[jira] [Commented] (KYLIN-3576) IllegalArgumentException: No enum
constant org.apache.kylin.rest.service.JobService.JobSearchMode.
[ https://issues.apache.org/jira/browse/KYLIN-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16624910#comment-16624910 ]
Shaofeng SHI commented on KYLIN-3576:
-------------------------------------
And this NPE error in JobControllerTest
{code:java}
2018-09-22 19:58:20,970 ERROR [main] controller.CubeController:405 :
java.lang.NullPointerException
at org.apache.kylin.rest.controller.CubeController.checkBuildingSegment(CubeController.java:1019)
at org.apache.kylin.rest.controller.CubeController.buildInternal(CubeController.java:401)
at org.apache.kylin.rest.controller.CubeController.rebuild(CubeController.java:358)
at org.apache.kylin.rest.controller.JobControllerTest.testResume(JobControllerTest.java:133)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
{code}
> IllegalArgumentException: No enum constant org.apache.kylin.rest.service.JobService.JobSearchMode.
> --------------------------------------------------------------------------------------------------
>
> Key: KYLIN-3576
> URL: https://issues.apache.org/jira/browse/KYLIN-3576
> Project: Kylin
> Issue Type: Bug
> Components: Job Engine
> Reporter: Shaofeng SHI
> Priority: Minor
>
> {code:java}
> 2018-09-22 19:58:20,258 INFO [main] execution.ExecutableManager:69 : Using metadata url: ../examples/test_metadata/
> 2018-09-22 19:58:20,265 ERROR [main] controller.JobController:81 : Invalid value for JobSearchMode: '', skip it.
> java.lang.IllegalArgumentException: No enum constant org.apache.kylin.rest.service.JobService.JobSearchMode.
> at java.lang.Enum.valueOf(Enum.java:238)
> at org.apache.kylin.rest.service.JobService$JobSearchMode.valueOf(JobService.java:1236)
> at org.apache.kylin.rest.controller.JobController.list(JobController.java:79)
> at org.apache.kylin.rest.controller.JobControllerTest.testBasics(JobControllerTest.java:103)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
> at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)