SSL Error when searching Marketplace or getting updates

已回答

When I select "Check for Updates", I get "Connection failed (internal error). Please check network connection and try again."

I see this (shortening the exceptions) in the IDEA log:

2020-12-29 18:20:25,048 [ 411684]   INFO - ateSettings.impl.UpdateChecker -  
javax.net.ssl.SSLException at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:133) ...
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:334) at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:630) ...
Caused by: java.lang.NullPointerException at com.intellij.util.net.ssl.ConfirmingTrustManager$MutableTrustManager.keyStoreIsEmpty(ConfirmingTrustManager.java:434) at com.intellij.util.net.ssl.ConfirmingTrustManager$MutableTrustManager.getAcceptedIssuers(ConfirmingTrustManager.java:413) at com.intellij.util.net.ssl.ConfirmingTrustManager.getAcceptedIssuers(ConfirmingTrustManager.java:155) ...
2020-12-29 18:20:25,056 [ 411692] INFO - ateSettings.impl.UpdateChecker - Connection failed (internal error). Please check network connection and try again.
2020-12-29 18:20:58,309 [ 444945] INFO - rationStore.ComponentStoreImpl - Saving appFileTypeManager took 16 ms, InspectionProfileManager took 16 ms

 

Similarly, when I restart IntelliJ and try to check the Marketplace for plugins, I get "plugins are not loaded", with this in the log:

2020-12-29 18:26:39,160 [ 5297] ERROR - net.ssl.ConfirmingTrustManager - Cannot create key store
java.io.IOException: toDerInputStream rejects tag type 0
at java.base/sun.security.util.DerValue.toDerInputStream(DerValue.java:873)
at java.base/sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1997)
at java.base/sun.security.util.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:222)
at java.base/java.security.KeyStore.load(KeyStore.java:1479)
at com.intellij.util.net.ssl.ConfirmingTrustManager$MutableTrustManager.createKeyStore(ConfirmingTrustManager.java:217)
at com.intellij.util.net.ssl.ConfirmingTrustManager$MutableTrustManager.<init>(ConfirmingTrustManager.java:192)
...
2020-12-29 18:26:39,232 [ 5369] ERROR - net.ssl.ConfirmingTrustManager - IntelliJ IDEA 2020.3 Build #IC-203.5981.155
2020-12-29 18:26:39,239 [ 5376] ERROR - net.ssl.ConfirmingTrustManager - JDK: 11.0.9; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2020-12-29 18:26:39,255 [ 5392] ERROR - net.ssl.ConfirmingTrustManager - OS: Windows 10
2020-12-29 18:26:39,279 [ 5416] ERROR - net.ssl.ConfirmingTrustManager - Last Action:
2020-12-29 18:26:39,283 [ 5420] INFO - til.net.ssl.CertificateManager - Default SSL context initialized

 

What keystore is missing / corrupted?

0

Seems to be a certificate issue. Please add the certificate from your proxy to the JVM that is used by IDE to run. You can add it via command line tool or in File | Settings | Tools | Server Certificates settings.

 

0
Avatar
Permanently deleted user

Hmm.  This is my work machine and I do have a VPN installed, but right now I'm not connected to it and I have all proxies disabled as far as I can tell.   Is there some debug setting I can enable to see what proxy it's attempting to contact?

0

To get more diagnostics could you please add these two lines to Help | Diagnostic Tools | Debug Log Settings dialog:

com.intellij.util.net.ssl.ConfirmingTrustManager
com.intellij.util.io.HttpRequests
com.intellij.util.proxy.CommonProxy #com.intellij.util.net.ssl.ConfirmingTrustManager
#com.intellij.util.io.HttpRequests
#com.intellij.util.proxy.CommonProxy

restart IDE, reproduce the problem and attach produced idea.log. Thank you.

0
Avatar
Permanently deleted user

That didn't provide any additional information (no DEBUG statements).  Here's the idea.log from startup before I even take any actions:

