Openbravo Issue Tracking System - Modules
View Issue Details
0021965ModulesImport Datapublic2012-10-17 11:312012-10-17 11:31
thirumalaik 
jonalegriaesarte 
normaltrivialalways
newopen 
5
 
 
0021965: Import Data keep on processing when issue in uploaded file
I tried to Import Taxes using Import File uploader.I followed this wiki page [1] for importing taxes.

http://wiki.openbravo.com/wiki/Import_Taxes [^]
http://wiki.openbravo.com/w/images/6/6d/I_Tax.txt [^]

Once the file is uploaded,Processing popup is keep on running but I got null pointer error in log.I noticed "BP Tax Cat desc" - Sequence 150 is missed in imported file.I added that column and tried with Import.It's working fine.

If there is any format issue in Imported file the system need to notify user.Currently it's keep on loading without any response and null pointer error in back end.
1.Go Import file loader.
2.create a tax csv file from http://wiki.openbravo.com/w/images/6/6d/I_Tax.txt [^]
and tried to import.
3.you will get processing popup in frontend and null pointer error in backend.

ERROR org.openbravo.erpCommon.ad_forms.FileImport - Error captured:
java.lang.NullPointerException
    at org.openbravo.erpCommon.ad_forms.FileImport.parseField(FileImport.java:252)
    at org.openbravo.erpCommon.ad_forms.FileImport.printSampleImport(FileImport.java:373)
    at org.openbravo.erpCommon.ad_forms.FileImport.doPost(FileImport.java:76)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:435)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:62)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:71)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:722)

No tags attached.
Issue History
2012-10-17 11:31thirumalaikNew Issue
2012-10-17 11:31thirumalaikAssigned To => jonalegriaesarte

There are no notes attached to this issue.