Skip to content

Encountering a BUG when developing Java with vscode  #1219

Closed

Description

@thomas1984

[provide a description of the issue]

Environment
  • Operating System::Linux x64 5.0.0-37-generic
  • JDK version:1.8.0_201
  • Visual Studio Code version:1.40.1
  • Java extension version:
Steps To Reproduce
  1. [step 1]
    Screenshot from 2019-12-26 11-27-03

  2. [step 2]
    As shown above, the department ID on line 61 of the code prompts an error, but there is actually no error here. The error is that the parenthesis is missing from line 64.I think this is a hint to locate the bug.

  3. [step 3]
    When I remove the parentheses on line 64, the error is no longer prompted

  4. [step 4]
    Screenshot from 2019-12-26 11-48-55

[attach a sample project reproducing the error]
attach logs

Current Result
Expected Result
Additional Informations

Activity

  1. robstryker commented on Oct 29, 2026

    @robstryker
    Contributor

    Parse errors often show up in multiple locations, as a mis-parse in one spot may lead to unexpected symbols elsewhere.

    I can't trace this through, because your file is large, in a screenshot, with no text for me to copy. I'll be closing this as expected behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions