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

Auto Compile often times breaks the shown compilations #68

Open
NiklasRentzCAU opened this issue Apr 20, 2023 · 0 comments
Open

Auto Compile often times breaks the shown compilations #68

NiklasRentzCAU opened this issue Apr 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@NiklasRentzCAU
Copy link
Member

Compiling any SCChart, turning "Set auto-compile to" true and modifying and saving the diagram sometimes causes the compiler view to not show any compilation steps anymore and the server throws a bunch of errors. Some examples from the log after a single modification:

java.util.ConcurrentModificationException
	at java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1043)
	at java.base/java.util.ArrayList$Itr.next(ArrayList.java:997)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:134)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:40)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:141)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:40)
	at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:69)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:127)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:245)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:139)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:40)
	at com.google.gson.Gson.toJson(Gson.java:735)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.write(MessageTypeAdapter.java:434)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.write(MessageTypeAdapter.java:55)
	at com.google.gson.Gson.toJson(Gson.java:735)
	at com.google.gson.Gson.toJson(Gson.java:714)
	at org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler.serialize(MessageJsonHandler.java:145)
	at org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler.serialize(MessageJsonHandler.java:140)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:59)
	at org.eclipse.lsp4j.jsonrpc.validation.ReflectiveMessageValidator.consume(ReflectiveMessageValidator.java:68)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.notify(RemoteEndpoint.java:126)
	at org.eclipse.lsp4j.jsonrpc.services.EndpointProxy.invoke(EndpointProxy.java:88)
	at com.sun.proxy.$Proxy40.compile(Unknown Source)
	at de.cau.cs.kieler.kicool.ide.language.server.KiCoolLanguageServerExtension.lambda$5(KiCoolLanguageServerExtension.java:522)
	at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:753)
	at java.base/java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:731)
	at java.base/java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:2108)
	at de.cau.cs.kieler.kicool.ide.language.server.KiCoolLanguageServerExtension.update(KiCoolLanguageServerExtension.java:529)
	at de.cau.cs.kieler.kicool.ide.language.server.KeithCompilationUpdater.update(KeithCompilationUpdater.java:132)
	at de.cau.cs.kieler.kicool.ide.language.server.KeithCompilationUpdater.update(KeithCompilationUpdater.java:46)
	at java.base/java.util.Observable.notifyObservers(Observable.java:173)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.notify(CompilationContext.java:511)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:304)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:731)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compile(CompilationContext.java:224)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compile(CompilationContext.java:207)
	at de.cau.cs.kieler.kicool.ide.language.server.CompilationThread.run(CompilationThread.java:37)

Apr 20, 2023 3:57:07 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint notify
WARNING: Failed to send notification message.
java.util.ConcurrentModificationException
	at java.base/java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:970)
	at java.base/java.util.LinkedList$ListItr.next(LinkedList.java:892)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:134)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:40)
	at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:69)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:127)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:245)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:139)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:40)
	at com.google.gson.Gson.toJson(Gson.java:735)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.write(MessageTypeAdapter.java:434)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.write(MessageTypeAdapter.java:55)
	at com.google.gson.Gson.toJson(Gson.java:735)
	at com.google.gson.Gson.toJson(Gson.java:714)
	at org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler.serialize(MessageJsonHandler.java:145)
	at org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler.serialize(MessageJsonHandler.java:140)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:59)
	at org.eclipse.lsp4j.jsonrpc.validation.ReflectiveMessageValidator.consume(ReflectiveMessageValidator.java:68)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.notify(RemoteEndpoint.java:126)
	at org.eclipse.lsp4j.jsonrpc.services.EndpointProxy.invoke(EndpointProxy.java:88)
	at com.sun.proxy.$Proxy40.compile(Unknown Source)
	at de.cau.cs.kieler.kicool.ide.language.server.KiCoolLanguageServerExtension.lambda$5(KiCoolLanguageServerExtension.java:522)
	at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:753)
	at java.base/java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:731)
	at java.base/java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:2108)
	at de.cau.cs.kieler.kicool.ide.language.server.KiCoolLanguageServerExtension.update(KiCoolLanguageServerExtension.java:529)
	at de.cau.cs.kieler.kicool.ide.language.server.KeithCompilationUpdater.update(KeithCompilationUpdater.java:132)
	at de.cau.cs.kieler.kicool.ide.language.server.KeithCompilationUpdater.update(KeithCompilationUpdater.java:46)
	at java.base/java.util.Observable.notifyObservers(Observable.java:173)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.notify(CompilationContext.java:511)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:304)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:731)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compile(CompilationContext.java:224)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compile(CompilationContext.java:207)
	at de.cau.cs.kieler.kicool.ide.language.server.CompilationThread.run(CompilationThread.java:37)

