Article - CS297905
Error "java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty" in Integration Runtime log file
Modified: 08-Sep-2025
Applies To
- Windchill Navigate (formerly ThingWorx Navigate) 1.8.0 to 10.0
Description
- Error occurs when executing ValidateConnection service in ptc-windchill-integration-connector.
- Error below in Integration Runtime log file when configuring Thingworx (without SSL) and Windchill (with SSL) with Fixed Authentication :
javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) ~[na:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1946) ~[na:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1903) ~[na:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1886) ~[na:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1402) ~[na:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379) ~[na:1.8.0_191]
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:396) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:355) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:359) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.execchain.ServiceUnavailableRetryExec.execute(ServiceUnavailableRetryExec.java:85) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.component.http4.HttpProducer.executeMethod(HttpProducer.java:334) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.component.http4.HttpProducer.process(HttpProducer.java:193) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.SendDynamicProcessor$1.doInAsyncProducer(SendDynamicProcessor.java:124) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:436) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.SendDynamicProcessor.process(SendDynamicProcessor.java:119) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:541) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:198) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:120) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:83) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:198) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:62) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:198) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.ProducerCache$1.doInProducer(ProducerCache.java:529) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.ProducerCache$1.doInProducer(ProducerCache.java:497) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:365) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:497) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:242) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:148) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:135) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.DefaultProducerTemplate.request(DefaultProducerTemplate.java:301) [integration-runtime-8.0.3-b232.jar:1.0.0]
at com.twx.integration.route.IntegrationEngine.dispatchRoute(IntegrationEngine.java:122) [integration-runtime-8.0.3-b232.jar:1.0.0]
at com.twx.integration.client.things.IntegrationRuntimeServer.Invoke(IntegrationRuntimeServer.java:72) [integration-runtime-8.0.3-b232.jar:1.0.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_191]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_191]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_191]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_191]
at com.thingworx.common.processors.ReflectionProcessor.processService(ReflectionProcessor.java:261) [integration-runtime-8.0.3-b232.jar:1.0.0]
at com.thingworx.communications.client.things.VirtualThing.invokeService(VirtualThing.java:1120) [integration-runtime-8.0.3-b232.jar:1.0.0]
at com.thingworx.communications.client.things.VirtualThing.handleServiceRequest(VirtualThing.java:1026) [integration-runtime-8.0.3-b232.jar:1.0.0]
at com.thingworx.communications.client.ConnectedThingClient.handleRequest(ConnectedThingClient.java:313) [integration-runtime-8.0.3-b232.jar:1.0.0]
at com.thingworx.communications.client.processor.ClientProcessorTask.run(ClientProcessorTask.java:55) [integration-runtime-8.0.3-b232.jar:1.0.0]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_191]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_191]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_191]
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:91) ~[na:1.8.0_191]
at sun.security.validator.Validator.getInstance(Validator.java:181) ~[na:1.8.0_191]
at sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:312) ~[na:1.8.0_191]
at sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:171) ~[na:1.8.0_191]
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:184) ~[na:1.8.0_191]
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[na:1.8.0_191]
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1621) ~[na:1.8.0_191]
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:223) ~[na:1.8.0_191]
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037) ~[na:1.8.0_191]
at sun.security.ssl.Handshaker.process_record(Handshaker.java:965) ~[na:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1064) ~[na:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367) ~[na:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395) ~[na:1.8.0_191]
... 53 common frames omitted
Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:200) ~[na:1.8.0_191]
at java.security.cert.PKIXParameters.<init>(PKIXParameters.java:120) ~[na:1.8.0_191]
at java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:104) ~[na:1.8.0_191]
at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:89) ~[na:1.8.0_191]
... 65 common frames omitted
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) ~[na:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1946) ~[na:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1903) ~[na:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1886) ~[na:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1402) ~[na:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379) ~[na:1.8.0_191]
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:396) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:355) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:359) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.execchain.ServiceUnavailableRetryExec.execute(ServiceUnavailableRetryExec.java:85) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.component.http4.HttpProducer.executeMethod(HttpProducer.java:334) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.component.http4.HttpProducer.process(HttpProducer.java:193) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.SendDynamicProcessor$1.doInAsyncProducer(SendDynamicProcessor.java:124) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:436) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.SendDynamicProcessor.process(SendDynamicProcessor.java:119) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:541) ~[integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:198) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:120) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:83) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:198) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:62) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:198) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.ProducerCache$1.doInProducer(ProducerCache.java:529) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.ProducerCache$1.doInProducer(ProducerCache.java:497) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:365) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:497) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:242) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:148) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:135) [integration-runtime-8.0.3-b232.jar:1.0.0]
at org.apache.camel.impl.DefaultProducerTemplate.request(DefaultProducerTemplate.java:301) [integration-runtime-8.0.3-b232.jar:1.0.0]
at com.twx.integration.route.IntegrationEngine.dispatchRoute(IntegrationEngine.java:122) [integration-runtime-8.0.3-b232.jar:1.0.0]
at com.twx.integration.client.things.IntegrationRuntimeServer.Invoke(IntegrationRuntimeServer.java:72) [integration-runtime-8.0.3-b232.jar:1.0.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_191]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_191]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_191]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_191]
at com.thingworx.common.processors.ReflectionProcessor.processService(ReflectionProcessor.java:261) [integration-runtime-8.0.3-b232.jar:1.0.0]
at com.thingworx.communications.client.things.VirtualThing.invokeService(VirtualThing.java:1120) [integration-runtime-8.0.3-b232.jar:1.0.0]
at com.thingworx.communications.client.things.VirtualThing.handleServiceRequest(VirtualThing.java:1026) [integration-runtime-8.0.3-b232.jar:1.0.0]
at com.thingworx.communications.client.ConnectedThingClient.handleRequest(ConnectedThingClient.java:313) [integration-runtime-8.0.3-b232.jar:1.0.0]
at com.thingworx.communications.client.processor.ClientProcessorTask.run(ClientProcessorTask.java:55) [integration-runtime-8.0.3-b232.jar:1.0.0]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_191]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_191]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_191]
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:91) ~[na:1.8.0_191]
at sun.security.validator.Validator.getInstance(Validator.java:181) ~[na:1.8.0_191]
at sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:312) ~[na:1.8.0_191]
at sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:171) ~[na:1.8.0_191]
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:184) ~[na:1.8.0_191]
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[na:1.8.0_191]
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1621) ~[na:1.8.0_191]
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:223) ~[na:1.8.0_191]
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037) ~[na:1.8.0_191]
at sun.security.ssl.Handshaker.process_record(Handshaker.java:965) ~[na:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1064) ~[na:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367) ~[na:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395) ~[na:1.8.0_191]
... 53 common frames omitted
Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:200) ~[na:1.8.0_191]
at java.security.cert.PKIXParameters.<init>(PKIXParameters.java:120) ~[na:1.8.0_191]
at java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:104) ~[na:1.8.0_191]
at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:89) ~[na:1.8.0_191]
... 65 common frames omitted
This is a printer-friendly version of Article 297905 and may be out of date. For the latest version click CS297905