Created
February 4, 2013 17:54
-
-
Save amichaelgrant/4708307 to your computer and use it in GitHub Desktop.
savings account approval error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
authPath -->https://localhost:8443/mifosng-provider/api/v1/authentication?username=mifos&password=password | |
HTTP Status Line ->HTTP/1.1 200 OK | |
HTTP Line ->Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS | |
HTTP Line ->Content-Type: application/json | |
HTTP Line ->Transfer-Encoding: chunked | |
HTTP Line ->Date: Mon, 04 Feb 2013 17:49:08 GMT | |
HTTP Line ->null | |
data authToX ==>{"username":"mifos","userId":1,"base64EncodedAuthenticationKey":"bWlmb3M6cGFzc3dvcmQ\u003d","authenticated":true,"permissions":["ALL_FUNCTIONS"]} | |
u ==> mifos | |
key ==> bWlmb3M6cGFzc3dvcmQ= | |
approveClientSavings -->{"locale":"en_GB","dateFormat":"dd MMMM yyyy","commencementDate":"29 jan 2013","savingsDepositAmountPerPeriod":"20","minimumBalanceForWithdrawal":"2","recurringInterestRate":"1","savingInterestRate":"1","interestType":1,"tenure":12,"tenureType":1,"frequency":3,"payEvery":3,"note":"this a savings approval string","interestPostEvery":1,"interestPostFrequency":1} | |
url ->https://localhost:8443/mifosng-provider/api/v1/savingaccounts/5?command=approve | |
HTTP URL -->https://localhost:8443/mifosng-provider/api/v1/savingaccounts/5?command=approve | |
HTTP Status Line ->HTTP/1.1 500 Internal Server Error | |
HTTP Line ->null | |
HTTP Line ->Content-Type: text/html;charset=utf-8 | |
HTTP Line ->null | |
HTTP Line ->Date: Mon, 04 Feb 2013 17:49:08 GMT | |
HTTP Line ->null | |
<html><head><title>Apache Tomcat/7.0.34 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - java.lang.Double cannot be cast to java.lang.String</h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u>java.lang.Double cannot be cast to java.lang.String</u></p><p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.String org.mifosplatform.infrastructure.core.api.PortfolioApiDataConversionServiceImpl.extractIntegerParameter(PortfolioApiDataConversionServiceImpl.java:143) org.mifosplatform.infrastructure.core.api.PortfolioApiDataConversionServiceImpl.convertJsonToSavingApprovalCommand(PortfolioApiDataConversionServiceImpl.java:940) org.mifosplatform.portfolio.savingsaccount.api.SavingsAccountApiResource.savingStateTransitions(SavingsAccountApiResource.java:285) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:616) com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511) com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442) com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391) com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381) com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538) com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716) javax.servlet.http.HttpServlet.service(HttpServlet.java:728) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201) org.mifosplatform.infrastructure.security.filter.TenantAwareBasicAuthenticationFilter.doFilter(TenantAwareBasicAuthenticationFilter.java:91) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:144) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/7.0.34 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.34</h3></body></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
authPath -->https://localhost:8443/mifosng-provider/api/v1/authentication?username=mifos&password=password
<title>Apache Tomcat/7.0.34 - Error report</title><style></style>HTTP Status Line ->HTTP/1.1 200 OK
HTTP Line ->Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
HTTP Line ->Content-Type: application/json
HTTP Line ->Transfer-Encoding: chunked
HTTP Line ->Date: Mon, 04 Feb 2013 18:05:02 GMT
HTTP Line ->null
data authToX ==>{"username":"mifos","userId":1,"base64EncodedAuthenticationKey":"bWlmb3M6cGFzc3dvcmQ\u003d","authenticated":true,"permissions":["ALL_FUNCTIONS"]}
u ==> mifos
key ==> bWlmb3M6cGFzc3dvcmQ=
approveClientSavings -->{"locale":"en_GB","dateFormat":"dd MMMM yyyy","commencementDate":"29 jan 2013","savingsDepositAmountPerPeriod":"20","minimumBalanceForWithdrawal":"2","recurringInterestRate":"1","savingInterestRate":"1","interestType":"1","tenure":"12","tenureType":"1","frequency":"3","payEvery":"3","note":"this a savings approval string","interestPostEvery":"1","interestPostFrequency":"1"}
url ->https://localhost:8443/mifosng-provider/api/v1/savingaccounts/5?command=approve
HTTP URL -->https://localhost:8443/mifosng-provider/api/v1/savingaccounts/5?command=approve
HTTP Status Line ->HTTP/1.1 500 Internal Server Error
HTTP Line ->null
HTTP Line ->Content-Type: text/html;charset=utf-8
HTTP Line ->null
HTTP Line ->Date: Mon, 04 Feb 2013 18:05:02 GMT
HTTP Line ->null
HTTP Status 500 - Date of approval cannot before application submission date
type Exception report
message Date of approval cannot before application submission date
description The server encountered an internal error that prevented it from fulfilling this request.
exception
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.34 logs.
Apache Tomcat/7.0.34