mtaal@oslo:~/mydata/dev/openbravo/workspaces/obpi/openbravo$ ant export.database -Dmodule=org.openbravo.howto Buildfile: build.xml init: set.code.rev: code.rev: export.database: init: database.lib: init: compile: build.jar: jar: init: core.lib: init: compile: build.jar: build: copy.core.lib: export.database.structure: Initializing in-memory model... Building runtime model Model read in-memory, generating mapping... Dal layer initialized Database connection: jdbc:postgresql://localhost:5432/obtrunk. User: tad [exportdatabase] Checking if database structure was modified locally. [exportdatabase] Checking if data has changed in the application dictionary. Database code revision: #0# Source code revision: #0# Subversion code revision not found. Loading models for AD and RD Datasets Exporting module: Howto Module Loading submodel from database... Reading tables... Reading views... Reading sequences... Reading triggers... Reading functions... Sorting foreign keys and checks... Starting function and trigger standardization. Validating Module... Submodel loaded Path: /home/mtaal/mydata/dev/openbravo/workspaces/obpi/openbravo/modules/org.openbravo.howto/src-db/database/model [exportdatabase] DataSet(0) (name: AD) Exporting module: Howto Module Database [name=PostgreSql server; 0 tables; 0 sequences; 0 views; 0 functions; 0 triggers] Path: /home/mtaal/mydata/dev/openbravo/workspaces/obpi/openbravo/modules/org.openbravo.howto/src-db/database/sourcedata Exporting table: AD_Process to module Howto Module Exporting table: AD_Element to module Howto Module Exporting table: AD_Menu to module Howto Module Exporting table: AD_Process_Para to module Howto Module Exporting table: AD_Message to module Howto Module Exporting table: AD_Reference to module Howto Module Exporting table: AD_AuxiliarInput to module Howto Module Exporting table: AD_Dataset_Table to module Howto Module Exporting table: AD_Callout to module Howto Module Exporting table: AD_Module_Dbprefix to module Howto Module [exportdatabase] java.lang.NullPointerException [exportdatabase] at org.apache.ddlutils.io.DataWriter.write(DataWriter.java:373) [exportdatabase] at org.apache.ddlutils.io.DataWriter.write(DataWriter.java:574) [exportdatabase] at org.apache.ddlutils.io.DatabaseDataIO.writeDataForTableToXML(DatabaseDataIO.java:487) [exportdatabase] at org.openbravo.ddlutils.task.ExportDatabase.doExecute(ExportDatabase.java:219) [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)