Exception after selecting MPESA disburse loan file
--------------------------------------------------

                 Key: MIFOS-3039
                 URL: http://mifosforge.jira.com/browse/MIFOS-3039
             Project: mifos
          Issue Type: Bug
          Components: ImportExport
    Affects Versions: Shamim D
            Reporter: jbrewster


I'm only seeing this on my own laptop, but want to document in case others also 
encounter the same issue.

When importing a xls file for MPesa loan disbursal, encounter a 
"NoSuchMethodError".  Seen this locally, but haven't been able to reproduce the 
error on other test machines.  To eliminate the error, I've tried:
- dropping deployed war and work directories
- moving plugin jar from mifosconf directory 
- updated apache tomcat to 6.0.26

error:

javax.servlet.ServletException: java.lang.NoSuchMethodError: 
ke.co.safaricom.MPesaXlsLoanDisbursement.findDisbursementType(Ljava/lang/String;)Lorg/mifos/accounts/api/PaymentTypeDto;
        
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:298)
        
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
        
org.mifos.framework.struts.action.BaseAction.execute(BaseAction.java:138)
        
org.mifos.framework.struts.action.MifosRequestProcessor.processActionPerform(MifosRequestProcessor.java:204)
        
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:637)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        org.mifos.security.util.LoginFilter.doFilter(LoginFilter.java:85)
        
org.mifos.servlet.filters.MifosLogFilter.doFilter(MifosLogFilter.java:67)
        
org.mifos.framework.persistence.DatabaseInitFilter.doFilter(DatabaseInitFilter.java:51)

root cause

java.lang.NoSuchMethodError: 
ke.co.safaricom.MPesaXlsLoanDisbursement.findDisbursementType(Ljava/lang/String;)Lorg/mifos/accounts/api/PaymentTypeDto;
        
ke.co.safaricom.MPesaXlsLoanDisbursement.setPaymentType(MPesaXlsLoanDisbursement.java:151)
        
ke.co.safaricom.MPesaXlsLoanDisbursement.parse(MPesaXlsLoanDisbursement.java:82)
        
org.mifos.application.importexport.struts.action.ImportTransactionsAction.upload(ImportTransactionsAction.java:104)
        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:138)
        
org.mifos.framework.struts.action.MifosRequestProcessor.processActionPerform(MifosRequestProcessor.java:204)
        
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:637)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        org.mifos.security.util.LoginFilter.doFilter(LoginFilter.java:85)
        
org.mifos.servlet.filters.MifosLogFilter.doFilter(MifosLogFilter.java:67)
        
org.mifos.framework.persistence.DatabaseInitFilter.doFilter(DatabaseInitFilter.java:51)


-- 
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

Reply via email to