Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010385Openbravo ERP02. Master data managementpublic2009-08-24 11:332009-08-25 00:00
arunkumar 
marvintm 
immediatecriticalhave not tried
closedfixed 
5
main 
 
Core
No
0010385: NullPointerException in main oracle context
While clicking the pages in openbravomainoracle context, they throw NullPointerException error.
Create a new client called "SampleClient"
Create an user called "userA" for the newly created client.
Login as userA/userA in openbravomainoracle context.
View the following pages.
You will see java.lang.NullPointerException error.

(1) Master data management -> Business partner
(2) Master data management -> product
(3) Procurement management -> transactions -> Purchase order. Click a new record

The exception comes in many pages
No tags attached.
related to feature request 0006162 closed harpreet Create a Format.xml.template 
has duplicate defect 0010469 closed rafaroda Installation problems 
related to defect 0010390 closed harpreet Format.xml file not generated after completing the setup utility 
jpg NullPointerException.JPG (115,328) 2009-08-24 11:33
https://issues.openbravo.com/file_download.php?file_id=1678&type=bug
jpg
Issue History
2009-08-24 11:33arunkumarNew Issue
2009-08-24 11:33arunkumarAssigned To => rafaroda
2009-08-24 11:33arunkumarFile Added: NullPointerException.JPG
2009-08-24 11:39plujanStatusnew => scheduled
2009-08-24 11:39plujanAssigned Torafaroda => marvintm
2009-08-24 11:39plujanfix_in_branch => pi
2009-08-24 11:42arunkumarAssigned Tomarvintm => rafaroda
2009-08-24 11:42arunkumarStatusscheduled => new
2009-08-24 11:42arunkumarfix_in_branchpi =>
2009-08-24 11:42arunkumarProposed Solution updated
2009-08-24 11:48plujanStatusnew => scheduled
2009-08-24 11:48plujanAssigned Torafaroda => marvintm
2009-08-24 11:48plujanfix_in_branch => pi
2009-08-24 12:56marvintmStatusscheduled => resolved
2009-08-24 12:56marvintmFixed in SCM revision =>
2009-08-24 12:56marvintmResolutionopen => fixed
2009-08-24 12:56marvintmNote Added: 0019186
2009-08-24 12:59plujanStatusresolved => closed
2009-08-24 12:59plujanNote Added: 0019187
2009-08-24 13:40rafarodaRelationship addedrelated to 0006162
2009-08-25 00:00anonymoussf_bug_id0 => 2843875
2009-08-25 07:49sureshbabuRelationship addedrelated to 0010390
2009-09-08 11:22rafarodaRelationship addedhas duplicate 0010469

Notes
(0019186)
marvintm   
2009-08-24 12:56   
The problem appears to be related to the system not having the Format.xml file in the config folder. The file was removed in a previous revision, and now it's generated by the setup utility, or otherwise needs to be copied from the Format.xml.template file.
(0019187)
plujan   
2009-08-24 12:59   
Last compile.complete log showed this message:
     [java] 635 [main] ERROR org.openbravo.xmlEngine.XmlEngine - not found fileXmlEngineFormat: /tmp/main/config/Format.xml
     [java] /tmp/main/config/Format.xml (No such file or directory)

After that, we noticed that config folder has only a Format.xml.template file (no Format.xml were present) so we copied Format.xml.template into Format.xml and launched compilation again. That solved the issue.