Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-1250

Got NPE when discarding a job

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v1.2
    • Fix Version/s: v1.3.0, v1.4.0
    • Component/s: Others
    • Labels:
      None

      Description

      User reported that he couldn't rebuild a cube, Kylin reports "The cube <cube_name> has running job (<job_id>) please discard it and try again."
      Then he tried to discard the job, but got an NullPointerException;

      Caused by: java.lang.NullPointerException
          at org.apache.kylin.rest.service.JobService.cancelJob(JobService.java:321)
          at org.apache.kylin.rest.service.JobService$$FastClassByCGLIB$$83a44b2a.invoke(<generated>)
          at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
          at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
          at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
          at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64)
          at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInv
      

      User said "We haven’t done the purge action. It’s possible that the bug was triggered when we have made the changes to filtering while the cube was still in the build process?"

        Attachments

          Activity

            People

            • Assignee:
              Shaofengshi Shaofeng SHI
              Reporter:
              Shaofengshi Shaofeng SHI
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: