Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010469Openbravo ERPZ. Otherspublic2009-09-03 10:092009-09-09 00:00
FrancescoFinamore 
rafaroda 
normalmajoralways
closedduplicate 
20rPath Linux
 
 
Core
No
0010469: Installation problems
I have installed last version of branch devel/main , the install.source is doesn't return errors but when i run the application if i click on BusinessPartner, Product or other the browswer give the error : java.lang.NullPointerException

On the log i see this :

java.lang.NullPointerExceptio at org.openbravo.xmlEngine.TemplateConfiguration.startElement(TemplateConfiguration.java:401)
 at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
 at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
 at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
 at org.openbravo.xmlEngine.XmlEngine.readFile(XmlEngine.java:347)
 at org.openbravo.xmlEngine.XmlEngine.readAllXmlTemplates(XmlEngine.java:281)
 at org.openbravo.xmlEngine.XmlEngine.readXmlTemplate(XmlEngine.java:261)
 at org.openbravo.xmlEngine.XmlEngine.readXmlTemplate(XmlEngine.java:239)
 at org.openbravo.erpCommon.ad_forms.Heartbeat.printPageDataSheet(Heartbeat.java:87)
 at org.openbravo.erpCommon.ad_forms.Heartbeat.doPost(Heartbeat.java:67)
 at org.openbravo.base.HttpBaseServlet.doGet(HttpBaseServlet.java:286)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
 at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:224)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:327)
    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.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:79)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:85)
    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:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
1) Install last version of devel/main
2) Login on Client SmallBazaar like openbravo admin
3) Click on Master Data Management/Business Partner link.
No tags attached.
duplicate of defect 0010385 closed marvintm NullPointerException in main oracle context 
related to feature request 0006162 closed harpreet Create a Format.xml.template 
Issue History
2009-09-03 10:09FrancescoFinamoreNew Issue
2009-09-03 10:09FrancescoFinamoreAssigned To => rafaroda
2009-09-08 11:22rafarodaRelationship addedduplicate of 0010385
2009-09-08 11:22rafarodaStatusnew => closed
2009-09-08 11:22rafarodaNote Added: 0019522
2009-09-08 11:22rafarodaDuplicate ID0 => 10385
2009-09-08 11:22rafarodaResolutionopen => duplicate
2009-09-08 11:22rafarodaRelationship addedrelated to 0006162
2009-09-08 16:15FrancescoFinamoreNote Added: 0019530
2009-09-09 00:00anonymoussf_bug_id0 => 2854708

Notes
(0019522)
rafaroda   
2009-09-08 11:22   
Hi Francesco, this issue is duplicated of 0010385

Please see the solution in https://issues.openbravo.com/view.php?id=10385#bugnotes [^]

Thanks for your feedback.
(0019530)
FrancescoFinamore   
2009-09-08 16:15   
Ok, now it seems works, but it's better to manage the error and show a right message when that file doesn't exists.
Thank you