You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Mark Eggers <it...@yahoo.com.INVALID> on 2020/04/16 20:13:33 UTC

Updating index from a remote repository fails for Netbeans 12 beta-3

Environment:

OS: Windows 10 Professional 64 bit, latest updates
JDK: Runtime Environment AdoptOpenJDK (build 11.0.6+10)

I have a remote (OK, on the same LAN) Nexus 3.16.1-02 (will update soon)
repository accessible via HTTP.

With NetBeans 11.1, I can request an Update Index (right mouse click on
the Maven repository), have it download the index and unpack it.

With NetBeans 12.0-beta3, updating the index fails with the following
log messages:

INFO [org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl]:
could not (re-)index nexus
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
http://thor.mdeggers.org/nexus/content/groups/public/
    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)^M
    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.repository.RepositoryNode$RefreshIndexAction$1.run(RepositoryNode.java:228)
    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)

Should I file a bug?

. . . just my two cents
/mde/


Re: Updating index from a remote repository fails for Netbeans 12 beta-3

Posted by Matthias Bläsing <mb...@doppel-helix.eu>.
Hi Mark,

thank you for the quick check - its appreciated.

Greetings

Matthias

Am Samstag, den 18.04.2020, 13:34 -0700 schrieb Mark Eggers:
> Hi Matthias,
> 
> I built the following under jdk11.0.6 (AdoptOpenJDK/OpenJDK) and
> jdk1.8.0_202 (Oracle) on Windows 10 professional:
> 
> Your repository
> Netbeans master and pulled PR 2087:head (NETBEANS-4071)
> 
> I ran all builds on jdk11.0.6 via ant tryme, and activates all
> plugins
> except for JavaFX2.
> 
> Both local and remote Maven repositories indexed properly (from a
> cursory inspection) and could be browsed.
> 
> I unzipped the JDK 8 builds and ran them from netbeans64.exe. This
> runs
> under the default JDK11 on my machine.
> 
> Both indexed both the local and remote repository properly (from a
> cursory inspection) and could be browsed.
> 
> Thanks very much for the fix!
> 
> I'll update the JIRA issue appropriately.
> 
> . . . just my two cents
> /mde/
> 
> On 4/18/2020 2:02 AM, Matthias Bläsing wrote:
> > Hi Mark,
> > 
> > please have a look here:
> > 
> > https://github.com/apache/netbeans/pull/2087
> > 
> > It would be good if you could test that changeset.
> > 
> > Greetings
> > 
> > Matthias
> > 
> > Am Freitag, den 17.04.2020, 12:59 -0700 schrieb Mark Eggers:
> > > Thanks.
> > > 
> > > It appears that I need to become better at JIRA searches.
> > > 
> > > . . . just my two cents
> > > /mde/
> > > On 4/17/2020 11:24 AM, Matthias Bläsing wrote:
> > > > Hi,
> > > > 
> > > > this is https://issues.apache.org/jira/browse/NETBEANS-4071
> > > > 
> > > > Greetings
> > > > 
> > > > Matthias
> > > > 
> > > > Am Donnerstag, den 16.04.2020, 13:13 -0700 schrieb Mark Eggers:
> > > > > Environment:
> > > > > 
> > > > > OS: Windows 10 Professional 64 bit, latest updates
> > > > > JDK: Runtime Environment AdoptOpenJDK (build 11.0.6+10)
> > > > > 
> > > > > I have a remote (OK, on the same LAN) Nexus 3.16.1-02 (will
> > > > > update
> > > > > soon)
> > > > > repository accessible via HTTP.
> > > > > 
> > > > > With NetBeans 11.1, I can request an Update Index (right
> > > > > mouse
> > > > > click
> > > > > on
> > > > > the Maven repository), have it download the index and unpack
> > > > > it.
> > > > > 
> > > > > With NetBeans 12.0-beta3, updating the index fails with the
> > > > > following
> > > > > log messages:
> > > > > 
> > > > > INFO
> > > > > [org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImp
> > > > > l]:
> > > > > could not (re-)index nexus
> > > > > java.util.NoSuchElementException
> > > > >     at
> > > > > org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.ja
> > > > > va:1
> > > > > 41)
> > > > >     at
> > > > > org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.ja
> > > > > va:1
> > > > > )
> > > > >     at
> > > > > org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPl
> > > > > exus
> > > > > Bean
> > > > > s.java:76)
> > > > >     at
> > > > > org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPl
> > > > > exus
> > > > > Bean
> > > > > s.java:1)
> > > > >     at
> > > > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlex
> > > > > usCo
> > > > > ntai
> > > > > ner.java:263)
> > > > > Caused:
> > > > > org.codehaus.plexus.component.repository.exception.ComponentL
> > > > > ooku
> > > > > pExc
> > > > > eption:
> > > > > java.util.NoSuchElementException
> > > > >       role:
> > > > > org.apache.maven.settings.crypto.SettingsDecrypter
> > > > >   roleHint:
> > > > >     at
> > > > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlex
> > > > > usCo
> > > > > ntai
> > > > > ner.java:267)
> > > > >     at
> > > > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlex
> > > > > usCo
> > > > > ntai
> > > > > ner.java:255)
> > > > >     at
> > > > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlex
> > > > > usCo
> > > > > ntai
> > > > > ner.java:249)
> > > > >     at
> > > > > org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl
> > > > > .ind
> > > > > exLo
> > > > > adedRepo(NexusRepositoryIndexerImpl.java:478)
> > > > > Caused: java.io.IOException: could not find protocol handler
> > > > > for
> > > > > http://thor.mdeggers.org/nexus/content/groups/public/
> > > > >     at
> > > > > org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl
> > > > > .ind
> > > > > exLo
> > > > > adedRepo(NexusRepositoryIndexerImpl.java:609)
> > > > >     at
> > > > > org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl
> > > > > .acc
> > > > > ess$
> > > > > 200(NexusRepositoryIndexerImpl.java:122)
> > > > > [catch] at
> > > > > org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl
> > > > > $3.r
> > > > > un(N
> > > > > exusRepositoryIndexerImpl.java:659)
> > > > >     at
> > > > > org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl
> > > > > $3.r
> > > > > un(N
> > > > > exusRepositoryIndexerImpl.java:652)
> > > > >     at
> > > > > org.netbeans.modules.openide.util.DefaultMutexImplementation.
> > > > > writ
> > > > > eAcc
> > > > > ess(DefaultMutexImplementation.java:229)
> > > > >     at org.openide.util.Mutex.writeAccess(Mutex.java:246)^M
> > > > >     at
> > > > > org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl
> > > > > .ind
> > > > > exRe
> > > > > po(NexusRepositoryIndexerImpl.java:652)
> > > > >     at
> > > > > org.netbeans.modules.maven.indexer.api.RepositoryIndexer.inde
> > > > > xRep
> > > > > o(Re
> > > > > positoryIndexer.java:42)
> > > > >     at
> > > > > org.netbeans.modules.maven.repository.RepositoryNode$RefreshI
> > > > > ndex
> > > > > Acti
> > > > > on$1.run(RepositoryNode.java:228)
> > > > >     at
> > > > > org.openide.util.RequestProcessor$Task.run(RequestProcessor.j
> > > > > ava:
> > > > > 1418
> > > > > )
> > > > >     at
> > > > > org.netbeans.modules.openide.util.GlobalLookup.execute(Global
> > > > > Look
> > > > > up.j
> > > > > ava:45)
> > > > >     at
> > > > > org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> > > > >     at
> > > > > org.openide.util.RequestProcessor$Processor.run(RequestProces
> > > > > sor.
> > > > > java
> > > > > :2033)
> > > > > 
> > > > > Should I file a bug?
> > > > > 
> > > > > . . . just my two cents
> > > > > /mde/
> > > > > 
> > > > 
> > > > -------------------------------------------------------------
> > > > ----
> > > > ----
> > > > To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> > > > For additional commands, e-mail: dev-help@netbeans.apache.org
> > > > 
> > > > For further information about the NetBeans mailing lists,
> > > > visit:
> > > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > > > 
> > > > 
> > > > 
> > 
> > -----------------------------------------------------------------
> > ----
> > To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: dev-help@netbeans.apache.org
> > 
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > 
> > 
> > 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

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




