Well, if it is BitBucket (not BibBucket which I do not know of), then the trick with using it with ssh keys is Cloning the repository with the bitbucket user name instead of "git" (however it is the later which BitBucket offer by default): eg:

Instead of: git clone g...@bitbucket.org:<organization>/<repository>.git

Use : git clone <bb username>@bitbucket.org:<organization>/<repository>.git


On 2/25/21 2:26 PM, Darin Miller wrote:
Hi Sebastian,

At work, we use BibBucket (git fork) where standard SSH keys, BB and Netbean do not play well together.  Try using an SSH key that was generated with PEM, i.e:

  ssh-key -t rsa -m PEM

I am not sure if the limitation is a "feature" or a "bug".

 o__
__>/ __
(__)\(__) Darin | 208-283-1574


On Thu, Feb 25, 2021 at 1:14 PM seb.-...@t-online.de <mailto:seb.-...@t-online.de> <seb.-...@t-online.de <mailto:seb.-...@t-online.de>> wrote:

    Hello,

    I have a problem pushing my Netbeans Project to a Gitlab
    Repository. I tried to connect to my repository with two other
    programs that worked well so there should be no mistake with my
    login credentials. When I try to clone or push to a remote
    repository, I always get the error:
    "Incorrect credentials for repository at
    https://gitlab.com/xxx/xxx.git"; <https://gitlab.com/xxx/xxx.git%22>.

    In addition to that, an unexpected exception occurred with the the
    error:

    java.lang.NoClassDefFoundError: Could not initialize class
    org.netbeans.modules.keyring.mac.SecurityLibrary
    at
    org.netbeans.modules.keyring.mac.MacProvider.delete(MacProvider.java:89)
    at org.netbeans.api.keyring.Keyring.deleteImpl(Keyring.java:168)
    at org.netbeans.api.keyring.Keyring.access$300(Keyring.java:52)
    at org.netbeans.api.keyring.Keyring$3.run(Keyring.java:189)
    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)

    I am using Apache NetBeans IDE 11.0 (Build
    incubator-netbeans-release-404-on-20190319) with Java 12.0.1 on
    macOS 11.2.1 Big Sur.

    I thought that NetBeans is too old and tried to update to 12.2. I
    renamed all the NetBeans 11 folders at /Applications,
    "/Application Support" and "/Caches" but I always get the error
    "Cannot initialize registry. Exception:
    org.netbeans.installer.utils.exceptions.InitializationException:
    No components matching the requirement: nb-extide/12.2.0.0.201121
    requires nb-all/12.2.0.0.201121 - 12.2.0.0.201121.

    This error appers a few times and then the installer crashes.

    For any help I would be thankful. I would like to update to
    Netbeans 12, but its not necessary. If you need a log file I will
    provide it.

    Thanks

    Sebastian

    

Reply via email to