Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0008800 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2009-04-28 11:24 | 2009-04-30 00:00 | |||
Reporter | FrancescoFinamore | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | urgent | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_11 | |||
OS Version | rPath Linux | Database version | 8.3.5 | Ant version | 1.7.1 | |||
Product Version | 2.50 | SCM revision | r0 | |||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0008800: export module | |||||||
Description | i have created my first module , with one table and a simple window with one tab linked to the table , it works but when i go to launch ant export database -Dmodule=org.cbt.examples i have this error : Submodel loaded Path: /home/finamore/openbravowk/ob250/openbravo/modules/org.cbt.examples/src-db/database/model [exportdatabase] DataSet(0) (name: AD) Exporting module: My first module Database [name=PostgreSql server; 1 tables; 0 sequences; 0 views; 0 functions; 0 triggers] Path: /home/finamore/openbravowk/ob250/openbravo/modules/org.cbt.examples/src-db/database/sourcedata Exporting table: AD_Process to module My first module Exporting table: AD_Element to module My first module [exportdatabase] java.lang.NullPointerException [exportdatabase] at org.apache.ddlutils.io.DataWriter.write(DataWriter.java:384) [exportdatabase] at org.apache.ddlutils.io.DataWriter.write(DataWriter.java:602) [exportdatabase] at org.apache.ddlutils.io.DatabaseDataIO.writeDataForTableToXML(DatabaseDataIO.java:487) [exportdatabase] at org.openbravo.ddlutils.task.ExportDatabase.doExecute(ExportDatabase.java:263) [exportdatabase] at org.openbravo.dal.core.DalInitializingTask.execute(DalInitializingTask.java:116) [exportdatabase] at org.openbravo.ddlutils.task.BaseDalInitializingTask.execute(BaseDalInitializingTask.java:79) [exportdatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) [exportdatabase] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) [exportdatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [exportdatabase] at java.lang.reflect.Method.invoke(Method.java:597) [exportdatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [exportdatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [exportdatabase] at org.apache.tools.ant.Target.execute(Target.java:357) [exportdatabase] at org.apache.tools.ant.Target.performTasks(Target.java:385) [exportdatabase] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) [exportdatabase] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) [exportdatabase] at org.apache.tools.ant.Project.executeTargets(Project.java:1189) [exportdatabase] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416) [exportdatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) [exportdatabase] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) [exportdatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [exportdatabase] at java.lang.reflect.Method.invoke(Method.java:597) [exportdatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [exportdatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [exportdatabase] at org.apache.tools.ant.Target.execute(Target.java:357) [exportdatabase] at org.apache.tools.ant.Target.performTasks(Target.java:385) [exportdatabase] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) [exportdatabase] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [exportdatabase] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [exportdatabase] at org.apache.tools.ant.Project.executeTargets(Project.java:1189) [exportdatabase] at org.apache.tools.ant.Main.runBuild(Main.java:758) [exportdatabase] at org.apache.tools.ant.Main.startAnt(Main.java:217) [exportdatabase] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) [exportdatabase] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) I controlled the result of the export and the xml of the table is correct but under sourcedata there is only one file AD_element.xml and it is empty. | |||||||
Steps To Reproduce | Create module value the tabs of : Dependency Data Package DB Prefix Create a table ex_software with these fields ex_software_id character varying(32) NOT NULL, ad_client_id character varying(32) NOT NULL, ad_org_id character varying(32) NOT NULL, isactive character(1) NOT NULL DEFAULT 'Y'::bpchar, created timestamp without time zone NOT NULL DEFAULT now(), createdby character varying(32) NOT NULL, updated timestamp without time zone NOT NULL DEFAULT now(), updatedby character varying(32) NOT NULL, "name" character varying(60) NOT NULL, Create a Window Software with one tab linked to ex_software table Compile Window launch from command line : ant export.database -Dmodule=org.cbt.examples | |||||||
Tags | 250MP1, Modularity | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2009-04-28 11:24 | FrancescoFinamore | New Issue | |
2009-04-28 11:24 | FrancescoFinamore | Assigned To | => jpabloae |
2009-04-28 11:35 | jpabloae | Assigned To | jpabloae => rafaroda |
2009-04-28 14:06 | psarobe | Tag Attached: 250MP1 | |
2009-04-28 14:06 | psarobe | Tag Attached: Modularity | |
2009-04-28 14:07 | psarobe | Assigned To | rafaroda => alostale |
2009-04-28 14:07 | psarobe | Priority | normal => urgent |
2009-04-28 14:07 | psarobe | Severity | minor => major |
2009-04-28 14:07 | psarobe | Category | K. Packaging => A. Platform |
2009-04-28 14:07 | psarobe | Status | new => scheduled |
2009-04-28 14:07 | psarobe | fix_in_branch | => pi |
2009-04-29 11:31 | alostale | Regression testing | => No |
2009-04-29 11:31 | alostale | Relationship added | duplicate of 0008566 |
2009-04-29 11:31 | alostale | Status | scheduled => closed |
2009-04-29 11:31 | alostale | Duplicate ID | 0 => 8566 |
2009-04-29 11:31 | alostale | Resolution | open => duplicate |
2009-04-30 00:00 | anonymous | sf_bug_id | 0 => 2783995 |
Copyright © 2000 - 2009 MantisBT Group |