Mon installation d'OpenConcerto 1.5 était tout à fait standard, à l'exception de la modification de certains templates ODS (factures, bilans) et XML que j'avais modifié à l'époque.
J'ai voulu mettre à jour à la 1.7 et voici les erreurs rencontrées :
A la connexion :
Code : Tout sélectionner
Erreur de connexion
table is null for class org.openconcerto.erp.core.customerrelationship.customer.element.AgenceSQLElement
org.openconcerto.utils.ExceptionHandler: Erreur de connexion
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:145)
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:152)
at org.openconcerto.erp.action.NouvelleConnexionAction$1.run(NouvelleConnexionAction.java:262)
at org.openconcerto.sql.ui.ConnexionPanel.connect(ConnexionPanel.java:477)
at org.openconcerto.sql.ui.ConnexionPanel.access$4(ConnexionPanel.java:450)
at org.openconcerto.sql.ui.ConnexionPanel$7.run(ConnexionPanel.java:405)
at java.lang.Thread.run(Unknown Source)
Caused by: org.openconcerto.sql.model.DBStructureItemNotFound: table is null for class org.openconcerto.erp.core.customerrelationship.customer.element.AgenceSQLElement
at org.openconcerto.sql.element.SQLElement.<init>(SQLElement.java:232)
at org.openconcerto.sql.element.SQLElement.<init>(SQLElement.java:226)
at org.openconcerto.sql.element.SQLElement.<init>(SQLElement.java:222)
at org.openconcerto.erp.core.customerrelationship.customer.element.AgenceSQLElement.<init>(AgenceSQLElement.java:36)
at org.openconcerto.erp.config.ComptaPropsConfiguration.setSocieteDirectory(ComptaPropsConfiguration.java:864)
at org.openconcerto.erp.config.ComptaPropsConfiguration.setUpSocieteDataBaseConnexion(ComptaPropsConfiguration.java:1299)
at org.openconcerto.erp.action.NouvelleConnexionAction$1.run(NouvelleConnexionAction.java:140)
... 4 more
Code : Tout sélectionner
Echec de mise à jour
Impossible d'accéder au résultat de ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_ABS_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_BRUT_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "CONGES_PRIS_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_125_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "RBT_TRANSPORT_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_110_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_CHOM_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_INDEM_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_BRUT_SECU_PAS_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "FRAIS_PRO_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_NET_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_NET_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_CHOM_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "TAUX_CHOM_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "FRAIS_PRO_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_INDEM_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_200_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_TRAV_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "ECRETEMENT_CSG_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "TAUX_CHOM_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_BRUT_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "RBT_TRANSPORT_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "TAUX_CHOM_CUMUL_VAL_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_BRUT_SECU_PAS_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "ECRETEMENT_CSG_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_150_CUMUL_VAL" real DEFAULT 0;
in jdbc:h2:file:C:\Users\Ben\AppData\Roaming\OpenConcerto\Data\DBData/OpenConcerto;DATABASE_TO_UPPER=false
org.openconcerto.utils.ExceptionHandler: Echec de mise à jour
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:145)
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:152)
at org.openconcerto.erp.config.InstallationPanel.updateDatabase(InstallationPanel.java:4687)
at org.openconcerto.erp.config.InstallationPanel$1$1.run(InstallationPanel.java:158)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Impossible d'accéder au résultat de ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_ABS_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_BRUT_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "CONGES_PRIS_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_125_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "RBT_TRANSPORT_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_110_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_CHOM_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_INDEM_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_BRUT_SECU_PAS_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "FRAIS_PRO_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_NET_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_NET_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_CHOM_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "TAUX_CHOM_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "FRAIS_PRO_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_INDEM_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_200_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_TRAV_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "ECRETEMENT_CSG_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "TAUX_CHOM_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_BRUT_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "RBT_TRANSPORT_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "TAUX_CHOM_CUMUL_VAL_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_BRUT_SECU_PAS_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "ECRETEMENT_CSG_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_150_CUMUL_VAL" real DEFAULT 0;
in jdbc:h2:file:C:\Users\Ben\AppData\Roaming\OpenConcerto\Data\DBData/OpenConcerto;DATABASE_TO_UPPER=false
at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:650)
at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:558)
at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:538)
at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:467)
at org.openconcerto.erp.config.update.Updater_1_5.update(Updater_1_5.java:1875)
at org.openconcerto.erp.config.InstallationPanel$11.create(InstallationPanel.java:4621)
at org.openconcerto.sql.utils.SQLUtils$1.handle(SQLUtils.java:82)
at org.openconcerto.sql.utils.SQLUtils$2.handle(SQLUtils.java:149)
at org.openconcerto.sql.model.ConnectionHandler.compute(ConnectionHandler.java:59)
at org.openconcerto.sql.model.SQLDataSource.useConnection(SQLDataSource.java:887)
at org.openconcerto.sql.model.SQLDataSource.useConnection(SQLDataSource.java:851)
at org.openconcerto.sql.utils.SQLUtils.executeAtomic(SQLUtils.java:127)
at org.openconcerto.sql.utils.SQLUtils.executeAtomic(SQLUtils.java:99)
at org.openconcerto.sql.utils.SQLUtils.executeAtomic(SQLUtils.java:79)
at org.openconcerto.erp.config.InstallationPanel.updateDatabase(InstallationPanel.java:4598)
... 2 more
Caused by: org.h2.jdbc.JdbcSQLException: Duplicate column name "HEURE_CHOM_CUMUL_VAL"; SQL statement:
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_CHOM_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_INDEM_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_BRUT_SECU_PAS_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "FRAIS_PRO_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_NET_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_NET_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_CHOM_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "TAUX_CHOM_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "FRAIS_PRO_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_INDEM_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_200_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_TRAV_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "ECRETEMENT_CSG_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "TAUX_CHOM_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_BRUT_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "RBT_TRANSPORT_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "TAUX_CHOM_CUMUL_VAL_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "IJSS_BRUT_SECU_PAS_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "ECRETEMENT_CSG_CUMUL_VAL_CUMUL_VAL" real DEFAULT 0;
ALTER TABLE "OpenConcerto48"."VARIABLE_SALARIE" ADD "HEURE_150_CUMUL_VAL" real DEFAULT 0; [42121-175]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:332)
at org.h2.message.DbException.get(DbException.java:172)
at org.h2.message.DbException.get(DbException.java:149)
at org.h2.table.Table.setColumns(Table.java:394)
at org.h2.table.TableBase.<init>(TableBase.java:44)
at org.h2.table.RegularTable.<init>(RegularTable.java:75)
at org.h2.schema.Schema.createTable(Schema.java:586)
at org.h2.command.ddl.AlterTableAlterColumn.cloneTableStructure(AlterTableAlterColumn.java:311)
at org.h2.command.ddl.AlterTableAlterColumn.copyData(AlterTableAlterColumn.java:220)
at org.h2.command.ddl.AlterTableAlterColumn.update(AlterTableAlterColumn.java:156)
at org.h2.command.CommandContainer.update(CommandContainer.java:79)
at org.h2.command.Command.executeUpdate(Command.java:253)
at org.h2.command.CommandList.update(CommandList.java:43)
at org.h2.command.CommandList.executeRemaining(CommandList.java:37)
at org.h2.command.CommandList.update(CommandList.java:44)
at org.h2.command.CommandList.executeRemaining(CommandList.java:37)
at org.h2.command.CommandList.update(CommandList.java:44)
at org.h2.command.CommandList.executeRemaining(CommandList.java:37)
at org.h2.command.CommandList.update(CommandList.java:44)
at org.h2.command.CommandList.executeRemaining(CommandList.java:37)
at org.h2.command.CommandList.update(CommandList.java:44)
at org.h2.command.CommandList.executeRemaining(CommandList.java:37)
at org.h2.command.CommandList.update(CommandList.java:44)
at org.h2.command.CommandList.executeRemaining(CommandList.java:37)
at org.h2.command.CommandList.update(CommandList.java:44)
at org.h2.command.Command.executeUpdate(Command.java:253)
at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:128)
at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:777)
at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:323)
at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:1166)
at org.openconcerto.sql.model.SQLDataSource.executeOnce(SQLDataSource.java:1090)
at org.openconcerto.sql.model.SQLDataSource.executeTwice(SQLDataSource.java:954)
at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:617)
... 16 more