[Mifos-developer] Error during creating borrower

3 views
Skip to first unread message

Mifos.Org

unread,
Jul 2, 2012, 12:32:38 PM7/2/12
to Mifos software development

Hi all,

Our client trying to create Borrower however as a result he gets this error:

java.lang.RuntimeException: java.io.IOException: mark/reset not supported

                at org.mifos.customers.client.struts.actionforms.ClientCustActionForm.checkForMandatoryFields(ClientCustActionForm.java:543)

                at org.mifos.customers.client.struts.actionforms.ClientCustActionForm.validateFields(ClientCustActionForm.java:337)

                at org.mifos.customers.struts.actionforms.CustomerActionForm.validate(CustomerActionForm.java:371)

                at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:928)

                at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:204)

                at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)

                at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

                at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:534)

                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)

                at org.mifos.servlet.filters.MifosAccessLogFilter.doFilter(MifosAccessLogFilter.java:72)

                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)

                at org.mifos.framework.persistence.DatabaseInitFilter.doFilter(DatabaseInitFilter.java:58)

                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)

                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)

                at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)

                at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)

                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

                at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)

                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

                at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)

                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

                at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)

                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

                at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)

                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

                at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)

                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

                at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)

                at org.mifos.security.authentication.MifosLegacyUsernamePasswordAuthenticationFilter.doFilter(MifosLegacyUsernamePasswordAuthenticationFilter.java:115)

                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

                at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)

                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

                at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)

                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

                at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)

                at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)

                at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)

                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)

                at org.mifos.servlet.filters.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:70)

                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)

                at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:474)

                at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

                at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:480)

                at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)

                at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:934)

                at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:404)

                at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184)

                at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:869)

                at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

                at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)

                at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:151)

                at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)

                at org.eclipse.jetty.server.Server.handle(Server.java:346)

                at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:581)

                at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1057)

                at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:807)

                at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220)

                at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)

                at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:526)

                at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:41)

                at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:528)

                at java.lang.Thread.run(Unknown Source)

Caused by: java.io.IOException: mark/reset not supported

                at java.io.InputStream.reset(Unknown Source)

                at org.mifos.customers.client.struts.actionforms.ClientCustActionForm.checkForMandatoryFields(ClientCustActionForm.java:541)

                ... 63 more

 

Please help,

thanks

Lukasz Chudy

unread,
Jul 3, 2012, 7:31:06 AM7/3/12
to Mifos software development
Hi,

Could you tell me which version of Mifos are you using? Could you also provide steps to reproduce the issue?

Regards,
Lukasz
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


Mifos-developer mailing list
mifos-d...@lists.sourceforge.net
Unsubscribe or change settings at:
https://lists.sourceforge.net/lists/listinfo/mifos-developer


Mifos.Org

unread,
Jul 3, 2012, 8:33:44 AM7/3/12
to Lukasz Chudy, Mifos software development

Mifos latest version: 2.4.0

Steps:

Clients & Account >Create New Client, filling all fields and at the final step after submission we get error indicated below

Lukasz Chudy

unread,
Jul 4, 2012, 9:04:35 AM7/4/12
to Mifos.Org, Mifos software development
I cannot reproduce this issue. Which fields on 'Enter personal information' page during new Client creation are set as Mandatory?

Mifos.Org

unread,
Jul 4, 2012, 3:48:40 PM7/4/12
to Lukasz Chudy, Mifos software development

I don’t know, I will ask our client. You mean this field shouldn’t be as mandatory?

Lukasz Chudy

unread,
Jul 5, 2012, 2:08:45 AM7/5/12
to Mifos.Org, Mifos software development
I mean that this stack trace is probably related to Mandatory fields, so if I know which fields are Mandatory for your Client, then maybe I will be able to reproduce this issue.

Regards,
Lukasz

Mifos.Org

unread,
Jul 5, 2012, 2:14:07 PM7/5/12
to Lukasz Chudy, Mifos software development

Give me one day, I will contact my client and write you soon

Thanks Likasz

Reply all
Reply to author
Forward
0 new messages