Re: Updating index from a remote repository fails for Netbeans 12 beta-3

Posted by Mark Eggers <it...@yahoo.com.INVALID>.
Hi Matthias,

I built the following under jdk11.0.6 (AdoptOpenJDK/OpenJDK) and
jdk1.8.0_202 (Oracle) on Windows 10 professional:

Your repository
Netbeans master and pulled PR 2087:head (NETBEANS-4071)

I ran all builds on jdk11.0.6 via ant tryme, and activates all plugins
except for JavaFX2.

Both local and remote Maven repositories indexed properly (from a
cursory inspection) and could be browsed.

I unzipped the JDK 8 builds and ran them from netbeans64.exe. This runs
under the default JDK11 on my machine.

Both indexed both the local and remote repository properly (from a
cursory inspection) and could be browsed.

Thanks very much for the fix!

I'll update the JIRA issue appropriately.

. . . just my two cents
/mde/

On 4/18/2020 2:02 AM, Matthias Bläsing wrote:
> Hi Mark,
> 
> please have a look here:
> 
> https://github.com/apache/netbeans/pull/2087
> 
> It would be good if you could test that changeset.
> 
> Greetings
> 
> Matthias
> 
> Am Freitag, den 17.04.2020, 12:59 -0700 schrieb Mark Eggers:
>> Thanks.
>>
>> It appears that I need to become better at JIRA searches.
>>
>> . . . just my two cents
>> /mde/
>> On 4/17/2020 11:24 AM, Matthias Bläsing wrote:
>>> Hi,
>>>
>>> this is https://issues.apache.org/jira/browse/NETBEANS-4071
>>>
>>> Greetings
>>>
>>> Matthias
>>>
>>> Am Donnerstag, den 16.04.2020, 13:13 -0700 schrieb Mark Eggers:
>>>> Environment:
>>>>
>>>> OS: Windows 10 Professional 64 bit, latest updates
>>>> JDK: Runtime Environment AdoptOpenJDK (build 11.0.6+10)
>>>>
>>>> I have a remote (OK, on the same LAN) Nexus 3.16.1-02 (will
>>>> update
>>>> soon)
>>>> repository accessible via HTTP.
>>>>
>>>> With NetBeans 11.1, I can request an Update Index (right mouse
>>>> click
>>>> on
>>>> the Maven repository), have it download the index and unpack it.
>>>>
>>>> With NetBeans 12.0-beta3, updating the index fails with the
>>>> following
>>>> log messages:
>>>>
>>>> INFO
>>>> [org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl]:
>>>> could not (re-)index nexus
>>>> java.util.NoSuchElementException
>>>>     at
>>>> org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:1
>>>> 41)
>>>>     at
>>>> org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:1
>>>> )
>>>>     at
>>>> org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexus
>>>> Bean
>>>> s.java:76)
>>>>     at
>>>> org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexus
>>>> Bean
>>>> s.java:1)
>>>>     at
>>>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusCo
>>>> ntai
>>>> ner.java:263)
>>>> Caused:
>>>> org.codehaus.plexus.component.repository.exception.ComponentLooku
>>>> pExc
>>>> eption:
>>>> java.util.NoSuchElementException
>>>>       role: org.apache.maven.settings.crypto.SettingsDecrypter
>>>>   roleHint:
>>>>     at
>>>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusCo
>>>> ntai
>>>> ner.java:267)
>>>>     at
>>>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusCo
>>>> ntai
>>>> ner.java:255)
>>>>     at
>>>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusCo
>>>> ntai
>>>> ner.java:249)
>>>>     at
>>>> org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.ind
>>>> exLo
>>>> adedRepo(NexusRepositoryIndexerImpl.java:478)
>>>> Caused: java.io.IOException: could not find protocol handler for
>>>> http://thor.mdeggers.org/nexus/content/groups/public/
>>>>     at
>>>> org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.ind
>>>> exLo
>>>> adedRepo(NexusRepositoryIndexerImpl.java:609)
>>>>     at
>>>> org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.acc
>>>> ess$
>>>> 200(NexusRepositoryIndexerImpl.java:122)
>>>> [catch] at
>>>> org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$3.r
>>>> un(N
>>>> exusRepositoryIndexerImpl.java:659)
>>>>     at
>>>> org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$3.r
>>>> un(N
>>>> exusRepositoryIndexerImpl.java:652)
>>>>     at
>>>> org.netbeans.modules.openide.util.DefaultMutexImplementation.writ
>>>> eAcc
>>>> ess(DefaultMutexImplementation.java:229)
>>>>     at org.openide.util.Mutex.writeAccess(Mutex.java:246)^M
>>>>     at
>>>> org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.ind
>>>> exRe
>>>> po(NexusRepositoryIndexerImpl.java:652)
>>>>     at
>>>> org.netbeans.modules.maven.indexer.api.RepositoryIndexer.indexRep
>>>> o(Re
>>>> positoryIndexer.java:42)
>>>>     at
>>>> org.netbeans.modules.maven.repository.RepositoryNode$RefreshIndex
>>>> Acti
>>>> on$1.run(RepositoryNode.java:228)
>>>>     at
>>>> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:
>>>> 1418
>>>> )
>>>>     at
>>>> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLook
>>>> up.j
>>>> ava:45)
>>>>     at
>>>> org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>>>>     at
>>>> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.
>>>> java
>>>> :2033)
>>>>
>>>> Should I file a bug?
>>>>
>>>> . . . just my two cents
>>>> /mde/
>>>>
>>>
>>> -----------------------------------------------------------------
>>> ----
>>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
>>> For additional commands, e-mail: dev-help@netbeans.apache.org
>>>
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>
>>>
>>>
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 



