Skip to content

Many "Project initialization requested" Notifications during startup #9823

Todo

Description

@errael

Apache NetBeans version

Apache NetBeans 32

What happened

Once and a while (it's ergonomics) after startup I get several Notifications (see attached png). The Notifications ask if some named project should be initialized. A lot of them are NB modules. None of them are from projects in the Projects window. For me, the biggest problem is that I have no idea how it found these projects or why it wants to initialize them.

They may be referenced from old project groups that are out of date. I start up NB in the root of a maven multi-module project.

If the Notification indicated why/where/how I could clean things up. I couldn't find anything in messages.log that seemed related.

@jtulach The message was introduced in

user:        Jaroslav Tulach <[email protected]>
date:        Tue Sep 29 17:25:16 2026 +0200
summary:     Ergonomics detect missing support for apisupport projects
ProjectInitializationRequested

Language / Project Type / NetBeans Component

ergonomics and automatic project detection

How to reproduce

Intermittent. Happens at startup.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Linux harmony 7.2.15-76070215-generic #202611011338179495666024.04~3bf1542 SMP PREEMPT_DYNAMIC Tue N x86_64 x86_64 x86_64 GNU/Linux

JDK

Java: 27.0.1.0.3; OpenJDK 64-Bit Server VM 27.0.1.0.3+1-2 Runtime: OpenJDK Runtime Environment 27.0.1.0.3+1-2

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

Activity

  1. added
    kind:bug
    needs:triage
    on Nov 22, 2026
  2. self-assigned this
    on Nov 28, 2026
  3. jtulach commented on Nov 28, 2026

    @jtulach
    Contributor

    Hello Ernie, I'd say we have just discovered the reason why your NetBeans can be sluggish! If those NetBeans projects are being discovered, then your IDE is certainly spending time to process them. If you avoid it, then your IDE will be more focused on projects you really want to work with...

    I have no idea how it found these projects or why it wants to initialize them.

    • The problem is that the Project Initialization Requested has little knowledge of that either!
    • It only knows the stacktrace of the caller - see here
    • At that moment we see deduce "who" and maybe even answer "why", but ...
    • ... that requires running NetBeans under debugger on your computer or putting new Exception("How and Why?).printStackTrace() at this line

    Try it and let me know your findings.

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

Metadata

Metadata

Assignees

Labels

kind:bugneeds:triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions