We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When applying a quick fix in the editor:
I get an IllegalArgumentException:
!ENTRY org.eclipse.core.jobs 4 2 2023-03-29 17:21:37.910 !MESSAGE An internal error occurred during: "apply resolution - change 'typedef struct{ …' to 'using data = struct{ …'". !STACK 0 java.lang.IllegalArgumentException at org.eclipse.ui.ide.IDE.openEditor(IDE.java:572) at org.eclipse.lsp4e.LSPEclipseUtils.openEditor(LSPEclipseUtils.java:749) at org.eclipse.lsp4e.LSPEclipseUtils.openFileLocationInEditor(LSPEclipseUtils.java:708) at org.eclipse.lsp4e.LSPEclipseUtils.open(LSPEclipseUtils.java:624) at org.eclipse.lsp4e.LSPEclipseUtils.open(LSPEclipseUtils.java:610) at org.eclipse.lsp4e.LSPEclipseUtils.open(LSPEclipseUtils.java:606) at org.eclipse.lsp4e.LSPEclipseUtils.lambda$1(LSPEclipseUtils.java:866) at java.base/java.util.Optional.ifPresent(Optional.java:178) at org.eclipse.lsp4e.LSPEclipseUtils.applyWorkspaceEdit(LSPEclipseUtils.java:862) at org.eclipse.lsp4e.operations.codeactions.CodeActionMarkerResolution.run(CodeActionMarkerResolution.java:66) at org.eclipse.ui.internal.genericeditor.markers.MarkerInformationControl$1$1.run(MarkerInformationControl.java:141) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
The reason is that the page returned by UI.getActivePage() in org.eclipse.lsp4e.LSPEclipseUtils.open(String, Range) is null
UI.getActivePage()
org.eclipse.lsp4e.LSPEclipseUtils.open(String, Range)
The text was updated successfully, but these errors were encountered:
Run open in UIJob (eclipse-lsp4e#579)
e3b3de7
Fix for IllegalArgumentException when applying fix eclipse-lsp4e#579
76c256a
Resolved by #612
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
When applying a quick fix in the editor:
![image](https://user-images.githubusercontent.com/123444711/228588359-653b9315-db57-4a3c-94c1-3efea3b94c2f.png)
I get an IllegalArgumentException:
The reason is that the page returned by
UI.getActivePage()
inorg.eclipse.lsp4e.LSPEclipseUtils.open(String, Range)
is nullThe text was updated successfully, but these errors were encountered: