Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0008566
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2009-04-14 15:452009-05-05 00:00
ReportermtaalView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version2.50MP1
StatusclosedFix in branchpiFixed in SCM revision55baf95c68df
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0008566: NPE in org.apache.ddlutils.io.DataWriter.write(DataWriter.java:373) when export.database with -Dmodule parameter

DescriptionSee the module created in this howto:
http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/How_To_Create_and_Package_a_Module [^]

When I try to execute this module using this ant task:
ant export.database -Dmodule=org.openbravo.howto
I get a NPE (see attached file)
The strange thing is that when I do this:
ant export.database
it works fine.

gr. Martin
Tags250MP1, Modularity
Attached Fileslog file icon ant_export.log [^] (5,021 bytes) 2009-04-14 15:46

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0008800 closedalostale export module 

-  Notes
(0015361)
mtaal (manager)
2009-04-14 15:48

It seems to fail on the AD_Module_DBPrefix table, only that one is present in the exported module directory, in addition its content is incorrect:

<?xml version="1.0" encoding="UTF-8"?>
<data>
<!--BB5D6EE4FD024D22A7246F67FF69A37E-->
(0015827)
hgbot (developer)
2009-04-28 11:09

Repository: dbsourcemanager
Revision: 291
Author: marvintm
Date: 2009-04-28 11:09:55 +0200 (Tue, 28 Apr 2009)

Fixed issue 8566. Now there shouldn't be a null pointer exception when export.database is run with the -Dmodule option.

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

https://dev.openbravo.com/websvn/dbsourcemanager/?rev=291&sc=1 [^]
(0015831)
hgbot (developer)
2009-04-28 11:28

Repository: erp/devel/pi
Changeset: 55baf95c68df80e01128c9c1226e646b6bce8148
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Apr 28 11:13:06 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/55baf95c68df80e01128c9c1226e646b6bce8148 [^]

Fixed issue 8566. Now there shouldn't be a null pointer exception when export.database is run with the -Dmodule option.

---
M src-db/database/lib/dbsourcemanager.jar
---

- Issue History
Date Modified Username Field Change
2009-04-14 15:45 mtaal New Issue
2009-04-14 15:45 mtaal Assigned To => marvintm
2009-04-14 15:45 mtaal Regression testing => No
2009-04-14 15:46 mtaal File Added: ant_export.log
2009-04-14 15:48 mtaal Note Added: 0015361
2009-04-22 19:34 psarobe Tag Attached: Modularity
2009-04-22 19:41 psarobe Status new => scheduled
2009-04-22 19:41 psarobe fix_in_branch => pi
2009-04-27 16:17 marvintm Tag Attached: 250MP1
2009-04-28 11:09 hgbot Checkin
2009-04-28 11:09 hgbot Note Added: 0015827
2009-04-28 11:09 hgbot Status scheduled => resolved
2009-04-28 11:09 hgbot Resolution open => fixed
2009-04-28 11:28 hgbot Checkin
2009-04-28 11:28 hgbot Note Added: 0015831
2009-04-28 11:28 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/55baf95c68df80e01128c9c1226e646b6bce8148 [^]
2009-04-29 11:31 alostale Relationship added has duplicate 0008800
2009-05-04 19:43 psarobe Status resolved => closed
2009-05-05 00:00 anonymous sf_bug_id 0 => 2786898


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker