java.lang.NullPointerException: null
at
org.eclipse.xtext.xtext.XtextValueConverters$1.internalToValue(XtextValueConverters.java:44)
at
org.eclipse.xtext.xtext.XtextValueConverters$1.internalToValue(XtextValueConverters.java:40)
at
org.eclipse.xtext.conversion.impl.AbstractNullSafeConverter.toValue(AbstractNullSafeConverter.java:31)
at
org.eclipse.xtext.conversion.impl.AbstractDeclarativeValueConverterService.toValue(AbstractDeclarativeValueConverterService.java:79)
at
org.eclipse.xtext.ide.serializer.impl.ReferenceUpdater.getQualifiedName(ReferenceUpdater.java:124)
at
org.eclipse.xtext.ide.serializer.impl.ReferenceUpdater.needsUpdating(ReferenceUpdater.java:146)
at
org.eclipse.xtext.ide.serializer.impl.ReferenceUpdater.update(ReferenceUpdater.java:172)
at
org.eclipse.xtext.ide.serializer.impl.RecordingXtextResourceUpdater.applyChange(RecordingXtextResourceUpdater.java:70)
at
org.eclipse.xtext.ide.serializer.impl.ChangeSerializer.endRecordChanges(ChangeSerializer.java:136)
at
org.eclipse.xtext.ide.serializer.impl.ChangeSerializer.applyModifications(ChangeSerializer.java:75)
at
org.eclipse.xtext.ui.editor.quickfix.WorkbenchMarkerResolutionAdapter$1.lambda$1(WorkbenchMarkerResolutionAdapter.java:131)
at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
at
org.eclipse.xtext.ui.editor.quickfix.WorkbenchMarkerResolutionAdapter$1.execute(WorkbenchMarkerResolutionAdapter.java:139)
at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at
org.eclipse.xtext.ui.editor.quickfix.WorkbenchMarkerResolutionAdapter.run(WorkbenchMarkerResolutionAdapter.java:142)
at
org.eclipse.xtext.xtext.ui.editor.quickfix.XtextGrammarQuickfixProviderTest.assertAndApplyAllResolutions(XtextGrammarQuickfixProviderTest.java:172)
at
org.eclipse.xtext.xtext.ui.editor.quickfix.XtextGrammarQuickfixProviderTest.testFixAllEmptyEnumLiteral(XtextGrammarQuickfixProviderTest.java:106)
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
Wrap ZipInputStream in a BufferedInputStream before reading from it with
with a DataInputStream or ObjectInputStream. This improves performance
quite significantly (overall roughly by a factor 4), as the
decompression works much more efficiently with larger chunks of data.
Signed-off-by: Knut Wannheden <knut.wannheden@paranor.ch>
- use one strategy call for all changes
- have a single change type per context
- use changeSerializer.updateRelatedFiles = false for copy refactorings
- load resource, resolve it, change the URI and then startRecording for copy
To navigate the TextReplacers in reverse order, this change introduces a
reversed iterable. Thus, it is no longer necessary to copy all the
TextReplacers into a list for reverse navigation.
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
Exit Notification
A notification to ask the server to exit its process. The server should exit with success code 0 if the shutdown request has been received before; otherwise with error code 1.
Notification:
method: 'exit'
params: void
from
https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md
Signed-off-by: James Tooley <jetter019@msn.com>