Apr 20, 2023 3:57:07 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint notify
WARNING: Failed to send notification message.
java.util.ConcurrentModificationException
	at java.base/java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:970)
	at java.base/java.util.LinkedList$ListItr.next(LinkedList.java:892)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:134)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:40)
	at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:69)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:127)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:245)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:139)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:40)
	at com.google.gson.Gson.toJson(Gson.java:735)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.write(MessageTypeAdapter.java:434)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.write(MessageTypeAdapter.java:55)
	at com.google.gson.Gson.toJson(Gson.java:735)
	at com.google.gson.Gson.toJson(Gson.java:714)
	at org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler.serialize(MessageJsonHandler.java:145)
	at org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler.serialize(MessageJsonHandler.java:140)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:59)
	at org.eclipse.lsp4j.jsonrpc.validation.ReflectiveMessageValidator.consume(ReflectiveMessageValidator.java:68)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.notify(RemoteEndpoint.java:126)
	at org.eclipse.lsp4j.jsonrpc.services.EndpointProxy.invoke(EndpointProxy.java:88)
	at com.sun.proxy.$Proxy40.compile(Unknown Source)
	at de.cau.cs.kieler.kicool.ide.language.server.KiCoolLanguageServerExtension.lambda$5(KiCoolLanguageServerExtension.java:522)
	at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:753)
	at java.base/java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:731)
	at java.base/java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:2108)
	at de.cau.cs.kieler.kicool.ide.language.server.KiCoolLanguageServerExtension.update(KiCoolLanguageServerExtension.java:529)
	at de.cau.cs.kieler.kicool.ide.language.server.KeithCompilationUpdater.update(KeithCompilationUpdater.java:132)
	at de.cau.cs.kieler.kicool.ide.language.server.KeithCompilationUpdater.update(KeithCompilationUpdater.java:46)
	at java.base/java.util.Observable.notifyObservers(Observable.java:173)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.notify(CompilationContext.java:511)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:304)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:731)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compile(CompilationContext.java:224)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compile(CompilationContext.java:207)
	at de.cau.cs.kieler.kicool.ide.language.server.CompilationThread.run(CompilationThread.java:37)

Apr 20, 2023 3:57:07 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint notify
WARNING: Failed to send notification message.
java.util.ConcurrentModificationException
	at java.base/java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:970)
	at java.base/java.util.LinkedList$ListItr.next(LinkedList.java:892)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:134)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:40)
	at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:69)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:127)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:245)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:139)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:40)
	at com.google.gson.Gson.toJson(Gson.java:735)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.write(MessageTypeAdapter.java:434)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.write(MessageTypeAdapter.java:55)
	at com.google.gson.Gson.toJson(Gson.java:735)
	at com.google.gson.Gson.toJson(Gson.java:714)
	at org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler.serialize(MessageJsonHandler.java:145)
	at org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler.serialize(MessageJsonHandler.java:140)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:59)
	at org.eclipse.lsp4j.jsonrpc.validation.ReflectiveMessageValidator.consume(ReflectiveMessageValidator.java:68)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.notify(RemoteEndpoint.java:126)
	at org.eclipse.lsp4j.jsonrpc.services.EndpointProxy.invoke(EndpointProxy.java:88)
	at com.sun.proxy.$Proxy40.compile(Unknown Source)
	at de.cau.cs.kieler.kicool.ide.language.server.KiCoolLanguageServerExtension.lambda$5(KiCoolLanguageServerExtension.java:522)
	at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:753)
	at java.base/java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:731)
	at java.base/java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:2108)
	at de.cau.cs.kieler.kicool.ide.language.server.KiCoolLanguageServerExtension.update(KiCoolLanguageServerExtension.java:529)
	at de.cau.cs.kieler.kicool.ide.language.server.KeithCompilationUpdater.update(KeithCompilationUpdater.java:132)
	at de.cau.cs.kieler.kicool.ide.language.server.KeithCompilationUpdater.update(KeithCompilationUpdater.java:46)
	at java.base/java.util.Observable.notifyObservers(Observable.java:173)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.notify(CompilationContext.java:511)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:304)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:731)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compile(CompilationContext.java:224)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compile(CompilationContext.java:207)
	at de.cau.cs.kieler.kicool.ide.language.server.CompilationThread.run(CompilationThread.java:37)

Apr 20, 2023 3:57:07 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint notify
WARNING: Failed to send notification message.
java.util.ConcurrentModificationException
	at java.base/java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:970)
	at java.base/java.util.LinkedList$ListItr.next(LinkedList.java:892)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:134)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:40)
	at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:69)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:127)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:245)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:139)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:40)
	at com.google.gson.Gson.toJson(Gson.java:735)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.write(MessageTypeAdapter.java:434)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.write(MessageTypeAdapter.java:55)
	at com.google.gson.Gson.toJson(Gson.java:735)
	at com.google.gson.Gson.toJson(Gson.java:714)
	at org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler.serialize(MessageJsonHandler.java:145)
	at org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler.serialize(MessageJsonHandler.java:140)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:59)
	at org.eclipse.lsp4j.jsonrpc.validation.ReflectiveMessageValidator.consume(ReflectiveMessageValidator.java:68)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.notify(RemoteEndpoint.java:126)
	at org.eclipse.lsp4j.jsonrpc.services.EndpointProxy.invoke(EndpointProxy.java:88)
	at com.sun.proxy.$Proxy40.compile(Unknown Source)
	at de.cau.cs.kieler.kicool.ide.language.server.KiCoolLanguageServerExtension.lambda$5(KiCoolLanguageServerExtension.java:522)
	at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:753)
	at java.base/java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:731)
	at java.base/java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:2108)
	at de.cau.cs.kieler.kicool.ide.language.server.KiCoolLanguageServerExtension.update(KiCoolLanguageServerExtension.java:529)
	at de.cau.cs.kieler.kicool.ide.language.server.KeithCompilationUpdater.update(KeithCompilationUpdater.java:132)
	at de.cau.cs.kieler.kicool.ide.language.server.KeithCompilationUpdater.update(KeithCompilationUpdater.java:46)
	at java.base/java.util.Observable.notifyObservers(Observable.java:173)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.notify(CompilationContext.java:511)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:304)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:731)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compile(CompilationContext.java:224)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compile(CompilationContext.java:207)
	at de.cau.cs.kieler.kicool.ide.language.server.CompilationThread.run(CompilationThread.java:37)

Apr 20, 2023 3:57:07 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint notify
WARNING: Failed to send notification message.
java.util.ConcurrentModificationException
	at java.base/java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:970)
	at java.base/java.util.LinkedList$ListItr.next(LinkedList.java:892)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:134)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:40)
	at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:69)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:127)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:245)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:139)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:40)
	at com.google.gson.Gson.toJson(Gson.java:735)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.write(MessageTypeAdapter.java:434)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.write(MessageTypeAdapter.java:55)
	at com.google.gson.Gson.toJson(Gson.java:735)
	at com.google.gson.Gson.toJson(Gson.java:714)
	at org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler.serialize(MessageJsonHandler.java:145)
	at org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler.serialize(MessageJsonHandler.java:140)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:59)
	at org.eclipse.lsp4j.jsonrpc.validation.ReflectiveMessageValidator.consume(ReflectiveMessageValidator.java:68)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.notify(RemoteEndpoint.java:126)
	at org.eclipse.lsp4j.jsonrpc.services.EndpointProxy.invoke(EndpointProxy.java:88)
	at com.sun.proxy.$Proxy40.compile(Unknown Source)
	at de.cau.cs.kieler.kicool.ide.language.server.KiCoolLanguageServerExtension.lambda$5(KiCoolLanguageServerExtension.java:522)
	at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:753)
	at java.base/java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:731)
	at java.base/java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:2108)
	at de.cau.cs.kieler.kicool.ide.language.server.KiCoolLanguageServerExtension.update(KiCoolLanguageServerExtension.java:529)
	at de.cau.cs.kieler.kicool.ide.language.server.KeithCompilationUpdater.update(KeithCompilationUpdater.java:132)
	at de.cau.cs.kieler.kicool.ide.language.server.KeithCompilationUpdater.update(KeithCompilationUpdater.java:46)
	at java.base/java.util.Observable.notifyObservers(Observable.java:173)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.notify(CompilationContext.java:511)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:304)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:731)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compile(CompilationContext.java:224)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compile(CompilationContext.java:207)
	at de.cau.cs.kieler.kicool.ide.language.server.CompilationThread.run(CompilationThread.java:37)

Apr 20, 2023 3:57:07 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint notify
WARNING: Failed to send notification message.
java.util.ConcurrentModificationException
	at java.base/java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:970)
	at java.base/java.util.LinkedList$ListItr.next(LinkedList.java:892)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:134)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:40)
	at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:69)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:127)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:245)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:139)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.write(CollectionTypeAdapter.java:40)
	at com.google.gson.Gson.toJson(Gson.java:735)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.write(MessageTypeAdapter.java:434)
	at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.write(MessageTypeAdapter.java:55)
	at com.google.gson.Gson.toJson(Gson.java:735)
	at com.google.gson.Gson.toJson(Gson.java:714)
	at org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler.serialize(MessageJsonHandler.java:145)
	at org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler.serialize(MessageJsonHandler.java:140)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:59)
	at org.eclipse.lsp4j.jsonrpc.validation.ReflectiveMessageValidator.consume(ReflectiveMessageValidator.java:68)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.notify(RemoteEndpoint.java:126)
	at org.eclipse.lsp4j.jsonrpc.services.EndpointProxy.invoke(EndpointProxy.java:88)
	at com.sun.proxy.$Proxy40.compile(Unknown Source)
	at de.cau.cs.kieler.kicool.ide.language.server.KiCoolLanguageServerExtension.lambda$5(KiCoolLanguageServerExtension.java:522)
	at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:753)
	at java.base/java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:731)
	at java.base/java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:2108)
	at de.cau.cs.kieler.kicool.ide.language.server.KiCoolLanguageServerExtension.update(KiCoolLanguageServerExtension.java:529)
	at de.cau.cs.kieler.kicool.ide.language.server.KeithCompilationUpdater.update(KeithCompilationUpdater.java:108)
	at de.cau.cs.kieler.kicool.ide.language.server.KeithCompilationUpdater.update(KeithCompilationUpdater.java:46)
	at java.base/java.util.Observable.notifyObservers(Observable.java:173)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.notify(CompilationContext.java:511)
	at de.cau.cs.kieler.kicool.compilation.Processor.snapshot(Processor.java:228)
	at de.cau.cs.kieler.kicool.compilation.Processor.snapshot(Processor.java:238)
	at de.cau.cs.kieler.kicool.compilation.Processor.executeCoProcessor(Processor.java:188)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.executeCoProcessors(CompilationContext.java:658)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:289)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:731)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext._compileEntry(CompilationContext.java:323)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compileEntry(CompilationContext.java:729)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compile(CompilationContext.java:224)
	at de.cau.cs.kieler.kicool.compilation.CompilationContext.compile(CompilationContext.java:207)
	at de.cau.cs.kieler.kicool.ide.language.server.CompilationThread.run(CompilationThread.java:37)
@NiklasRentzCAU NiklasRentzCAU added the bug Something isn't working label Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant