Code : Tout sélectionner
in jdbc:h2:file:/Users/sb4/Dropbox/openconcertodonnées/OpenConcerto
org.openconcerto.utils.ExceptionHandler: Echec de la sauvegarde
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:112)
at org.openconcerto.sql.utils.BackupPanel$2.run(BackupPanel.java:408)
at java.lang.Thread.run(Thread.java:695)
Caused by: java.lang.IllegalStateException: Impossible d'accéder au résultat de backup to '/Users/sb4/Bureau/OpenConcerto/jeudi/Base.zip'
in jdbc:h2:file:/Users/sb4/Dropbox/openconcertodonnées/OpenConcerto
at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:554)
at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:466)
at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:446)
at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:375)
at org.openconcerto.sql.utils.BackupPanel$2.run(BackupPanel.java:327)
... 1 more
Caused by: java.sql.SQLException: second exec failed: General error: "java.lang.NullPointerException"; SQL statement:
backup to '/Users/sb4/Bureau/OpenConcerto/jeudi/Base.zip' [50000-175]
at org.openconcerto.sql.model.SQLDataSource.executeTwice(SQLDataSource.java:844)
at org.openconcerto.sql.model.SQLDataSource.execute(SQLDataSource.java:522)
... 5 more
Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException"; SQL statement:
backup to '/Users/sb4/Bureau/OpenConcerto/jeudi/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:999)
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
J'ai par ailleurs remarqué qu'OpenConcerto ne sait pas très bien gérer les Path MacOS, parfois il double les noms
(genre User/Bureau/Bureau (deux fois bureau)