Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] RefNotAdvertisedException signer information not matching

Hi,

I got the jar with maven, md5 matches.
I have updated the version from 4.4.0 to 4.4.1 and I still had the 4.4.0 version in the maven local repository and was loading the classes from there during tests.
I deleted the 4.4.0 version from the local repository and now all is well.

Thanks

On 01-Sep-16 19:14, Matthias Sohn wrote:
On Thu, Sep 1, 2016 at 3:53 PM, Gabriel Titerlea <gabriel_titerlea@xxxxxxx> wrote:
Hi,

I'm getting a java.lang.SecurityException when instantiating a class which uses org.eclispe.jgit.api.errors.RefNotAdvertisedException.
I'm using version: 4.4.1.201607150455-r

Stacktrace:
java.lang.SecurityException: class "org.eclipse.jgit.api.errors.RefNotAdvertisedException"'s signer information does not match signer information of other classes in the same package
    at java.lang.ClassLoader.checkCerts(ClassLoader.java:952)
    at java.lang.ClassLoader.preDefineClass(ClassLoader.java:666)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:794)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at instantiating my class

Any idea what might be the cause?

- did you try to tweak the jar in some way ? This could break the signatures.
- from where did you download the jar ?
- did you verify the checksums (MD5/SHA1) ?

-Matthias

-- 

Gabriel Titerlea
<oXygen/> XML Web Author 
https://www.oxygenxml.com

Back to the top