Re: Updating index from a remote repository fails for Netbeans 12 beta-3

Posted by Matthias Bläsing <mb...@doppel-helix.eu>.
Hi Mark,

please have a look here:

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

It would be good if you could test that changeset.

Greetings

Matthias

Am Freitag, den 17.04.2020, 12:59 -0700 schrieb Mark Eggers:
> Thanks.
> 
> It appears that I need to become better at JIRA searches.
> 
> . . . just my two cents
> /mde/
> On 4/17/2020 11:24 AM, Matthias Bläsing wrote:
> > Hi,
> > 
> > this is https://issues.apache.org/jira/browse/NETBEANS-4071
> > 
> > Greetings
> > 
> > Matthias
> > 
> > Am Donnerstag, den 16.04.2020, 13:13 -0700 schrieb Mark Eggers:
> > > Environment:
> > > 
> > > OS: Windows 10 Professional 64 bit, latest updates
> > > JDK: Runtime Environment AdoptOpenJDK (build 11.0.6+10)
> > > 
> > > I have a remote (OK, on the same LAN) Nexus 3.16.1-02 (will
> > > update
> > > soon)
> > > repository accessible via HTTP.
> > > 
> > > With NetBeans 11.1, I can request an Update Index (right mouse
> > > click
> > > on
> > > the Maven repository), have it download the index and unpack it.
> > > 
> > > With NetBeans 12.0-beta3, updating the index fails with the
> > > following
> > > log messages:
> > > 
> > > INFO
> > > [org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl]:
> > > could not (re-)index nexus
> > > java.util.NoSuchElementException
> > >     at
> > > org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:1
> > > 41)
> > >     at
> > > org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:1
> > > )
> > >     at
> > > org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexus
> > > Bean
> > > s.java:76)
> > >     at
> > > org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexus
> > > Bean
> > > s.java:1)
> > >     at
> > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusCo
> > > ntai
> > > ner.java:263)
> > > Caused:
> > > org.codehaus.plexus.component.repository.exception.ComponentLooku
> > > pExc
> > > eption:
> > > java.util.NoSuchElementException
> > >       role: org.apache.maven.settings.crypto.SettingsDecrypter
> > >   roleHint:
> > >     at
> > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusCo
> > > ntai
> > > ner.java:267)
> > >     at
> > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusCo
> > > ntai
> > > ner.java:255)
> > >     at
> > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusCo
> > > ntai
> > > ner.java:249)
> > >     at
> > > org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.ind
> > > exLo
> > > adedRepo(NexusRepositoryIndexerImpl.java:478)
> > > Caused: java.io.IOException: could not find protocol handler for
> > > http://thor.mdeggers.org/nexus/content/groups/public/
> > >     at
> > > org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.ind
> > > exLo
> > > adedRepo(NexusRepositoryIndexerImpl.java:609)
> > >     at
> > > org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.acc
> > > ess$
> > > 200(NexusRepositoryIndexerImpl.java:122)
> > > [catch] at
> > > org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$3.r
> > > un(N
> > > exusRepositoryIndexerImpl.java:659)
> > >     at
> > > org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$3.r
> > > un(N
> > > exusRepositoryIndexerImpl.java:652)
> > >     at
> > > org.netbeans.modules.openide.util.DefaultMutexImplementation.writ
> > > eAcc
> > > ess(DefaultMutexImplementation.java:229)
> > >     at org.openide.util.Mutex.writeAccess(Mutex.java:246)^M
> > >     at
> > > org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.ind
> > > exRe
> > > po(NexusRepositoryIndexerImpl.java:652)
> > >     at
> > > org.netbeans.modules.maven.indexer.api.RepositoryIndexer.indexRep
> > > o(Re
> > > positoryIndexer.java:42)
> > >     at
> > > org.netbeans.modules.maven.repository.RepositoryNode$RefreshIndex
> > > Acti
> > > on$1.run(RepositoryNode.java:228)
> > >     at
> > > org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:
> > > 1418
> > > )
> > >     at
> > > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLook
> > > up.j
> > > ava:45)
> > >     at
> > > org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> > >     at
> > > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.
> > > java
> > > :2033)
> > > 
> > > Should I file a bug?
> > > 
> > > . . . just my two cents
> > > /mde/
> > > 
> > 
> > -----------------------------------------------------------------
> > ----
> > To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: dev-help@netbeans.apache.org
> > 
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > 
> > 
> > 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

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




