[
http://mifosforge.jira.com/browse/MIFOS-2012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jbrewster updated MIFOS-2012:
-----------------------------
Status: Verified (was: Resolved)
> showing the HTTP Status 500 error while creating the group when
> GroupPendingApprovalStateEnabled property is changed to "false".
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: MIFOS-2012
> URL: http://mifosforge.jira.com/browse/MIFOS-2012
> Project: mifos
> Issue Type: Bug
> Components: Custom Properties
> Affects Versions: Release 1.1
> Environment: Platform: All, OS: All
> Reporter: sreenivas_reddy
> Assignee: mifosqa
> Priority: Major
> Fix For: Shamim D
>
>
> Conditions
> ---------
> 1.Change from default value to GroupPendingApprovalStateEnabled property is
> changed to "false".
> 3.Customer_state table should be updated.SQL: UPDATE CUSTOMER_STATE l SET
> l.CURRENTLY_IN_USE=0 WHERE l.STATUS_ID=8
> Steps
> -----
> 1. Log in Mifos with a valid username and password.
> 2. Click on "Create new Group".
> 3. Give a Center name.
> 4. Enter all necessary information and click "Continue".
> 5. Check all the details and click "Approved".
> Expected
> --------
> The Group Information page should appear with the group directly in "Active"
> status.
> Actual
> ------
> Showing the HTTP Status 500 error. For further details please see the below
> error message
> HTTP Status 500 -
> type Exception report
> message
> description The server encountered an internal error () that prevented it from
> fulfilling this request.
> exception
> javax.servlet.ServletException: org.hibernate.LazyInitializationException:
> failed to lazily initialize a collection of role:
> org.mifos.application.customer.business.CustomerBO.accounts, no session or
> session was closed
>
> org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
>
> org.mifos.framework.struts.action.MifosRequestProcessor.processActionPerform(MifosRequestProcessor.java:269)
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>
> org.mifos.framework.security.util.LoginFilter.doFilter(LoginFilter.java:109)
>
> org.mifos.framework.persistence.DatabaseVersionFilter.doFilter(DatabaseVersionFilter.java:39)
> root cause
> org.hibernate.LazyInitializationException: failed to lazily initialize a
> collection of role:
> org.mifos.application.customer.business.CustomerBO.accounts,
> no session or session was closed
>
> org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358)
>
> org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350)
>
> org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:343)
>
> org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86)
> org.hibernate.collection.PersistentSet.iterator(PersistentSet.java:163)
>
> org.mifos.application.customer.business.CustomerBO.getCustomerAccount(CustomerBO.java:519)
>
> org.mifos.application.customer.business.CustomerAccountBO.generateCustomerFeeSchedule(CustomerAccountBO.java:133)
>
> org.mifos.application.customer.business.CustomerAccountBO.<init>(CustomerAccountBO.java:120)
>
> org.mifos.application.customer.business.CustomerBO.createCustomerAccount(CustomerBO.java:1187)
>
> org.mifos.application.customer.business.CustomerBO.<init>(CustomerBO.java:240)
>
> org.mifos.application.customer.group.business.GroupBO.<init>(GroupBO.java:133)
>
> org.mifos.application.customer.group.business.GroupBO.<init>(GroupBO.java:100)
>
> org.mifos.application.customer.group.struts.action.GroupCustAction.createGroupWithCenter(GroupCustAction.java:571)
>
> org.mifos.application.customer.group.struts.action.GroupCustAction.create(GroupCustAction.java:222)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown Source)
>
> org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274)
>
> org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
> org.mifos.framework.struts.action.BaseAction.execute(BaseAction.java:90)
>
> org.mifos.framework.struts.action.MifosRequestProcessor.processActionPerform(MifosRequestProcessor.java:234)
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>
> org.mifos.framework.security.util.LoginFilter.doFilter(LoginFilter.java:109)
>
> org.mifos.framework.persistence.DatabaseVersionFilter.doFilter(DatabaseVersionFilter.java:39)
> note The full stack trace of the root cause is available in the Apache
> Tomcat/6.0.14 logs.
> Environment
> ------------
> Application Server Apache Tomcat/6.0.14
> Mifos Database Version 197
> Subversion Revision Number 13166
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues