You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Michael Vorburger (Jira)" <ji...@apache.org> on 2020/09/30 19:33:00 UTC

[jira] [Commented] (FINERACT-1167) SchedulerJobsTest: Expected status code <202> but was <500>

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

Michael Vorburger commented on FINERACT-1167:
---------------------------------------------

The 500 of course means an internal server error. The problem is that we can't tell why from the log.. let's discuss if we can do anything about this in a separate new issue FINERACT-1168.

[~ptuomola] FYI this bug... assign to you if you happen to find a fix.

> SchedulerJobsTest: Expected status code <202> but was <500>
> -----------------------------------------------------------
>
>                 Key: FINERACT-1167
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1167
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Michael Vorburger
>            Priority: Major
>
> as perhttps://github.com/apache/fineract/#pull-requests
>  
> [https://travis-ci.org/github/apache/fineract/builds/731653887] for [https://github.com/apache/fineract/pull/1359] failed due to:
>  
> {noformat}org.apache.fineract.integrationtests.SchedulerJobsTest > testFlippingSchedulerStatus() FAILED    java.lang.AssertionError: 1 expectation failed.    Expected status code <202> but was <500>.        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)        at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:72)        at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:59)        at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)        at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:493)        at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)        at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1656)        at jdk.internal.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.base/java.lang.reflect.Method.invoke(Method.java:566)        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1262)        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1029)        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:816)        at groovy.lang.GroovyObject.invokeMethod(GroovyObject.java:39)        at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45)        at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55)        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:203)        at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1661)        at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.base/java.lang.reflect.Method.invoke(Method.java:566)        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1262)        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1029)        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:816)        at groovy.lang.GroovyObject.invokeMethod(GroovyObject.java:39)        at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:45)        at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55)        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:203)        at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)        at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)        at org.apache.fineract.integrationtests.common.Utils.performServerPost(Utils.java:159)        at org.apache.fineract.integrationtests.common.SchedulerJobHelper.updateSchedulerStatus(SchedulerJobHelper.java:98)        at org.apache.fineract.integrationtests.SchedulerJobsTest.testFlippingSchedulerStatus(SchedulerJobsTest.java:90) {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)