Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011006Openbravo ERPA. Platformpublic2009-10-16 10:232009-10-17 00:01
iperdomo 
marvintm 
urgentminoralways
closedduplicate 
202.6.30-gentoo-r5
2.50MP5 
 
Core
No
0011006: apply.modules fails with a NPE when trying to install a module through command line
The apply.modules task fails with a NPE when you try to install a module in command line and not using the Module Management Console (MMC).

Reason:
Some step in the apply.modules task needs info in this tables: AD_MODULE_INSTALL, AD_MODULE_DEPENDENCY_INSTALL and AD_MODULE_DBPREFIX_INSTALL and since is not there fails. Records in this tables are inserted just when using the MMC.

Attached you'll find a apply.modules.log (in debug mode)
* Get the latest code (e.g. clone pi repo)
* Install the app. (ant setup, setup properties, ant install.source)
* Go to modules folder
* Get any public module directly to the modules folder
  e.g. /opt/AppsOpenbravo/modules $ hg clone https://code.openbravo.com/erp/mods/org.openbravo.concepts.xmlengine [^]
* Go to source root folder and execute: ant apply.modules -Dmodule=org.openbravo.concepts.xmlengine
The apply.modules should work command line.
No tags attached.
duplicate of defect 0011007 closed marvintm apply.modules fails with a NPE when trying to install a module through command line 
Issue History
2009-10-16 10:23iperdomoNew Issue
2009-10-16 10:23iperdomoAssigned To => marvintm
2009-10-16 12:22iperdomoRelationship addedduplicate of 0011007
2009-10-16 12:22iperdomoStatusnew => closed
2009-10-16 12:22iperdomoDuplicate ID0 => 11007
2009-10-16 12:22iperdomoResolutionopen => duplicate
2009-10-17 00:01anonymoussf_bug_id0 => 2880783

There are no notes attached to this issue.