feat: improve response error exception logs #1473
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Instead of just
!ENTRY org.eclipse.lsp4e 4 0 2025-12-17 09:07:40.931 !MESSAGE Internal error.
Produce an error that contains the internal error, such us
!ENTRY org.eclipse.lsp4e 4 0 2025-12-17 09:21:46.530 !MESSAGE Internal error.(-32603)
java.util.concurrent.CompletionException:
java.lang.NullPointerException: Cannot invoke
"org.eclipse.xtext.nodemodel.INode.getParent()" because "localNode" is null
... (abbreviated) ...
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.NullPointerException: Cannot invoke "org.eclipse.xtext.nodemodel.INode.getParent()" because "localNode" is null
at org.eclipse.xtext.nodemodel.util.NodeModelUtils$Implementation.findLeafNodeAtOffset(NodeModelUtils.java:235)
at org.eclipse.xtext.nodemodel.util.NodeModelUtils.findLeafNodeAtOffset(NodeModelUtils.java:74)
... (abbreviated) ...