Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [openbravo@localhost OpenbravoERP]$ ant smartbuild -Dlocal=no
- Buildfile: build.xml
- set.code.rev:
- code.rev:
- init:
- smartbuild:
- set.code.rev:
- code.rev:
- init:
- core.lib:
- init:
- compile:
- build.jar:
- build:
- copy.core.lib:
- update.database.if.no.local:
- set.code.rev:
- code.rev:
- init:
- core.lib:
- init:
- compile:
- build.jar:
- build:
- copy.core.lib:
- database.lib:
- init:
- compile:
- build.jar:
- jar:
- buildvalidation:
- [sql] Executing commands
- [sql] 2 of 2 SQL statements executed successfully
- buildvalidation:
- [java] 0 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.AccountingTabs
- [java] 631 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.DuplicateDocExchangeRate
- [java] 693 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.DuplicatedJavaPackage
- [java] 746 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.PaymentGLItemCheck
- [java] 897 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.PreferenceConflict
- [java] 1061 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.advpaymentmngt.buildvalidation.UniquePaymentForTransaction
- [java] 1110 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.advpaymentmngt.buildvalidation.UnpostRefundPayments
- update.database:
- [sql] Executing commands
- [sql] 2 of 2 SQL statements executed successfully
- update.database.java:
- [java] Executing database update process without checking changes in local files.
- [java] 0 INFO - Database connection: jdbc:postgresql://localhost:5432/openbravo. User: tad
- [java] 902 INFO - Executing full update.database
- [java] 933 INFO - Reading tables...
- [java] 7052 INFO - Reading views...
- [java] 7219 INFO - Reading sequences...
- [java] 7246 INFO - Reading triggers...
- [java] 7326 INFO - Reading functions...
- [java] 7703 INFO - Sorting foreign keys, indexes and checks...
- [java] 7968 INFO - Starting function and trigger standardization.
- [java] 24399 INFO - Checking datatypes from the model loaded from the database
- [java] 24437 INFO - Original model loaded from database.
- [java] 24520 INFO - Reading model files...
- [java] 32851 INFO - Checking datatypes from the model loaded from XML files
- [java] 32916 INFO - Loading data from XML files
- [java] 38059 INFO - Loading and applying configuration scripts
- [java] 38124 INFO - Applying structure part of configuration script: org.openbravo.v3
- [java] 38156 INFO - Loading configuration script: /opt/OpenbravoERP/modules/org.openbravo.v3/src-db/database/configScript.xml
- [java] Checking if database structure was modified locally.
- [java] Checking if data has changed in the application dictionary.
- [java] 38808 INFO - Executing default prescript
- [java] 44563 INFO - Executed 119 SQL command(s) successfully
- [java] 44622 INFO - Updating database model...
- [java] 172908 INFO - Executed 1818 SQL command(s) successfully
- [java] 173041 INFO - Executed 5 forced SQL command(s) successfully
- [java] 173070 INFO - Model update complete.
- [java] 173220 INFO - Disabling foreign keys
- [java] 175091 INFO - Executed 2013 SQL command(s) successfully
- [java] 175118 INFO - Disabling triggers
- [java] 175340 INFO - Executed 271 SQL command(s) successfully
- [java] 175565 INFO - Executed 524 SQL command(s) successfully
- [java] 175601 INFO - Executing moduleScript: org.openbravo.modulescript.AdminFlagOnCreateDefaults
- [java] 175757 INFO - Executing moduleScript: org.openbravo.modulescript.ConvertImages
- [java] 175857 INFO - Executing moduleScript: org.openbravo.modulescript.CreateDoctypeTemplate
- [java] 175932 INFO - Executing moduleScript: org.openbravo.modulescript.CreateLineForSequenceProduct
- [java] 176027 INFO - Executing moduleScript: org.openbravo.modulescript.DeleteDuplicateMatchInvoice
- [java] 177133 INFO - Executing moduleScript: org.openbravo.modulescript.DeleteInventoryLines
- [java] 177566 INFO - Executing moduleScript: org.openbravo.modulescript.DeleteRedundantTranslations
- [java] 177723 INFO - Executing moduleScript: org.openbravo.modulescript.HBFix
- [java] 177750 INFO - Executing moduleScript: org.openbravo.modulescript.InitializeAlertStatus
- [java] 177816 INFO - Executing moduleScript: org.openbravo.modulescript.InitializeCostingMigrationPreference
- [java] 177907 INFO - Executing moduleScript: org.openbravo.modulescript.Issue21640WrongMatchInvAccounting
- [java] 177935 INFO - Executing moduleScript: org.openbravo.modulescript.PaymentZeroAmount
- [java] 178047 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateADClientInfo
- [java] 178248 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateCostingRulesWhenNotCalculatedCosts
- [java] 178322 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateEmailPasswords
- [java] 178390 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateFinancialAccountAccounts
- [java] 178539 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateMTransactionCostingStatus
- [java] 178598 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateReversalDocumentTypes
- [java] 178689 INFO - Executing moduleScript: org.openbravo.modulescript.UpgradeToPocEmail
- [java] 178753 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.AlertsForWrongInvoices
- [java] 178809 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.CreateAccountingConfiguration
- [java] 179015 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.CreateDocumentNoSequence
- [java] 179530 INFO - Executing moduleScript: org.openbravo.advpaymentmngt.modulescript.UpdateGeneratedUsedCreditColumns
- [java] 179770 INFO - Executing moduleScript: org.openbravo.userinterface.selector.UpdateLanguageColumn
- [java] 179850 INFO - Executing moduleScript: org.openbravo.v3.datasets.SetDefaultRole
- [java] 179906 INFO - Loading and applying configuration scripts
- [java] 179956 INFO - Applying data part of configuration script: org.openbravo.v3
- [java] 180004 INFO - Loading configuration script: /opt/OpenbravoERP/modules/org.openbravo.v3/src-db/database/configScript.xml
- [java] Warning: old value in row not equal to expected one. Table:[AD_TAB] PK[: 210] Old Value found: 30 Old value expected 100
- [java] We didn't found the row that we wanted to change. Table:[AD_TAB] PK[: 439]
- [java] Warning: old value in row not equal to expected one. Table:[AD_TAB] PK[: 800057] Old Value found: 40 Old value expected 70
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 1084] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 2109] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 2112] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 2119] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 2204] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 2433] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 2475] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 2517] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 2723] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 2732] Old Value found: N Old value expected Y
- [java] We didn't found the row that we wanted to change. Table:[AD_FIELD] PK[: 2923]
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 2930] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 2933] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 2944] Old Value found: null Old value expected 108
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 2953] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 2956] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 3273] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 3338] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 3346] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 3354] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 3443] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 3444] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 3447] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 3448] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 3454] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 3456] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 3464] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 3488] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 3491] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 4104] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 4106] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 4107] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 4108] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 4109] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 5386] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 7621] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 7622] Old Value found: N Old value expected Y
- [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 7623] Old Value found: N Old value expected Y
- [java] 180699 INFO - Comparing databases to find differences
- [java] 185674 INFO - Updating Application Dictionary data...
- [java] 683980 ERROR - Error while inserting into the database: ERROR: duplicate key value violates unique constraint "ad_extension_points_key"
- [java] org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "ad_extension_points_key"
- [java] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
- [java] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
- [java] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
- [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
- [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
- [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)
- [java] at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
- [java] at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
- [java] at org.apache.ddlutils.platform.PlatformImplBase.insert(PlatformImplBase.java:1735)
- [java] at org.apache.ddlutils.platform.PlatformImplBase.upsert(PlatformImplBase.java:1648)
- [java] at org.apache.ddlutils.platform.PlatformImplBase.alterData(PlatformImplBase.java:915)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:184)
- [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:86)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:38)
- [java] org.apache.ddlutils.DatabaseOperationException: Error while inserting into the database: ERROR: duplicate key value violates unique constraint "ad_extension_points_key"
- [java] at org.apache.ddlutils.platform.PlatformImplBase.insert(PlatformImplBase.java:1744)
- [java] at org.apache.ddlutils.platform.PlatformImplBase.upsert(PlatformImplBase.java:1648)
- [java] at org.apache.ddlutils.platform.PlatformImplBase.alterData(PlatformImplBase.java:915)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:184)
- [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:86)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:38)
- [java] Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "ad_extension_points_key"
- [java] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
- [java] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
- [java] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
- [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
- [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
- [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)
- [java] at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
- [java] at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
- [java] at org.apache.ddlutils.platform.PlatformImplBase.insert(PlatformImplBase.java:1735)
- [java] ... 5 more
- [java] Exception in thread "main" org.apache.ddlutils.DatabaseOperationException: Error while inserting into the database: ERROR: duplicate key value violates unique constraint "ad_extension_points_key"
- [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:248)
- [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:86)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:38)
- [java] Caused by: org.apache.ddlutils.DatabaseOperationException: Error while inserting into the database: ERROR: duplicate key value violates unique constraint "ad_extension_points_key"
- [java] at org.apache.ddlutils.platform.PlatformImplBase.insert(PlatformImplBase.java:1744)
- [java] at org.apache.ddlutils.platform.PlatformImplBase.upsert(PlatformImplBase.java:1648)
- [java] at org.apache.ddlutils.platform.PlatformImplBase.alterData(PlatformImplBase.java:915)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:184)
- [java] ... 2 more
- [java] Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "ad_extension_points_key"
- [java] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
- [java] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
- [java] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
- [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
- [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
- [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)
- [java] at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
- [java] at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
- [java] at org.apache.ddlutils.platform.PlatformImplBase.insert(PlatformImplBase.java:1735)
- [java] ... 5 more
- [java] --- Nested Exception ---
- [java] org.apache.ddlutils.DatabaseOperationException: Error while inserting into the database: ERROR: duplicate key value violates unique constraint "ad_extension_points_key"
- [java] at org.apache.ddlutils.platform.PlatformImplBase.insert(PlatformImplBase.java:1744)
- [java] at org.apache.ddlutils.platform.PlatformImplBase.upsert(PlatformImplBase.java:1648)
- [java] at org.apache.ddlutils.platform.PlatformImplBase.alterData(PlatformImplBase.java:915)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:184)
- [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:86)
- [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:38)
- [java] Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "ad_extension_points_key"
- [java] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
- [java] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
- [java] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
- [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
- [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
- [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)
- [java] at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
- [java] at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
- [java] at org.apache.ddlutils.platform.PlatformImplBase.insert(PlatformImplBase.java:1735)
- [java] ... 5 more
- BUILD FAILED
- /opt/OpenbravoERP/build.xml:375: The following error occurred while executing this line:
- /opt/OpenbravoERP/build.xml:408: The following error occurred while executing this line:
- /opt/OpenbravoERP/build.xml:725: The following error occurred while executing this line:
- /opt/OpenbravoERP/src-db/database/build.xml:80: Java returned: 1
- Total time: 11 minutes 29 seconds
- [openbravo@localhost OpenbravoERP]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement