dbptk-developer icon indicating copy to clipboard operation
dbptk-developer copied to clipboard

IllegalStateException

Open andreaskring opened this issue 7 years ago • 1 comments

Description: An IllegalStateException is thrown in the end of the extraction process when extracting from PostgreSQL to SIARD 2.0 (the process seemed to finish though and a siard file was created). The error:

Exception in thread "Thread-0" java.lang.IllegalStateException: A PathInputStreamProvider was cleaned by a shutdown hook. Path: /tmp/dbptk4348266995849841762lob
    at com.databasepreservation.common.PathInputStreamProvider$1.run(PathInputStreamProvider.java:75)

Steps required to reproduce the bug:

  1. java -jar dbptk-app-2.0.0-SNAPSHOT.jar -i postgresql -ih localhost -idb demo -iu andreas -ip <secret> -ide -e siard-2 -ef /tmp/siard2.zip

The error occurred after merging the latest changes from master into my local branch, i.e. the changes from #266

There are no errors in the dbptk-app.log.txt file.

andreaskring avatar Sep 28 '16 06:09 andreaskring