Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE when executing query #638

Open
hmiguim opened this issue Jan 13, 2025 · 0 comments
Open

NPE when executing query #638

hmiguim opened this issue Jan 13, 2025 · 0 comments

Comments

@hmiguim
Copy link
Member

hmiguim commented Jan 13, 2025

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant