Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ColdFusion Builder for VSCode output window StackOverflowError

New Here ,
Jul 20, 2023 Jul 20, 2023

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)



 

TOPICS
Builder
1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jul 20, 2023 Jul 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 20, 2023 Jul 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 21, 2023 Jul 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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 21, 2023 Jul 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 26, 2023 Jul 26, 2023

Any joy, @Greg Campbell ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 26, 2023 Jul 26, 2023

Alas, no. I uninstalled my recent extentions (Jupyter note books because I was experimnenting with Python, then I uninstalled and re-installed the Adobe ColdFusion Builder extension. The errors did not come back immediately. Sometimes I feel is a network issue though my company's firewall/VPN but I don't know how to prove that.  See here, as soon as I click to some cfc's this pops up and sometime keeps extending with each character and space typed. I notice the the output window filter (upper right) of Adobe-CFML Language does not alway appear available to select from drop down. But this is where the messsages appear. I suppose I can just close the output window and ignore that something odd is going on.
vscode_cf_builder_err.JPG

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jul 26, 2023 Jul 26, 2023

In my experience, the CF extension does not like UNC paths, so avoid using those and only use mapped drives.

I don't know if you have also bumped into that issue before or not, but it is worth knowing.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 27, 2023 Jul 27, 2023

A search on the web shows that:

  1.  this is not a new issue;
  2.  other Visual Studio Code extensions have had the same issue. See https://www.google.com/search?q=%22Request+textDocument%2FdocumentSymbol+failed%22+%22+Code%3A+-3260... 

 

You should report a Visual Studio Code bug (GitHub login required). When you do, remember to include the full stacktrace

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 28, 2023 Jul 28, 2023

As soon as I placed my issue a person and triage bot closed it. It says to file it under the extension.
/causedByExtension
Closed #189196 as not planned

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 29, 2023 Jul 29, 2023

@Greg Campbell , Following your last message, I also had a look. I found a possible reason why you couldn't create a Visual Studio Code bug ticket. It seems it is the responsibility of the Adobe ColdFusion Builder team to handle the bug. You can verify what I saw.

 

Follow the menu Help > Report Issue and select Adobe Coldfusion Builder. You will get the message:

"The issue reporter is unable to create issues for this extension. Please visit https://www.adobe.com/go/cfb_ext_gs_vscode to report an issue."

 

BKBK_0-1690633408351.png

 

Hence, I would suggest that you report a ColdFusion bug. When you do, the entries would be something like:

Product: ColdFusion,

Version: VSCode 1.0,

Component: CF Builder,

Found In Build: 1.0.469

BKBK_1-1690634193864.png

 

I have assumed that you are using the current Adobe CF Builder version, which is 1.0.469. If you are using an older version, then that is probably the cause of the error. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 29, 2023 Jul 29, 2023

In your bug report, remember to include the stacktrace in full. Preferably as a text-file attachment.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 14, 2023 Sep 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

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 30, 2023 Sep 30, 2023
LATEST

Thank you.   It's been driving me nuts.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources