org.h2.jdbc.JdbcSQLException: IO Exception: "java.io.FileNotFoundException: /var/lib/test.sql (Permission denied)"; SQL statement: SCRIPT TO '/var/lib/test.sql' [90028-188]

Stack Overflow | Siva | 5 months ago
  1. 0

    Unable to run org.h2.tools.Script from command line in AUTOSERVER mode

    Stack Overflow | 5 months ago | Siva
    org.h2.jdbc.JdbcSQLException: IO Exception: "java.io.FileNotFoundException: /var/lib/test.sql (Permission denied)"; SQL statement: SCRIPT TO '/var/lib/test.sql' [90028-188]
  2. 0

    Prepare.sh problem

    GitHub | 1 year ago | munichong
    java.io.FileNotFoundException: /Users/cwang/Downloads/wiki2vec-master/data/enwiki-latest.lines (No such file or directory)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 25#127538737

    GitHub | 1 year ago | jovistruck
    java.io.FileNotFoundException: /home/jov/work/vouchers/build/jmeter-report/collapse.jpg (No such file or directory)
  5. 0

    docker:tag fails to find image_info.json if invoked from parent and configured to push

    GitHub | 1 year ago | avallen
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.spotify:docker-maven-plugin:0.3.2:tag (push) on project nextservice: Exception caught

  1. tvrmsmith 1 times, last 6 days ago
  2. eti22 3 times, last 3 weeks ago
  3. tyson925 49 times, last 2 weeks ago
  4. MoYapro 1 times, last 1 month ago
  5. musketyr 3 times, last 1 month ago
24 more registered users
71 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    /var/lib/test.sql (Permission denied)

    at java.io.FileOutputStream.open0()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open0(Native Method)
    2. java.io.FileOutputStream.open(FileOutputStream.java:270)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:213)
    4. java.io.FileOutputStream.<init>(FileOutputStream.java:101)
    4 frames
  3. H2 Database Engine
    TcpServerThread.run
    1. org.h2.store.fs.FilePathDisk.newOutputStream(FilePathDisk.java:290)
    2. org.h2.store.fs.FileUtils.newOutputStream(FileUtils.java:233)
    3. org.h2.command.dml.ScriptBase.openOutput(ScriptBase.java:144)
    4. org.h2.command.dml.ScriptCommand.query(ScriptCommand.java:159)
    5. org.h2.command.CommandContainer.query(CommandContainer.java:90)
    6. org.h2.command.Command.executeQuery(Command.java:197)
    7. org.h2.server.TcpServerThread.process(TcpServerThread.java:320)
    8. org.h2.server.TcpServerThread.run(TcpServerThread.java:159)
    8 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame