Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error but no line indicators #8181

Open
mclaborn opened this issue Jan 22, 2025 · 1 comment
Open

Compile error but no line indicators #8181

mclaborn opened this issue Jan 22, 2025 · 1 comment
Labels
Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) kind:bug Bug report or fix needs:triage Requires attention from one of the committers

Comments

@mclaborn
Copy link

Apache NetBeans version

Apache NetBeans 24

What happened

Same issue as #7467

Language / Project Type / NetBeans Component

No response

How to reproduce

I tried several ways to get a reproducible case but could not.
Here is a description of what is happening in my current codebase.

public class OrderExportBase {}
public class OrderExport extends OrderExportBase {}
public abstract class OrderExportDIL extends OrderExport {}
public class MMOrderExport extends OrderExportDIL {}

I deleted a private field from OrderExportBase and then followed the errors inside OrderExportBase to remove the getters, setters, etc in OrderExportBase.

On save, the background scanning ran for a while (25 - 20 seconds).

Then an error showed on the tab of OrderExportDIL. OrderExportDIL references the getters and setters I removed. The statements referencing those getters and setters are in italics but there is no error marker in the gutter and no red underline.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Ubuntu 24.04

JDK

17.0.13; OpenJDK 64-Bit Server VM 17.0.13+11-Ubuntu-2ubuntu124.04

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

@mclaborn mclaborn added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Jan 22, 2025
@mclaborn
Copy link
Author

In case it matters the classes in my example are in 3 different projects:
A: OrderExportBase, OrderExport
B: OrderExportDIL
C: MMOrderExport

@mbien mbien added the Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) kind:bug Bug report or fix needs:triage Requires attention from one of the committers
Projects
None yet
Development

No branches or pull requests

2 participants