You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Luca Mambretti (Jira)" <ji...@apache.org> on 2020/04/09 08:24:00 UTC
[jira] [Updated] (NETBEANS-4134) Maven repository indexing appears
to be broken
[ https://issues.apache.org/jira/browse/NETBEANS-4134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luca Mambretti updated NETBEANS-4134:
-------------------------------------
Description:
During maven indexing test case i got the following message in the messages.log file while manually invoking the maven index function:
The test case I was running is
h1. Set up frequency of index updates II Test Case
during the previous test case there was no indexing activity recorded.
Things worth noting:
# I normally have a mirror for central in my settings.xml file but I've tried removing it with no changes.
# I had a local maven installation setup as for previous test cases, by setting this back to the bundled installation the problem appears to be fixed.
# I've added the following to the conf file to try and see more logs:
-J-Dorg.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.level=400
Following the error message I've got in my messages.log
FINE [org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl]: Indexing Remote Repository: central
INFO [org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl]: could not (re-)index central
java.util.NoSuchElementException
at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:141)
at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:1)
at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)
at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
Caused: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException
role: org.apache.maven.settings.crypto.SettingsDecrypter
roleHint:
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:267)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:249)
at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexLoadedRepo(NexusRepositoryIndexerImpl.java:478)
Caused: java.io.IOException: could not find protocol handler for [https://repo.maven.apache.org/maven2/]
at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexLoadedRepo(NexusRepositoryIndexerImpl.java:609)
at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.access$200(NexusRepositoryIndexerImpl.java:122)
[catch] at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$3.run(NexusRepositoryIndexerImpl.java:659)
at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$3.run(NexusRepositoryIndexerImpl.java:652)
at org.netbeans.modules.openide.util.DefaultMutexImplementation.writeAccess(DefaultMutexImplementation.java:229)
at org.openide.util.Mutex.writeAccess(Mutex.java:246)
at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexRepo(NexusRepositoryIndexerImpl.java:652)
at org.netbeans.modules.maven.indexer.api.RepositoryIndexer.indexRepo(RepositoryIndexer.java:42)
at org.netbeans.modules.maven.ProjectOpenedHookImpl$2.run(ProjectOpenedHookImpl.java:207)
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)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
was:
During maven indexing test case i got the following message in the messages.log file while manually invoking the maven index function:
The test case I was running is
h1. Set up frequency of index updates II Test Case
during the previous test case there was no indexing activity recorded.
Things worth noting:
# I normally have a mirror for central in my settings.xml file but I've tried removing it with no changes.
# I've added the following to the conf file to try and see more logs:
-J-Dorg.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.level=400
Following the error message I've got in my messages.log
FINE [org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl]: Indexing Remote Repository: central
INFO [org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl]: could not (re-)index central
java.util.NoSuchElementException
at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:141)
at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:1)
at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)
at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
Caused: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException
role: org.apache.maven.settings.crypto.SettingsDecrypter
roleHint:
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:267)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:249)
at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexLoadedRepo(NexusRepositoryIndexerImpl.java:478)
Caused: java.io.IOException: could not find protocol handler for https://repo.maven.apache.org/maven2/
at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexLoadedRepo(NexusRepositoryIndexerImpl.java:609)
at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.access$200(NexusRepositoryIndexerImpl.java:122)
[catch] at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$3.run(NexusRepositoryIndexerImpl.java:659)
at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$3.run(NexusRepositoryIndexerImpl.java:652)
at org.netbeans.modules.openide.util.DefaultMutexImplementation.writeAccess(DefaultMutexImplementation.java:229)
at org.openide.util.Mutex.writeAccess(Mutex.java:246)
at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexRepo(NexusRepositoryIndexerImpl.java:652)
at org.netbeans.modules.maven.indexer.api.RepositoryIndexer.indexRepo(RepositoryIndexer.java:42)
at org.netbeans.modules.maven.ProjectOpenedHookImpl$2.run(ProjectOpenedHookImpl.java:207)
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)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> Maven repository indexing appears to be broken
> ----------------------------------------------
>
> Key: NETBEANS-4134
> URL: https://issues.apache.org/jira/browse/NETBEANS-4134
> Project: NetBeans
> Issue Type: Bug
> Components: projects - Maven
> Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta2
> Java: 11; Java HotSpot(TM) 64-Bit Server VM 11+28
> Runtime: Java(TM) SE Runtime Environment 11+28
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\luca.mambretti.BZDOMAIN\AppData\Roaming\NetBeans\12.0-beta2
> Cache directory: C:\Users\luca.mambretti.BZDOMAIN\AppData\Local\NetBeans\Cache\12.0-beta2
> Reporter: Luca Mambretti
> Priority: Major
>
> During maven indexing test case i got the following message in the messages.log file while manually invoking the maven index function:
>
> The test case I was running is
> h1. Set up frequency of index updates II Test Case
>
> during the previous test case there was no indexing activity recorded.
>
> Things worth noting:
> # I normally have a mirror for central in my settings.xml file but I've tried removing it with no changes.
> # I had a local maven installation setup as for previous test cases, by setting this back to the bundled installation the problem appears to be fixed.
> # I've added the following to the conf file to try and see more logs:
> -J-Dorg.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.level=400
>
> Following the error message I've got in my messages.log
>
> FINE [org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl]: Indexing Remote Repository: central
> INFO [org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl]: could not (re-)index central
> java.util.NoSuchElementException
> at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:141)
> at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:1)
> at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)
> at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)
> at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
> Caused: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException
> role: org.apache.maven.settings.crypto.SettingsDecrypter
> roleHint:
> at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:267)
> at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
> at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:249)
> at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexLoadedRepo(NexusRepositoryIndexerImpl.java:478)
> Caused: java.io.IOException: could not find protocol handler for [https://repo.maven.apache.org/maven2/]
> at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexLoadedRepo(NexusRepositoryIndexerImpl.java:609)
> at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.access$200(NexusRepositoryIndexerImpl.java:122)
> [catch] at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$3.run(NexusRepositoryIndexerImpl.java:659)
> at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$3.run(NexusRepositoryIndexerImpl.java:652)
> at org.netbeans.modules.openide.util.DefaultMutexImplementation.writeAccess(DefaultMutexImplementation.java:229)
> at org.openide.util.Mutex.writeAccess(Mutex.java:246)
> at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexRepo(NexusRepositoryIndexerImpl.java:652)
> at org.netbeans.modules.maven.indexer.api.RepositoryIndexer.indexRepo(RepositoryIndexer.java:42)
> at org.netbeans.modules.maven.ProjectOpenedHookImpl$2.run(ProjectOpenedHookImpl.java:207)
> 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)
> at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists