Errormessage when starting testclasses

Issue #1407 resolved
Volker Schwarz created an issue

I updated last week to current version 2.0.8. with IDE Version

IntelliJ IDEA 2019.2.1 (Community Edition)
Build #IC-192.6262.58, built on August 20, 2019
Runtime version: 11.0.3+12-b304.39 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1954M
Cores: 12
Registry:
Non-Bundled Plugins: com.illuminatedcloud2.intellij

Since this update I can’t start testclasses and get this error:

the trustAnchors parameter must be non-empty

Comments (3)

  1. Scott Wells repo owner

    This appears to be a network configuration issue as it's happening during an SSL handshake:

    javax.net.ssl.SSLException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
        at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:133)
        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321)
        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:264)
        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:259)
        at java.base/sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1314)
        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:408)
        ...
        at com.illuminatedcloud.client.ForceComApiClient.runWithClient(SourceFile:452)
        at com.illuminatedcloud.intellij.unittest.ApexUnitTestRunProcessHandler.runTestsSynchronous(SourceFile:680)
    

    Can you ensure that your IDE is properly configured for your network restrictions as documented in the user guide under Configuring Network Access? My guess is that you have a proxy that is performing SSL certificate substitution and you may need to install the custom certificate that it's providing.

  2. Scott Wells repo owner

    I'm going to resolve this since it appears to be a network configuration issue. Feel free to reopen it if you find that configuring the IDE for your network does not help to resolve the issue.

  3. Log in to comment