question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Class parsing error (codeLens crash)

See original GitHub issue

Following code crashes code helper functions.

Environment
  • Operating System: win 10 21h2 19044.2006
  • JDK version: OpenJDK 64-Bit Server VM Temurin-17.0.4.1+1 (build 17.0.4.1+1, mixed mode, sharing)
  • Visual Studio Code version: 1.71.2
  • Java extension version: latest (v 1.11)
Steps To Reproduce
  1. use code from this gist
  2. extension logs
  3. you should see this: image
Current Result
Expected Result
Additional Informations

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
snjezacommented, Oct 23, 2022

This is an upstream issue. I can reproduce it in Eclipse. See https://github.com/eclipse-jdt/eclipse.jdt.core/issues/488

0reactions
snjezacommented, Oct 23, 2022

A workaround: Replace

public static final PartBuilder<Integer> EMPTY = new PartBuilder<>()

with

public static final PartBuilder<Integer> EMPTY = new PartBuilder<Integer>()
Read more comments on GitHub >

github_iconTop Results From Across the Web

StackOverflowException causes crash in TFS 2013 Update 4 ...
The CodeLens component in TFS causes a StackOverflowException exception, and then causes the crash of IIS worker process "w3wp" in TFS, not Visual...
Read more >
Modify existing CodeLens in VS Code Extension
I could re-parse everything and make my own codelens analysis, but that will take longer than manually checking the scope.
Read more >
Snz - River Thames Conditions - Environment Agency - GOV.UK
Coco ichibanya jakarta halal, Tu chapa en letra, Env dynasty 1 hour, Letuska skoly, Networking crash course in bangalore, Wild at heart telenovela...
Read more >
Visual Studio Tips and Tricks - Unreal Engine Documentation
If you are using another plugin for symbol searching, such as Visual Assist, you can disable the Intellisense database to prevent it from...
Read more >
What's New in Visual Assist - Whole Tomato Software
This release is centered around improvements to Visual Assist's parser. ... NEW Unreal Engine Core Redirect -aware renaming of classes, structs and more....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found