Re: Updating index from a remote repository fails for Netbeans 12 beta-3

Posted by Mark Eggers <it...@yahoo.com.INVALID>.
Thanks.

It appears that I need to become better at JIRA searches.

. . . just my two cents
/mde/
On 4/17/2020 11:24 AM, Matthias Bläsing wrote:
> Hi,
> 
> this is https://issues.apache.org/jira/browse/NETBEANS-4071
> 
> Greetings
> 
> Matthias
> 
> Am Donnerstag, den 16.04.2020, 13:13 -0700 schrieb Mark Eggers:
>> Environment:
>>
>> OS: Windows 10 Professional 64 bit, latest updates
>> JDK: Runtime Environment AdoptOpenJDK (build 11.0.6+10)
>>
>> I have a remote (OK, on the same LAN) Nexus 3.16.1-02 (will update
>> soon)
>> repository accessible via HTTP.
>>
>> With NetBeans 11.1, I can request an Update Index (right mouse click
>> on
>> the Maven repository), have it download the index and unpack it.
>>
>> With NetBeans 12.0-beta3, updating the index fails with the following
>> log messages:
>>
>> INFO [org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl]:
>> could not (re-)index nexus
>> 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(DefaultPlexusBean
>> s.java:76)
>>     at
>> org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBean
>> s.java:1)
>>     at
>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
>> ner.java:263)
>> Caused:
>> org.codehaus.plexus.component.repository.exception.ComponentLookupExc
>> eption:
>> java.util.NoSuchElementException
>>       role: org.apache.maven.settings.crypto.SettingsDecrypter
>>   roleHint:
>>     at
>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
>> ner.java:267)
>>     at
>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
>> ner.java:255)
>>     at
>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
>> ner.java:249)
>>     at
>> org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexLo
>> adedRepo(NexusRepositoryIndexerImpl.java:478)
>> Caused: java.io.IOException: could not find protocol handler for
>> http://thor.mdeggers.org/nexus/content/groups/public/
>>     at
>> org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexLo
>> adedRepo(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(N
>> exusRepositoryIndexerImpl.java:659)
>>     at
>> org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$3.run(N
>> exusRepositoryIndexerImpl.java:652)
>>     at
>> org.netbeans.modules.openide.util.DefaultMutexImplementation.writeAcc
>> ess(DefaultMutexImplementation.java:229)
>>     at org.openide.util.Mutex.writeAccess(Mutex.java:246)^M
>>     at
>> org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexRe
>> po(NexusRepositoryIndexerImpl.java:652)
>>     at
>> org.netbeans.modules.maven.indexer.api.RepositoryIndexer.indexRepo(Re
>> positoryIndexer.java:42)
>>     at
>> org.netbeans.modules.maven.repository.RepositoryNode$RefreshIndexActi
>> on$1.run(RepositoryNode.java:228)
>>     at
>> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418
>> )
>>     at
>> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.j
>> ava:45)
>>     at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>>     at
>> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java
>> :2033)
>>
>> Should I file a bug?
>>
>> . . . just my two cents
>> /mde/
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 



