Hi,

I get a NullpointerException by using the backup function:

This is all i get in the console:

BACKUP TO 'data.zip';
General error: "java.lang.NullPointerException"; SQL statement:
BACKUP TO 'data.zip' [50000-176] HY000/50000 (Hilfe)
org.h2.jdbc.JdbcSQLException: General error: 
"java.lang.NullPointerException"; SQL statement:
BACKUP TO 'data.zip' [50000-176] 
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:344) 
    at org.h2.message.DbException.get(DbException.java:167) 
    at org.h2.message.DbException.convert(DbException.java:294) 
    at org.h2.command.Command.executeUpdate(Command.java:262) 
    at org.h2.server.TcpServerThread.process(TcpServerThread.java:346) 
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:160) 
    at java.lang.Thread.run(Unknown Source) 
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:254) 
    ... 3 more 

    at org.h2.engine.SessionRemote.done(SessionRemote.java:606) 
    at org.h2.command.CommandRemote.executeUpdate(CommandRemote.java:192) 
    at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:186) 
    at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:160) 
    at org.h2.server.web.WebApp.getResult(WebApp.java:1391) 
    at org.h2.server.web.WebApp.query(WebApp.java:1064) 
    at org.h2.server.web.WebApp$1.next(WebApp.java:1026) 
    at org.h2.server.web.WebApp$1.next(WebApp.java:1013) 
    at org.h2.server.web.WebThread.process(WebThread.java:168) 
    at org.h2.server.web.WebThread.run(WebThread.java:94) 
    at java.lang.Thread.run(Unknown Source) 

Best regards

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to