Skip to main content
Participating Frequently
July 20, 2023
Question

ColdFusion Builder for VSCode output window StackOverflowError

  • July 20, 2023
  • 3 replies
  • 1879 views

My VS Code extension is functioning OK, but recently I have noticed that as I type each character or move the mouse focus, errors are streamed to the output window under Adobe-CFML Language.
It is not the end of the world, but I don't understand it and would like to address it.

What is the last thing I changed in my VS Code environment. Probably the monthly VS Code version auto-update. And before that I think I installed a Python extension ot play around with.

Has anyone seen this before?
Do you have a way to address it?
Will dropping re-installing the extension help? I'd hate to lose everything about my workspace.


[Error - 11:58:37 AM] Request textDocument/documentSymbol failed.
  Message: Internal error.
  Code: -32603 
java.util.concurrent.CompletionException: java.lang.StackOverflowError
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1702)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1692)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Caused by: java.lang.StackOverflowError
	at java.base/java.util.zip.GZIPInputStream.read(GZIPInputStream.java:118)
	at java.base/java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2915)
	at java.base/java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:3352)
	at java.base/java.io.ObjectInputStream$BlockDataInputStream.readFully(ObjectInputStream.java:3376)
	at java.base/java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2506)
	at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2412)
	at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2250)
	at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1709)
	at java.base/java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2518)



 

This topic has been closed for replies.

3 replies

Participant
September 14, 2023

I belive I have reproduced this error and narrowed it down to cfscripts where there are more than 345 lines of actual code (whitespce not included) ... it will throw the java stackoverflow error.  I have business logic functions in a separate CFM file within a cfscript tag and then cfinclude on the main files.  The Ctrl/Click functionality and such stops working when this happens within VSCode CfBuilder.  You can convert to a component and include it and it seems to work with more than 345 lines of code ... or break the CFM file into multiple files with cfscript and then multiple cfincludes on the main CFM file.  It is easier to convert to component.  I have submitted a ticket with a test file that repeats for me on 3 computers.  https://tracker.adobe.com/#/view/CF-4219340

 

Participant
September 30, 2023

Thank you.   It's been driving me nuts.

BKBK
Community Expert
Community Expert
July 21, 2023

I haven't seen that before. Which other CFML extensions have you enabled on VS Code besides Adobe ColdFusion Builder

 

What I would do is:

  1. uninstall every CFML-related extension;
  2.  install just the minimal set of CFML-related extensions needed.
Participating Frequently
July 21, 2023

I do not have other CFML extension. Regardless, I have uninstalled and re-installed the Adobe CF Builder. I must now re-setup my connections to servers and update all my workspace projects to re-attach the servers to them. I will monitor to see if the errors re-appear. I notice the output window has a filter(?) selector for which extension (Git, Prettier, SFTP, etc) to view. When I have the error it says Adobe-ColdFusion Builder, but now that I have re-installed I don't see it in the list. I think this is something I do not understand about how VS Code works.

BKBK
Community Expert
Community Expert
July 26, 2023

Any joy, @Greg Campbell ?

EddieLotter
Inspiring
July 20, 2023

I don't know what is causing the problem, but does it occur on any document you edit or only on some documents?

 

I also hope you don't have to remove and re-install the extension. It might be worth installing VS Code on another computer and see if you get the same problem there.

Participating Frequently
July 20, 2023

It occurs on all documents. Or at least all documents of CFML type (cfm, cfc). I just tried to re-create the issue and its not happening at the moment. I have seen this before. Eventually something fails (literally says "request failed"), as if an HTML request failed. But this is simply during regular editing.