Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007541Openbravo ERPY. DBSourceManagerpublic2009-02-12 17:522009-04-22 00:00
gorka_gil 
marvintm 
highmajoralways
closedfixed 
20rPath Linux
2.50alpha-r10 
2.50beta 
Core
No
0007541: null pointer exception when install modules without dbprefix
when you try to install a module that hasn't dbprefix, throws a null pointer exception.

The dbprefix is optional for modules that hasn't elements of database.

StackTrace:
Creating submodel for application dictionary
Updating module: org.openbravo.examples.tetris
Module doesn't have dbprefix. We will not update database model.
The following error occurred while executing this line:
/opt/AppsOpenbravo/build.xml:504: The following error occurred while executing this line:
/opt/AppsOpenbravo/src-db/database/build.xml:132: java.lang.NullPointerException
1. Install module tetris
2. Rebuild

No tags attached.
Issue History
2009-02-12 17:52gorka_gilNew Issue
2009-02-12 17:52gorka_gilAssigned To => marvintm
2009-02-12 17:52gorka_gilRegression testing => No
2009-02-16 18:09svnbotCheckin
2009-02-16 18:09svnbotNote Added: 0013541
2009-02-16 18:09svnbotStatusnew => resolved
2009-02-16 18:09svnbotResolutionopen => fixed
2009-02-16 18:09svnbotsvn_revision => 13247
2009-02-16 18:09svnbotCheckin
2009-02-16 18:09svnbotNote Added: 0013542
2009-02-16 18:09svnbotsvn_revision13247 => 244
2009-04-21 10:33psarobeStatusresolved => closed
2009-04-22 00:00anonymoussf_bug_id0 => 2777933

Notes
(0013541)
svnbot   
2009-02-16 18:09   
Repository: openbravo
Revision: 13247
Author: marvintm
Date: 2009-02-16 18:09:30 +0100 (Mon, 16 Feb 2009)

Fixed issue 7541. There should be no more problems when installing modules without DBPREFIX.

---
U trunk/src-db/database/lib/dbsourcemanager.jar
---

https://dev.openbravo.com/websvn/openbravo/?rev=13247&sc=1 [^]
(0013542)
svnbot   
2009-02-16 18:09   
Repository: dbsourcemanager
Revision: 244
Author: marvintm
Date: 2009-02-16 18:09:51 +0100 (Mon, 16 Feb 2009)

Fixed issue 7541. There should be no more problems when installing modules without DBPREFIX.

---
U trunk/src/org/openbravo/ddlutils/task/AlterDatabaseDataMod.java
---

https://dev.openbravo.com/websvn/dbsourcemanager/?rev=244&sc=1 [^]