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

Exception while rendering recommendations #4476

Closed
reckart opened this issue Jan 28, 2024 · 0 comments
Closed

Exception while rendering recommendations #4476

reckart opened this issue Jan 28, 2024 · 0 comments
Assignees
Labels
🐛Bug Something isn't working Module: Recommender
Milestone

Comments

@reckart
Copy link
Member

reckart commented Jan 28, 2024

Describe the bug
There can be an exception in the OverlapIterator while rendering recommendations.

To Reproduce
Unclear - found in logs.

Expected behavior
No exception.

Screenshots

java.lang.NullPointerException: Cannot invoke "de.tudarmstadt.ukp.inception.recommendation.api.model.Offset.getEnd()" because "this.a" is null
	at de.tudarmstadt.ukp.inception.recommendation.util.OverlapIterator.stepB(OverlapIterator.java:94)
	at de.tudarmstadt.ukp.inception.recommendation.util.OverlapIterator.step(OverlapIterator.java:112)
	at de.tudarmstadt.ukp.inception.recommendation.util.OverlapIterator.<init>(OverlapIterator.java:57)
	at de.tudarmstadt.ukp.inception.recommendation.service.RecommendationServiceImpl.hideSpanSuggestionsThatOverlapWithAnnotations(RecommendationServiceImpl.java:2366)

Please complete the following information:

  • Version and build ID: 30.0
@reckart reckart added 🐛Bug Something isn't working Module: Recommender labels Jan 28, 2024
@reckart reckart added this to the 30.4 milestone Jan 28, 2024
@reckart reckart self-assigned this Jan 28, 2024
reckart added a commit that referenced this issue Jan 28, 2024
- If a is already null, no need to try and comparing against its end position
reckart added a commit that referenced this issue Jan 28, 2024
…-while-rendering-recommendations

#4476 - Exception while rendering recommendations
@reckart reckart closed this as completed Jan 28, 2024
reckart added a commit that referenced this issue Jan 28, 2024
* release/30.x:
  #4476 - Exception while rendering recommendations
reckart added a commit that referenced this issue Jan 28, 2024
* main:
  #4476 - Exception while rendering recommendations
@reckart reckart added this to Kanban Aug 7, 2024
@reckart reckart moved this to 🍹 Done in Kanban Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug Something isn't working Module: Recommender
Projects
Archived in project
Development

No branches or pull requests

1 participant