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

[Bug] error when closing a reopened case #1271

Closed
yorkvik opened this issue Mar 24, 2020 · 1 comment
Closed

[Bug] error when closing a reopened case #1271

yorkvik opened this issue Mar 24, 2020 · 1 comment
Assignees
Labels
bug TheHive4 TheHive4 related issues
Milestone

Comments

@yorkvik
Copy link

yorkvik commented Mar 24, 2020

Getting an error when trying to close a case after reopening it:

[error] o.t.s.m.Database - Exception raised, rollback (Too many elements in result (2 found))

Unable to close the case.

@yorkvik yorkvik added TheHive4 TheHive4 related issues bug labels Mar 24, 2020
@yorkvik
Copy link
Author

yorkvik commented Mar 24, 2020

Full error log:

[error] o.t.s.u.Retry - uncaught error, not retrying
org.thp.scalligraph.InternalError: Too many elements in result (2 found)
	at org.thp.scalligraph.steps.BaseTraversal.atMostOneOf(BaseTraversal.scala:48)
	at org.thp.scalligraph.steps.BaseTraversal.atMostOneOf$(BaseTraversal.scala:45)
	at org.thp.scalligraph.steps.BaseElementSteps.atMostOneOf(ModelSteps.scala:34)
	at org.thp.thehive.services.CaseSteps.$anonfun$richCase$2(CaseSrv.scala:523)
	at gremlin.scala.GremlinScala.$anonfun$map$1(GremlinScala.scala:166)
	at org.apache.tinkerpop.gremlin.process.traversal.step.map.LambdaMapStep.map(LambdaMapStep.java:42)
	at org.apache.tinkerpop.gremlin.process.traversal.step.map.MapStep.processNextStart(MapStep.java:37)
	at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:128)
	at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:38)
	at org.apache.tinkerpop.gremlin.process.traversal.Traversal.fill(Traversal.java:180)

@To-om To-om self-assigned this Mar 27, 2020
@To-om To-om added this to the 4.0.0-RC2 milestone Mar 27, 2020
@To-om To-om closed this as completed Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug TheHive4 TheHive4 related issues
Projects
None yet
Development

No branches or pull requests

2 participants