Skip to content

Conversation

@rubenporras
Copy link
Contributor

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) ...

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) ...
@rubenporras rubenporras merged commit 14a6f50 into eclipse-lsp4e:main Dec 17, 2025
11 checks passed
@rubenporras rubenporras deleted the improve_errors branch December 17, 2025 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant