Skip to content

VanillaCompilerWorker throws NPE in (aono) ThreePathScanner visitNewClass #8699

@homberghp

Description

@homberghp

Apache NetBeans version

Apache NetBeans 26

What happened

While opening a NetBeans module with NetBeans, you get an error bulb in the status line.
The stacktrace included in the report mentions that nc.clazz.type is null in that case.

Language / Project Type / NetBeans Component

java source base

How to reproduce

Open a NetBeans module.

Did this work correctly in an earlier version?

No / Don't know

Operating System

ubuntu 24.04

JDK

jdk 17 & 21

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

Should add stack trace, but lost that after analyzing.

Are you willing to submit a pull request?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)kind:bugBug report or fixneeds:triageRequires attention from one of the committers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions