mbien commented on issue #7760:
URL: https://github.com/apache/netbeans/issues/7760#issuecomment-2357512684

   so there are several variations of this exception in the log
   
   ```
   WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Exception 
while checking cache validity for root: 
file:/C:/Java/Projets/ETPQv3/jhipster_upgrade/src/main/resources/
   org.apache.maven.artifact.InvalidArtifactRTException: For artifact 
{org.springframework.boot:spring-boot-configuration-processor:null:jar}: The 
version cannot be empty.
        at 
org.apache.maven.artifact.DefaultArtifact.validateIdentity(DefaultArtifact.java:162)
        at 
org.apache.maven.artifact.DefaultArtifact.<init>(DefaultArtifact.java:142)
        at 
org.netbeans.modules.maven.api.PluginPropertyUtils.getPluginPathProperty(PluginPropertyUtils.java:812)
        at 
org.netbeans.modules.maven.classpath.AnnotationProcClassPathImpl.getCompileArtifacts(AnnotationProcClassPathImpl.java:94)
        at 
org.netbeans.modules.maven.classpath.AnnotationProcClassPathImpl.createPath(AnnotationProcClassPathImpl.java:67)
        at 
org.netbeans.modules.maven.classpath.AbstractProjectClassPathImpl.getPath(AbstractProjectClassPathImpl.java:153)
        at 
org.netbeans.modules.maven.classpath.AbstractProjectClassPathImpl.getResources(AbstractProjectClassPathImpl.java:144)
        at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
        at 
org.netbeans.modules.maven.classpath.ClassPathProviderImpl$AnnotationPathSelector.getActiveClassPath(ClassPathProviderImpl.java:685)
        at 
org.netbeans.spi.java.classpath.support.MuxClassPathImplementation.getActiveClassPath(MuxClassPathImplementation.java:156)
        at 
org.netbeans.spi.java.classpath.support.MuxClassPathImplementation.getResources(MuxClassPathImplementation.java:89)
        at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
        at 
org.netbeans.api.java.classpath.ClassPath.getRoots(ClassPath.java:248)
        at 
org.netbeans.modules.java.source.indexing.APTUtils.listenOnProcessorPath(APTUtils.java:343)
        at 
org.netbeans.modules.java.source.indexing.APTUtils.listen(APTUtils.java:329)
        at 
org.netbeans.modules.java.source.indexing.APTUtils.create(APTUtils.java:234)
        at 
org.netbeans.modules.java.source.indexing.APTUtils.get(APTUtils.java:181)
        at 
org.netbeans.modules.java.source.indexing.JavaCustomIndexer$MetadataCheck.call(JavaCustomIndexer.java:1499)
        at 
org.netbeans.modules.java.source.indexing.JavaCustomIndexer$MetadataCheck.call(JavaCustomIndexer.java:1486)
   [catch] at 
org.openide.util.RequestProcessor$WaitableCallable.call(RequestProcessor.java:1280)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
        at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1420)
        at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
        at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
        at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2035)
   ```
   
   before that there were some TopComponent persistence exceptions, which are 
_usually_ harmless but they can indicate that a opened project was moved or 
removed and NB can't find it anymore.
   
   Does your project specify an annotation processor somewhere without setting 
the version of that artifact?


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