dbptk-developer
dbptk-developer copied to clipboard
NPE when executing query
Context:
- MSSQL Server
- DBPTK Developer 3.0.1
- Import-config to SIARD-2
NPE when the server principal "Y" is not able to access the database "X" under the current security context.
2025-01-13 09:44:07,236 [main] ERROR (c.d.Main) Fatal error: Unexpected exception (Cannot invoke "Object.getClass()" because the return value of "com.databasepreservation.model.exception.ModuleException.getCause()" is null)
java.lang.NullPointerException: Cannot invoke "Object.getClass()" because the return value of "com.databasepreservation.model.exception.ModuleException.getCause()" is null
at [com.databasepreservation.modules.jdbc.in](http://com.databasepreservation.modules.jdbc.in/).JDBCImportModule.migrateDatabaseTo(JDBCImportModule.java:2113)
at com.databasepreservation.DatabaseMigration.migrate(DatabaseMigration.java:123)
at com.databasepreservation.Main.runMigration(Main.java:295)
at com.databasepreservation.Main.internalMain(Main.java:125)
at com.databasepreservation.Main.main(Main.java:81)