apache / apache/netbeans

Compile error but no line indicators

Open
#8,181 4 comments 0 reactions 0 assignees View on GitHub
Java kind:bug needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 24

### What happened

Same issue as https://github.com/apache/netbeans/issues/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

Contributor guide

Open the contributing guide

Research direction

The report names no source file, test, or reproducible case. Start by comparing the behavior with issue #7467 and investigate the Java editor/scanning path for OrderExportDIL references; done means unresolved getter and setter references show both red underlines and gutter error markers.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.