groovy-language-server
                                
                                 groovy-language-server copied to clipboard
                                
                                    groovy-language-server copied to clipboard
                            
                            
                            
                        NullPointerException in logging when traceing is turned on
I see this often and it will sometimes cause the server to restart.
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67)
	at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.notify(GenericEndpoint.java:152)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleNotification(RemoteEndpoint.java:220)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:187)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
	at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
	... 11 more
Caused by: java.lang.NullPointerException
	at net.prominic.groovyls.config.CompilationUnitFactory.getClasspathList(CompilationUnitFactory.java:140)
	at net.prominic.groovyls.config.CompilationUnitFactory.getConfiguration(CompilationUnitFactory.java:117)
	at net.prominic.groovyls.config.CompilationUnitFactory.create(CompilationUnitFactory.java:65)
	at net.prominic.groovyls.GroovyServices.createOrUpdateCompilationUnit(GroovyServices.java:408)
	at net.prominic.groovyls.GroovyServices.compileAndVisitAST(GroovyServices.java:431)
	at net.prominic.groovyls.GroovyServices.didOpen(GroovyServices.java:139)
	... 15 more
This could have something to do with the changes I made it my fork. I will investigate soon I hope.