2020-12-31 09:35:12,947 [      0]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 
2020-12-31 09:35:13,108 [ 161] INFO - llij.ide.gdpr.EndUserAgreement - privacy: C:\Users\rhirst\AppData\Roaming\JetBrains\PrivacyPolicy\Cached
2020-12-31 09:35:13,174 [ 227] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IC-203.5981.155, 30 Nov 2020 16:31)
2020-12-31 09:35:13,182 [ 235] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2020-12-31 09:35:13,198 [ 251] INFO - #com.intellij.idea.Main - JRE: 11.0.9+11-b1145.21 (JetBrains s.r.o.)
2020-12-31 09:35:13,198 [ 251] INFO - #com.intellij.idea.Main - JVM: 11.0.9+11-b1145.21 (OpenJDK 64-Bit Server VM)
2020-12-31 09:35:13,206 [ 259] INFO - #com.intellij.idea.Main - JVM Args: exit -Xms128m -Xmx2048m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -XX:CICompilerCount=2 -Dsun.io.useCanonPrefixCache=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf -Djb.vmOptionsFile=C:\Users\rhirst\AppData\Roaming\JetBrains\IdeaIC2020.3\idea64.exe.vmoptions -Djava.library.path=C:\Dev\IntelliJ\jbr\\bin;C:\Dev\IntelliJ\jbr\\bin\server -Didea.platform.prefix=Idea -Didea.jre.check=true -Dide.native.launcher=true -Didea.vendor.name=JetBrains -Didea.paths.selector=IdeaIC2020.3 -XX:ErrorFile=C:\Users\rhirst\java_error_in_idea64_%p.log -XX:HeapDumpPath=C:\Users\rhirst\java_error_in_idea64.hprof
2020-12-31 09:35:13,206 [ 259] INFO - #com.intellij.idea.Main - library path: C:\Dev\IntelliJ\jbr\\bin;C:\Dev\IntelliJ\jbr\\bin\server
2020-12-31 09:35:13,206 [ 259] INFO - #com.intellij.idea.Main - boot library path: C:\Dev\IntelliJ\jbr\bin
2020-12-31 09:35:13,366 [ 419] INFO - #com.intellij.idea.Main - locale=en_US JNU=Cp1252 file.encoding=Cp1252
idea.config.path=C:\Users\rhirst\AppData\Roaming\JetBrains\IdeaIC2020.3
idea.system.path=C:\Users\rhirst\AppData\Local\JetBrains\IdeaIC2020.3
idea.plugins.path=C:\Users\rhirst\AppData\Roaming\JetBrains\IdeaIC2020.3\plugins
idea.log.path=C:\Users\rhirst\AppData\Local\JetBrains\IdeaIC2020.3\log
2020-12-31 09:35:13,622 [ 675] INFO - ntellij.idea.ApplicationLoader - CPU cores: 4; ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool@6d1601fa[Running, parallelism = 3, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]; factory: com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory@8992a89
2020-12-31 09:35:15,135 [ 2188] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=Groovy, id=org.intellij.groovy, path=C:\Dev\IntelliJ\plugins\Groovy, version=203.5981.155) misses optional descriptor duplicates-groovy.xml
2020-12-31 09:35:15,135 [ 2188] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=Groovy, id=org.intellij.groovy, path=C:\Dev\IntelliJ\plugins\Groovy, version=203.5981.155) misses optional descriptor duplicates-detection-groovy.xml
2020-12-31 09:35:15,430 [ 2483] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=Java, id=com.intellij.java, path=C:\Dev\IntelliJ\plugins\java, version=203.5981.155) misses optional descriptor profiler-java.xml
2020-12-31 09:35:15,651 [ 2704] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 2277 ms
2020-12-31 09:35:15,667 [ 2720] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2020-12-31 09:35:15,903 [ 2956] WARN - llij.ide.plugins.PluginManager - Problems found loading plugins:
The Gradle-Maven (id=org.jetbrains.plugins.gradle.maven, path=C:\Dev\IntelliJ\plugins\gradle-java-maven) plugin Requires plugin 'org.jetbrains.idea.maven' to be enabled
2020-12-31 09:35:15,994 [ 3047] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: IDEA CORE (203.5981.155), Dependency Management Api for External Build Tools (203.5981.155), com.intellij.platform.images (203.5981.155), JetBrains maven model api classes (203.5981.155), JetBrains Repository Search (203.5981.155), XPathView + XSLT (203.5981.155), XSLT Debugger (203.5981.155), Smali Support (203.5981.155), Machine Learning Code Completion (203.5981.155), Configuration Script (203.5981.155), Copyright (203.5981.155), Windows 10 Light Theme (203.5981.155), Properties (203.5981.155), Gradle (203.5981.155), Gradle Dependency Updater Implementation (203.5981.155), Resource Bundle Editor (203.5981.155), WebP Support (203.5981.155), EditorConfig (203.5981.155), Terminal (203.5981.155), Git (203.5981.155), ChangeReminder (203.5981.155), Shell Script (203.5981.155), TextMate Bundles (203.5981.155), YAML (203.5981.155), Settings Repository (203.5981.155), IDE Features Trainer (203.5981.155), Java (203.5981.155), Bytecode Viewer (203.5981.155), JUnit (203.5981.155), Java Internationalization (203.5981.155), Java IDE Customization (203.5981.155), Java Bytecode Decompiler (203.5981.155), JavaFX (203.5981.155), Next File Prediction (203.5981.155), IntelliLang (203.5981.155), Groovy (203.5981.155), Gradle-Java (203.5981.155), Gradle DSL API (203.5981.155), Kotlin (203-1.4.10-release-IJ5981.133), Gradle DSL Implementation For Kotlin (203.5981.155), Android (10.4.0.203.5981.155), Markdown (203.5981.155), Grazie (203.5981.155)
2020-12-31 09:35:15,994 [ 3047] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: ReST Console (1.4), Gherkin (203.5981.155), Cucumber for Java (203.5981.155), Cucumber for Groovy (203.5981.155)
2020-12-31 09:35:15,994 [ 3047] INFO - llij.ide.plugins.PluginManager - Disabled plugins: UI Designer (203.5981.155), TestNG (203.5981.155), GitHub (203.5981.155), Ant (203.5981.155), Subversion (203.5981.155), Java Stream Debugger (203.5981.155), Task Management (203.5981.155), Maven (203.5981.155), Code Coverage for Java (203.5981.155), Plugin DevKit (203.5981.155), Mercurial (203.5981.155), Eclipse Interoperability (203.5981.155)
2020-12-31 09:35:16,797 [ 3850] INFO - m.intellij.util.io.StorageLock - lower=100; upper=500; buffer=10; max=1994
2020-12-31 09:35:16,836 [ 3889] INFO - tellij.util.io.FileChannelUtil - uninterruptible FileChannels will be used for indexes
2020-12-31 09:35:16,930 [ 3983] INFO - cation.options.RegistryManager - Registry values changed by user: ide.windowSystem.autoShowProcessPopup = true
2020-12-31 09:35:16,938 [ 3991] INFO - intellij.diagnostic.JitWatcher - JIT compilation state checking enabled
2020-12-31 09:35:17,091 [ 4144] INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: com.intellij.util.net.ssl.ConfirmingTrustManager, com.intellij.util.io.HttpRequests, com.intellij.util.proxy.CommonProxy
2020-12-31 09:35:17,108 [ 4161] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=12, fontScale=1.0
2020-12-31 09:35:17,350 [ 4403] INFO - tellij.util.io.storage.Storage - Space waste in C:\Users\rhirst\AppData\Local\JetBrains\IdeaIC2020.3\caches\attrib.dat is 11633965 bytes. Compacting now.
2020-12-31 09:35:17,422 [ 4475] INFO - tellij.util.io.storage.Storage - Compact failed: C:\Users\rhirst\AppData\Local\JetBrains\IdeaIC2020.3\caches\attrib.dat.storageData.backup
2020-12-31 09:35:17,422 [ 4475] INFO - tellij.util.io.storage.Storage - Done compacting in 72msec.
2020-12-31 09:35:17,463 [ 4516] ERROR - net.ssl.ConfirmingTrustManager - Cannot create key store
java.io.IOException: toDerInputStream rejects tag type 0 at java.base/sun.security.util.DerValue.toDerInputStream(DerValue.java:873) at java.base/sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1997) at java.base/sun.security.util.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:222) at java.base/java.security.KeyStore.load(KeyStore.java:1479) at com.intellij.util.net.ssl.ConfirmingTrustManager$MutableTrustManager.createKeyStore(ConfirmingTrustManager.java:217) at com.intellij.util.net.ssl.ConfirmingTrustManager$MutableTrustManager.<init>(ConfirmingTrustManager.java:192) at com.intellij.util.net.ssl.ConfirmingTrustManager.createForStorage(ConfirmingTrustManager.java:60) at com.intellij.util.net.ssl.CertificateManager.lambda$new$0(CertificateManager.java:86) at com.intellij.openapi.util.AtomicNotNullLazyValue$1.compute(AtomicNotNullLazyValue.java:59) at com.intellij.openapi.util.AtomicNotNullLazyValue.getValue(AtomicNotNullLazyValue.java:37) at com.intellij.util.net.ssl.CertificateManager.getTrustManager(CertificateManager.java:254) at com.intellij.util.net.ssl.CertificateManager.calcSslContext(CertificateManager.java:154) at com.intellij.util.net.ssl.CertificateManager.lambda$new$1(CertificateManager.java:110) at com.intellij.openapi.util.AtomicNotNullLazyValue$1.compute(AtomicNotNullLazyValue.java:59) at com.intellij.openapi.util.AtomicNotNullLazyValue.getValue(AtomicNotNullLazyValue.java:37) at com.intellij.util.net.ssl.CertificateManager.getSslContext(CertificateManager.java:145) at com.intellij.util.net.ssl.CertificateManager.lambda$new$2(CertificateManager.java:120) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665) at java.base/java.lang.Thread.run(Thread.java:834) 2020-12-31 09:35:17,479 [ 4532] ERROR - net.ssl.ConfirmingTrustManager - IntelliJ IDEA 2020.3 Build #IC-203.5981.155
2020-12-31 09:35:17,495 [ 4548] ERROR - net.ssl.ConfirmingTrustManager - JDK: 11.0.9; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2020-12-31 09:35:17,496 [ 4549] ERROR - net.ssl.ConfirmingTrustManager - OS: Windows 10
2020-12-31 09:35:17,504 [ 4557] ERROR - net.ssl.ConfirmingTrustManager - Last Action:
2020-12-31 09:35:17,512 [ 4565] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2020-12-31 09:35:17,749 [ 4802] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=13, fontScale=1.0; restored: fontSize=13, fontScale=1.0
2020-12-31 09:35:17,758 [ 4811] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=12, fontScale=1.0
2020-12-31 09:35:17,894 [ 4947] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2020-12-31 09:35:19,772 [ 6825] INFO - gs.impl.UpdateCheckerComponent - channel: release
2020-12-31 09:35:20,776 [ 7829] INFO - leBasedIndexDataInitialization - Initialization done: 2978
2020-12-31 09:35:21,042 [ 8095] INFO - ateSettings.impl.UpdateChecker -
javax.net.ssl.SSLException at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:133) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:350) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:293) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:288) at java.base/sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1581) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:453) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:411) at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520) at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:334) at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:630) at com.intellij.util.io.HttpRequests$RequestImpl.getConnection(HttpRequests.java:381) at com.intellij.util.io.HttpRequests$RequestImpl.getInputStream(HttpRequests.java:390) at com.intellij.util.io.HttpRequests$RequestImpl.getReader(HttpRequests.java:425) at com.intellij.util.io.HttpRequests$RequestImpl.getReader(HttpRequests.java:418) at com.intellij.openapi.updateSettings.impl.UpdateChecker$loadUpdatesData$1.process(UpdateChecker.kt:232) at com.intellij.openapi.updateSettings.impl.UpdateChecker$loadUpdatesData$1.process(UpdateChecker.kt:60) at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:541) at com.intellij.util.io.HttpRequests.process(HttpRequests.java:523) at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:355) at com.intellij.openapi.updateSettings.impl.UpdateChecker.loadUpdatesData(UpdateChecker.kt:232) at com.intellij.openapi.updateSettings.impl.UpdateChecker.getProductData(UpdateChecker.kt:212) at com.intellij.openapi.updateSettings.impl.UpdateChecker.checkPlatformUpdate(UpdateChecker.kt:187) at com.intellij.openapi.updateSettings.impl.UpdateChecker.doUpdateAndShowResult(UpdateChecker.kt:149) at com.intellij.openapi.updateSettings.impl.UpdateChecker.access$doUpdateAndShowResult(UpdateChecker.kt:60) at com.intellij.openapi.updateSettings.impl.UpdateChecker$updateAndShowResult$1.run(UpdateChecker.kt:108) at com.intellij.util.RunnableCallable.call(RunnableCallable.java:20) at com.intellij.util.RunnableCallable.call(RunnableCallable.java:11) at com.intellij.openapi.application.impl.ApplicationImpl$1.call(ApplicationImpl.java:270) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.NullPointerException at com.intellij.util.net.ssl.ConfirmingTrustManager$MutableTrustManager.keyStoreIsEmpty(ConfirmingTrustManager.java:434) at com.intellij.util.net.ssl.ConfirmingTrustManager$MutableTrustManager.getAcceptedIssuers(ConfirmingTrustManager.java:413) at com.intellij.util.net.ssl.ConfirmingTrustManager.getAcceptedIssuers(ConfirmingTrustManager.java:155) at java.base/sun.security.ssl.AbstractTrustManagerWrapper.checkAlgorithmConstraints(SSLContextImpl.java:1619) at java.base/sun.security.ssl.AbstractTrustManagerWrapper.checkAdditionalTrust(SSLContextImpl.java:1567) at java.base/sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:1511) at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:638) at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(CertificateMessage.java:473) at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(CertificateMessage.java:369) at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392) at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:444) at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:422) at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:183) at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:171) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1408) at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1314) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:440) ... 34 more 2020-12-31 09:35:21,050 [ 8103] INFO - ateSettings.impl.UpdateChecker - Connection failed (internal error). Please check network connection and try again.
2020-12-31 09:35:21,299 [ 8352] INFO - exImpl$StubIndexInitialization - Initialization done: 525
2020-12-31 09:36:26,211 [ 73264] INFO - rationStore.ComponentStoreImpl - Saving appDaemonCodeAnalyzerSettings took 24 ms

 

0
Avatar
Permanently deleted user

Also, when I attempt to add my company's certificate as requested above, I get this:

2020-12-31 10:02:15,161 [1622214] ERROR - net.ssl.ConfirmingTrustManager - null 
java.lang.NullPointerException
at com.intellij.util.net.ssl.ConfirmingTrustManager$MutableTrustManager.getCertificates(ConfirmingTrustManager.java:352)
at com.intellij.util.net.ssl.CertificateConfigurable.isModified(CertificateConfigurable.java:193)
at com.intellij.openapi.options.ex.ConfigurableWrapper.isModified(ConfigurableWrapper.java:177)
at com.intellij.openapi.options.newEditor.SettingsEditor.checkModifiedInternal(SettingsEditor.java:455)

It seems pretty clear that it's looking for a keystore somewhere that doesn't exist, but I don't know where (or how) I should create it.

(Note that I've uninstalled/reinstalled a couple times, that didn't help either.)

 

0

Does it help to remove /system/tasks/cacerts  (or whole /system/tasks/) directory in IDE configs? 

0
Avatar
Permanently deleted user

Those are the 2019 IDE directories; I'm using 2020.3.  Nevertheless, just to be sure, I uninstalled IJ 2020 and removed the Jetbrains folder from both AppData/Roaming and AppData/Local, and reinstalled.  This time it worked, and I was finally able to install the plugin I was trying to use.

0
Avatar
Permanently deleted user

If you are a Mac user, you can delete everything under ~/Library/Application Support/JetBrains/IntelliJIdea*. Then restart IntelliJ, don't use previous settings, let IntelliJ create new settings for you. I solved the problem this way.

0

I saw the same issue from another user. It seems there is some problem with the cert file in the config folder for some reason.

Without deleting the config folder completely, you could close the IDEA, delete the certs file in IDE_CONFIG_FOLER's ssl folder.

2
Avatar
Permanently deleted user

Lejia Chen solution is what solved it for me.

Thank you!

1

Lejia Chen solution worked for me too. 

Thanks!

0

请先登录再写评论。