aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AURORA-478) /cron endpoint is broken after quartz change
Date Fri, 30 May 2014 18:57:02 GMT

    [ https://issues.apache.org/jira/browse/AURORA-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14014108#comment-14014108
] 

Hudson commented on AURORA-478:
-------------------------------

SUCCESS: Integrated in Aurora #379 (See [https://builds.apache.org/job/Aurora/379/])
AURORA-478: Fix /cron endpoint. (kevints: rev 135459758d55d5d89e127e9eab06d03d236d2c0c)
* src/test/java/org/apache/aurora/scheduler/cron/quartz/CronJobManagerImplTest.java
* src/main/java/org/apache/aurora/scheduler/http/Cron.java
* src/main/java/org/apache/aurora/scheduler/cron/quartz/CronJobManagerImpl.java
* src/test/java/org/apache/aurora/scheduler/http/CronTest.java


> /cron endpoint is broken after quartz change
> --------------------------------------------
>
>                 Key: AURORA-478
>                 URL: https://issues.apache.org/jira/browse/AURORA-478
>             Project: Aurora
>          Issue Type: Bug
>          Components: Scheduler
>            Reporter: Kevin Sweeney
>
> The /cron endpoint consistently 500s after the quartz library was introduced with the
following stack trace:
> {noformat}
> java.lang.NullPointerException
> 	at java.util.regex.Matcher.getTextLength(Matcher.java:1234)
> 	at java.util.regex.Matcher.reset(Matcher.java:308)
> 	at java.util.regex.Matcher.<init>(Matcher.java:228)
> 	at java.util.regex.Pattern.matcher(Pattern.java:1088)
> 	at org.apache.aurora.scheduler.cron.CrontabEntry$Parser.<init>(CrontabEntry.java:351)
> 	at org.apache.aurora.scheduler.cron.CrontabEntry.parse(CrontabEntry.java:126)
> 	at org.apache.aurora.scheduler.cron.quartz.CronJobManagerImpl.getScheduledJobs(CronJobManagerImpl.java:247)
> 	at org.apache.aurora.scheduler.http.Cron.dumpContents(Cron.java:51)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
> 	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
> 	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
> 	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
> 	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
> 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> 	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
> 	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
> 	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
> 	at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:910)
> 	at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:858)
> 	at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:812)
> 	at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
> 	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
> 	at org.apache.aurora.scheduler.http.LeaderRedirectFilter.doFilter(LeaderRedirectFilter.java:50)
> 	at com.twitter.common.net.http.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:28)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message