problème de sauvegarde

Répondre
erwand2000
Messages : 1
Enregistré le : ven. févr. 12, 2016 6:12 pm

ven. sept. 29, 2023 8:56 am

Bonjour,
Voici l'erreur qui est apparue après une suppression d'une facture.

Echec de la sauvegarde

Impossible d'accéder au résultat de backup to 'C:\Users\erwan\Documents\OpenConcerto\vendredi\Base.zip'
in jdbc:h2:file:F:\erwan\.java\ilm\sql-config\OpenConcerto\DBData/OpenConcerto;DATABASE_TO_UPPER=false
org.openconcerto.utils.ExceptionHandler: Echec de la sauvegarde
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:150)
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:132)
at org.openconcerto.sql.utils.BackupPanel$2.run(BackupPanel.java:410)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Impossible d'accéder au résultat de backup to 'C:\Users\erwan\Documents\OpenConcerto\vendredi\Base.zip'
in jdbc:h2:file:F:\erwan\.java\ilm\sql-config\OpenConcerto\DBData/OpenConcerto;DATABASE_TO_UPPER=false
at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:651)
at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:559)
at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:539)
at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:468)
at org.openconcerto.sql.utils.BackupPanel$2.run(BackupPanel.java:329)
... 1 more
Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException"; SQL statement:
backup to 'C:\Users\erwan\Documents\OpenConcerto\vendredi\Base.zip' [50000-175]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:332)
at org.h2.message.DbException.get(DbException.java:161)
at org.h2.message.DbException.convert(DbException.java:284)
at org.h2.command.Command.executeUpdate(Command.java:261)
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:181)
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:156)
at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
at org.openconcerto.sql.model.SQLDataSource$ExecutorThread.run(SQLDataSource.java:1253)
Caused by: java.lang.NullPointerException
at org.h2.command.dml.BackupCommand.backupTo(BackupCommand.java:86)
at org.h2.command.dml.BackupCommand.update(BackupCommand.java:52)
at org.h2.command.CommandContainer.update(CommandContainer.java:79)
at org.h2.command.Command.executeUpdate(Command.java:253)
... 4 more
Répondre