steelswing commented on issue #3688:
URL: https://github.com/apache/netbeans/issues/3688#issuecomment-3505600489
I found the problem. Module parsing.indexing (Parsing API Indexing)
Class
parsing.indexing\src\org\netbeans\modules\parsing\impl\indexing\RepositoryUpdater.java
The protectedOwners.isEmpty() return false because it contains 'null'
```java
Line ~5954
if (!scheduled && (protectedOwners.isEmpty() || offProtectedMode ==
Thread.currentThread())) {
scheduled = true;
LOGGER.fine("scheduled = true"); //NOI18N
WORKER.submit(this);
}
waitForWork = wait;
```
My solution is probably wrong because I am not familiar with the internal
structure of the IDE, but still it solves this problem.
```java
protectedOwners.removeIf(Objects::isNull); // <-- fix
if (!scheduled && (protectedOwners.isEmpty() || offProtectedMode ==
Thread.currentThread())) {
scheduled = true;
LOGGER.fine("scheduled = true"); //NOI18N
WORKER.submit(this);
}
waitForWork = wait;
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
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