Opened 5 years ago

Last modified 5 years ago

#194 new defect

the trustAnchors parameters must be non-empty

Reported by: martini Owned by:
Priority: major Milestone: Enhanced
Component: general Version: 1.6.0 Build 25 GA3
Severity: medium Keywords:
Cc:

Description

I'm running SmartGit? 2.1.8
http://www.syntevo.com/smartgit/download-archive.html

The software seems to run fine:
"java -Dsun.io.useCanonCaches=false -Dsun.java.command=SmartGit? -Dsmartgit.checkIncompatibleJava=false -jar ./lib/smartgit.jar "

But I can not access a GitHub? address to clone a repository.
Im getting the following error:

"An I/O error Occurred.

Details:
java.lang.RuntimeException:Unexpected error:
java.security.InvalidAlgorithmParameterException?
:the trustAnchors parameters must be non-empty
"

On the Command line it says :

... 14 more

Caused by: java.security.InvalidAlgorithmParameterException?: the trustAnchors pa
rameter must be non-empty

at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java

:200)

at java.security.cert.PKIXParameters.<init>(PKIXParameters.java:120)
at java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters

.java:104)

at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:73)
... 25 more

52110 (2012-12-09 10:27:43,430) [AWT-EventQueue-0] WARN q.dialogs -

Show: Processing Command - An I/O-error occurred.

Details:
java.lang.RuntimeException?: Unexpected error: java.security.InvalidAlgorithmPara?
meterException: the trustAnchors parameter must be non-empty
52130 (2012-12-09 10:27:43,450) [AWT-EventQueue-0] INFO q.dialogs -

Showing dialog 3 (@A8C19B) '@C5575 - Processing Command' (owner: @1AB5DAE)

Any hint to make it work will be appreciated.

Attachments (1)

smartgit-error.png (31.8 KB) - added by martini 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by martini

comment:1 Changed 5 years ago by martini

If I add:

-Djavax.net.ssl.keyStore=C:\programs\openjdk\lib\security

The error changes to to:

Details:
java.security.NoSuchAlgorithmException?: Error constructing implementation (algor
ithm: Default, provider: SunJSSE, class: sun.security.ssl.DefaultSSLContextImpl)

41350 (2012-12-09 11:02:18,670) [AWT-EventQueue-0] INFO q.dialogs -

Showing dialog 3 (@55BFAF) '@D8978C - Processing Command' (owner: @1082823)

Note: See TracTickets for help on using tickets.