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

Transaction pipeline finishing with exception #572

Closed
novoj opened this issue May 24, 2024 · 0 comments · Fixed by #573
Closed

Transaction pipeline finishing with exception #572

novoj opened this issue May 24, 2024 · 0 comments · Fixed by #573
Assignees
Labels
bug Something isn't working
Milestone

Comments

@novoj
Copy link
Collaborator

novoj commented May 24, 2024

The problem demonstrated itself by exception:

Error while processing trunk incorporation task for catalog `buga`!
java.lang.NullPointerException: Cannot invoke "io.evitadb.api.requestResponse.transaction.TransactionMutation.getCatalogVersion()" because "lastTransactionMutation" is null
	at io.evitadb.core.transaction.stage.TrunkIncorporationTransactionStage.lambda$commitChangesToSharedCatalog$2(TrunkIncorporationTransactionStage.java:344)
	at io.evitadb.core.Transaction.executeInTransactionIfProvided(Transaction.java:144)
	at io.evitadb.core.Transaction.executeInTransactionIfProvided(Transaction.java:135)
	at io.evitadb.core.transaction.stage.TrunkIncorporationTransactionStage.commitChangesToSharedCatalog(TrunkIncorporationTransactionStage.java:334)
	at io.evitadb.core.transaction.stage.TrunkIncorporationTransactionStage.processTransactions(TrunkIncorporationTransactionStage.java:202)
	at io.evitadb.core.transaction.stage.TrunkIncorporationTransactionStage.handleNext(TrunkIncorporationTransactionStage.java:237)
	at io.evitadb.core.transaction.stage.TrunkIncorporationTransactionStage.handleNext(TrunkIncorporationTransactionStage.java:61)
	at io.evitadb.core.transaction.stage.AbstractTransactionStage.onNext(AbstractTransactionStage.java:98)
	at io.evitadb.core.transaction.stage.AbstractTransactionStage.onNext(AbstractTransactionStage.java:51)
@novoj novoj added the bug Something isn't working label May 24, 2024
@novoj novoj added this to the Beta milestone May 24, 2024
@novoj novoj self-assigned this May 24, 2024
@novoj novoj linked a pull request May 24, 2024 that will close this issue
novoj added a commit that referenced this issue May 24, 2024
…hing-with-exception

fix(#572): NullPointerException in transactional stage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant