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

NullPointerException when saving new incoming commits #394

Closed
KilianKrause opened this issue Jul 24, 2020 · 1 comment
Closed

NullPointerException when saving new incoming commits #394

KilianKrause opened this issue Jul 24, 2020 · 1 comment

Comments

@KilianKrause
Copy link
Member

Sometimes, when scanning and saving new commits, a NullPointerException is thrown in the CommitAdapter.
This can occur when the daterange of a project is set to something else than null.

Exception in thread "task-1" java.lang.NullPointerException
	at io.reflectoring.coderadar.graph.projectadministration.project.adapter.CommitAdapter.saveFileRenameRelationships(CommitAdapter.java:159)
	at io.reflectoring.coderadar.graph.projectadministration.project.adapter.CommitAdapter.saveCommitAndFileEntities(CommitAdapter.java:349)
	at io.reflectoring.coderadar.graph.projectadministration.project.adapter.CommitAdapter.addCommits(CommitAdapter.java:324)
	at io.reflectoring.coderadar.projectadministration.service.project.ScanProjectScheduler.checkForNewCommits(ScanProjectScheduler.java:177)
	at io.reflectoring.coderadar.projectadministration.service.project.ScanProjectScheduler.lambda$scheduleUpdateTask$0(ScanProjectScheduler.java:132)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
@KilianKrause
Copy link
Member Author

Unfortunately we are not able to reproduce this issue. @jo2 can you reproduce this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants