Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 07ACA200D4E for ; Thu, 7 Dec 2017 08:01:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 02556160C0C; Thu, 7 Dec 2017 07:01:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 20153160BFE for ; Thu, 7 Dec 2017 08:01:04 +0100 (CET) Received: (qmail 50975 invoked by uid 500); 7 Dec 2017 07:01:04 -0000 Mailing-List: contact issues-help@kylin.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kylin.apache.org Delivered-To: mailing list issues@kylin.apache.org Received: (qmail 50966 invoked by uid 99); 7 Dec 2017 07:01:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2017 07:01:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2DF9EC400A for ; Thu, 7 Dec 2017 07:01:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.01 X-Spam-Level: X-Spam-Status: No, score=-100.01 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100, WEIRD_PORT=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id cnL7-Ur1VHGB for ; Thu, 7 Dec 2017 07:01:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 24B4F5F2AB for ; Thu, 7 Dec 2017 07:01:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 52137E08C6 for ; Thu, 7 Dec 2017 07:01:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 08520255C9 for ; Thu, 7 Dec 2017 07:01:00 +0000 (UTC) Date: Thu, 7 Dec 2017 07:01:00 +0000 (UTC) From: "Pan, Julian (JIRA)" To: issues@kylin.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KYLIN-2940) List job restful throw NPE when time filter not set MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 07 Dec 2017 07:01:06 -0000 [ https://issues.apache.org/jira/browse/KYLIN-2940?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Pan, Julian updated KYLIN-2940: ------------------------------- Attachment: KYLIN_2940.patch Add patch for review. > List job restful throw NPE when time filter not set > --------------------------------------------------- > > Key: KYLIN-2940 > URL: https://issues.apache.org/jira/browse/KYLIN-2940 > Project: Kylin > Issue Type: Improvement > Components: REST Service > Affects Versions: v2.1.0 > Reporter: Pan, Julian > Assignee: Pan, Julian > Attachments: KYLIN_2940.patch > > > Here is the error response: > {"code":"999","data":null,"msg":null,"stacktrace":"java.lang.NullPointerE= xception\n\tat org.apache.kylin.rest.controller.JobController.list(JobContr= oller.java:72)\n\tat sun.reflect.GeneratedMethodAccessor283.invoke(Unknown = Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet= hodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:= 606)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.do= Invoke(InvocableHandlerMethod.java:221)\n\tat org.springframework.web.metho= d.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.ja= va:136)\n\tat org.springframework.web.servlet.mvc.method.annotation.Servlet= InvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:1= 10)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMapp= ingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:832= )\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappin= gHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:743)\n\tat= org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.ha= ndle(AbstractHandlerMethodAdapter.java:85)\n\tat org.springframework.web.se= rvlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961)\n\tat org.sp= ringframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.jav= a:895)\n\tat org.springframework.web.servlet.FrameworkServlet.processReques= t(FrameworkServlet.java:967)\n\tat org.springframework.web.servlet.Framewor= kServlet.doGet(FrameworkServlet.java:858)\n\tat javax.servlet.http.HttpServ= let.service(HttpServlet.java:624)\n\tat org.springframework.web.servlet.Fra= meworkServlet.service(FrameworkServlet.java:843)\n\tat javax.servlet.http.H= ttpServlet.service(HttpServlet.java:731)\n\tat org.apache.catalina.core.App= licationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)\n\tat= org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter= Chain.java:208)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(= WsFilter.java:52)\n\tat org.apache.catalina.core.ApplicationFilterChain.int= ernalDoFilter(ApplicationFilterChain.java:241)\n\tat org.apache.catalina.co= re.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat o= rg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte= r(FilterChainProxy.java:316)\n\tat org.springframework.security.web.access.= intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:1= 26)\n\tat org.springframework.security.web.access.intercept.FilterSecurityI= nterceptor.doFilter(FilterSecurityInterceptor.java:90)\n\tat org.springfram= ework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain= Proxy.java:330)\n\tat org.springframework.security.web.access.ExceptionTran= slationFilter.doFilter(ExceptionTranslationFilter.java:114)\n\tat org.sprin= gframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filter= ChainProxy.java:330)\n\tat org.springframework.security.web.session.Session= ManagementFilter.doFilter(SessionManagementFilter.java:122)\n\tat org.sprin= gframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filter= ChainProxy.java:330)\n\tat org.springframework.security.web.authentication.= AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:1= 11)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterCh= ain.doFilter(FilterChainProxy.java:330)\n\tat org.springframework.security.= web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityCon= textHolderAwareRequestFilter.java:169)\n\tat org.springframework.security.w= eb.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\= n\tat org.springframework.security.web.savedrequest.RequestCacheAwareFilter= .doFilter(RequestCacheAwareFilter.java:48)\n\tat org.springframework.securi= ty.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:3= 30)\n\tat org.springframework.security.web.authentication.www.BasicAuthenti= cationFilter.doFilterInternal(BasicAuthenticationFilter.java:213)\n\tat org= .springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFil= ter.java:107)\n\tat org.springframework.security.web.FilterChainProxy$Virtu= alFilterChain.doFilter(FilterChainProxy.java:330)\n\tat org.springframework= .security.web.authentication.AbstractAuthenticationProcessingFilter.doFilte= r(AbstractAuthenticationProcessingFilter.java:205)\n\tat org.springframewor= k.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProx= y.java:330)\n\tat org.springframework.security.web.authentication.logout.Lo= goutFilter.doFilter(LogoutFilter.java:120)\n\tat org.springframework.securi= ty.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:3= 30)\n\tat org.springframework.security.web.header.HeaderWriterFilter.doFilt= erInternal(HeaderWriterFilter.java:64)\n\tat org.springframework.web.filter= .OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\n\tat org.spr= ingframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filt= erChainProxy.java:330)\n\tat org.springframework.security.web.context.reque= st.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerI= ntegrationFilter.java:53)\n\tat org.springframework.web.filter.OncePerReque= stFilter.doFilter(OncePerRequestFilter.java:107)\n\tat org.springframework.= security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.= java:330)\n\tat org.springframework.security.web.context.SecurityContextPer= sistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)\n\tat org= .springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(= FilterChainProxy.java:330)\n\tat org.springframework.security.web.FilterCha= inProxy.doFilterInternal(FilterChainProxy.java:213)\n\tat org.springframewo= rk.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)\n\tat = org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(Delegat= ingFilterProxy.java:346)\n\tat org.springframework.web.filter.DelegatingFil= terProxy.doFilter(DelegatingFilterProxy.java:262)\n\tat org.apache.catalina= .core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:2= 41)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicat= ionFilterChain.java:208)\n\tat com.thetransactioncompany.cors.CORSFilter.do= Filter(CORSFilter.java:209)\n\tat com.thetransactioncompany.cors.CORSFilter= .doFilter(CORSFilter.java:244)\n\tat org.apache.catalina.core.ApplicationFi= lterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat org.apach= e.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java= :208)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWr= apperValve.java:220)\n\tat org.apache.catalina.core.StandardContextValve.in= voke(StandardContextValve.java:122)\n\tat org.apache.catalina.authenticator= .AuthenticatorBase.invoke(AuthenticatorBase.java:505)\n\tat org.apache.cata= lina.core.StandardHostValve.invoke(StandardHostValve.java:169)\n\tat org.ap= ache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)\n\t= at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956= )\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineV= alve.java:116)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(Co= yoteAdapter.java:436)\n\tat org.apache.coyote.http11.AbstractHttp11Processo= r.process(AbstractHttp11Processor.java:1078)\n\tat org.apache.coyote.Abstra= ctProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)\n\t= at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.j= ava:316)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool= Executor.java:1145)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.ru= n(ThreadPoolExecutor.java:615)\n\tat org.apache.tomcat.util.threads.TaskThr= ead$WrappingRunnable.run(TaskThread.java:61)\n\tat java.lang.Thread.run(Thr= ead.java:745)\n","exception":null,"url":"http://kylin-dev.corp.ebay.com/kyl= in/api/jobs"} -- This message was sent by Atlassian JIRA (v6.4.14#64029)