Here's a PR that suppresses this warning:

https://github.com/apache/netbeans/pull/8917

> The TL;DR is probably to add ergoloc to the allowed list?

Yes, I reached the same conclusion. There's a new log condition in the PR that 
would occur only if a real icon is ever returned from an ergoloc URL, which is 
not a case we have observed yet.

-- Eirik

From: Neil C Smith <[email protected]>
Date: Monday, October 13, 2025 at 11:39 AM
To: [email protected] <[email protected]>
Subject: Re: "ergoloc" warning messages in my IDE.log
On Mon, 13 Oct 2025 at 16:16, Neil C Smith <[email protected]> wrote:
>
> On Mon, 13 Oct 2025 at 16:05, Eirik Bakke <[email protected]> wrote:
> > It's a benign warning, intended to inform the NetBeans developers of the 
> > various ways in which ImageUtilities.loadImage(URI) is being called. See 
> > https://github.com/apache/netbeans/pull/8239 . The log message could 
> > probably be suppressed in this case (after first reviewing what exactly 
> > "ergoloc" means).
> >
> > Do you have a reliable way of causing this warning to appear?
>
> It's from ergonomics.  Just run from a clean userdir and create a new
> Maven project, for example.

I actually see this with every opened Maven project on my day-to-day
NetBeans installation.

You picked up on it here too -
https://github.com/apache/netbeans/pull/8239#issuecomment-2654826772

I suspect why this is often the only file that logs this by default is
that the template is listed at
https://github.com/apache/netbeans/blob/master/java/maven/src/org/netbeans/modules/maven/queries/RecommendedTemplatesImpl.java#L56
 With the enterprise cluster disabled, it's probably grabbing the icon
via ergonomics to build the project menu?

The TL;DR is probably to add ergoloc to the allowed list?

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Reply via email to