Re: Updating index from a remote repository fails for Netbeans 12 beta-3

Posted by Matthias Bläsing <mb...@doppel-helix.eu>.
Hi,

this is https://issues.apache.org/jira/browse/NETBEANS-4071

Greetings

Matthias

Am Donnerstag, den 16.04.2020, 13:13 -0700 schrieb Mark Eggers:
> Environment:
> 
> OS: Windows 10 Professional 64 bit, latest updates
> JDK: Runtime Environment AdoptOpenJDK (build 11.0.6+10)
> 
> I have a remote (OK, on the same LAN) Nexus 3.16.1-02 (will update
> soon)
> repository accessible via HTTP.
> 
> With NetBeans 11.1, I can request an Update Index (right mouse click
> on
> the Maven repository), have it download the index and unpack it.
> 
> With NetBeans 12.0-beta3, updating the index fails with the following
> log messages:
> 
> INFO [org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl]:
> could not (re-)index nexus
> 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(DefaultPlexusBean
> s.java:76)
>     at
> org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBean
> s.java:1)
>     at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> ner.java:263)
> Caused:
> org.codehaus.plexus.component.repository.exception.ComponentLookupExc
> eption:
> java.util.NoSuchElementException
>       role: org.apache.maven.settings.crypto.SettingsDecrypter
>   roleHint:
>     at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> ner.java:267)
>     at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> ner.java:255)
>     at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> ner.java:249)
>     at
> org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexLo
> adedRepo(NexusRepositoryIndexerImpl.java:478)
> Caused: java.io.IOException: could not find protocol handler for
> http://thor.mdeggers.org/nexus/content/groups/public/
>     at
> org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexLo
> adedRepo(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(N
> exusRepositoryIndexerImpl.java:659)
>     at
> org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$3.run(N
> exusRepositoryIndexerImpl.java:652)
>     at
> org.netbeans.modules.openide.util.DefaultMutexImplementation.writeAcc
> ess(DefaultMutexImplementation.java:229)
>     at org.openide.util.Mutex.writeAccess(Mutex.java:246)^M
>     at
> org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexRe
> po(NexusRepositoryIndexerImpl.java:652)
>     at
> org.netbeans.modules.maven.indexer.api.RepositoryIndexer.indexRepo(Re
> positoryIndexer.java:42)
>     at
> org.netbeans.modules.maven.repository.RepositoryNode$RefreshIndexActi
> on$1.run(RepositoryNode.java:228)
>     at
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418
> )
>     at
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.j
> ava:45)
>     at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>     at
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java
> :2033)
> 
> Should I file a bug?
> 
> . . . just my two cents
> /mde/
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

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