vieiro commented on issue #4084:
URL: https://github.com/apache/netbeans/issues/4084#issuecomment-1122419695

   Verified: this happens on Windows, on a brand new Maven/NetBeans 
installation.
   
   I get this exception...
   
   ```
   WARNING [null]: Last record repeated 3 more times.
   INFO [org.netbeans.ui.indexing]: Indexing started, time from last indexing 
5.131 ms.
   SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
org.netbeans.modules.maven.apisupport.OpenBrandingEditorAction$1
   java.lang.NullPointerException
        at 
org.netbeans.modules.maven.apisupport.OpenBrandingEditorAction$1.run(OpenBrandingEditorAction.java:91)
        at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
        at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
        at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
   [catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
   ```
   
   ... but once all Maven artifacts are downloaded (and after one minute or 
so?), and with this exception in between:
   
   ```
   SCAN_EXCEEDS_RATE ID: 61, Type:PATH
   Time scheduled: Tue May 10 15:42:17 CEST 2022
   Time executed: Tue May 10 15:42:17 CEST 2022
   Time finished: Tue May 10 15:42:17 CEST 2022
   Scanned roots: []
   , total time: 0
   Current root(s): []
   Current indexer(s): 
   Time spent in indexers:
   Time spent in indexers, in individual roots:
   Time in index store: 0
   Time crawling: 0
   Stacktrace:
        java.base/java.lang.Thread.getStackTrace(Thread.java:1602)
        
org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:111)
        
org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:102)
        
org.netbeans.modules.parsing.impl.indexing.PathRegistry.scheduleFirer(PathRegistry.java:936)
        
org.netbeans.modules.parsing.impl.indexing.PathRegistry.resetCacheAndFire(PathRegistry.java:929)
        
org.netbeans.modules.parsing.impl.indexing.PathRegistry.access$500(PathRegistry.java:68)
        
org.netbeans.modules.parsing.impl.indexing.PathRegistry$Listener.stateChanged(PathRegistry.java:1265)
        org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:108)
        org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:94)
        
org.netbeans.api.java.queries.SourceForBinaryQuery$Result2$1.stateChanged(SourceForBinaryQuery.java:182)
        
org.openide.util.WeakListenerImpl$Change.stateChanged(WeakListenerImpl.java:331)
        org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:108)
        org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:94)
        
org.netbeans.modules.maven.queries.RepositoryForBinaryQueryImpl$SrcResult.checkChanges(RepositoryForBinaryQueryImpl.java:411)
        
org.netbeans.modules.maven.queries.RepositoryForBinaryQueryImpl$SrcResult.access$300(RepositoryForBinaryQueryImpl.java:288)
        
org.netbeans.modules.maven.queries.RepositoryForBinaryQueryImpl$SrcResult$1.run(RepositoryForBinaryQueryImpl.java:328)
        org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
        
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
        org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
        
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
   SCAN_EXCEEDS_RATE ID: 62, Type:PATH
   Time scheduled: Tue May 10 15:42:18 CEST 2022
   Time executed: Tue May 10 15:42:19 CEST 2022
   Time finished: Tue May 10 15:42:19 CEST 2022
   Scanned roots: []
   , total time: 0
   Current root(s): []
   Current indexer(s): 
   Time spent in indexers:
   Time spent in indexers, in individual roots:
   Time in index store: 0
   Time crawling: 0
   Stacktrace:
        java.base/java.lang.Thread.getStackTrace(Thread.java:1602)
        
org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:111)
        
org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:102)
        
org.netbeans.modules.parsing.impl.indexing.PathRegistry.scheduleFirer(PathRegistry.java:936)
        
org.netbeans.modules.parsing.impl.indexing.PathRegistry.resetCacheAndFire(PathRegistry.java:929)
        
org.netbeans.modules.parsing.impl.indexing.PathRegistry.access$500(PathRegistry.java:68)
        
org.netbeans.modules.parsing.impl.indexing.PathRegistry$Listener.stateChanged(PathRegistry.java:1265)
        org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:108)
        org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:94)
        
org.netbeans.api.java.queries.SourceForBinaryQuery$Result2$1.stateChanged(SourceForBinaryQuery.java:182)
        
org.openide.util.WeakListenerImpl$Change.stateChanged(WeakListenerImpl.java:331)
        org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:108)
        org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:94)
        
org.netbeans.modules.maven.queries.RepositoryForBinaryQueryImpl$SrcResult.checkChanges(RepositoryForBinaryQueryImpl.java:411)
        
org.netbeans.modules.maven.queries.RepositoryForBinaryQueryImpl$SrcResult.access$300(RepositoryForBinaryQueryImpl.java:288)
        
org.netbeans.modules.maven.queries.RepositoryForBinaryQueryImpl$SrcResult$1.run(RepositoryForBinaryQueryImpl.java:328)
        org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
        
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
        org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
        
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
   WARNING [org.netbeans.modules.parsing.impl.indexing.LogContext]: === End 
excessive indexing
   INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: 
Resolving dependencies took: 27 ms
   INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: 
Complete indexing of 0 binary roots took: 0 ms
   INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: 
Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, 
Deleted files: 0) [Adding listeners took: 0 ms]
   INFO [org.netbeans.ui.indexing]: Indexing finished, indexing took 28 ms.
   ```
   
   The branding panel does indeed open. After that opening the branding panel 
does open everytime normally, without delay.
   
   
![imagen](https://user-images.githubusercontent.com/564140/167643368-affd8125-cfa9-4730-90b9-10aa3180bce8.png)
   


-- 
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

Reply via email to