Alchemy.exe show in TaskManager but never launches

Posted 3 months ago by MyOtherMe

Post a topic
Answered
MyOtherMe
MyOtherMe

I was able to install Alchemy, but when I run it, the process shows in the Windows Task Manager, but Alchemy never shows on screen.


I noticed in the Alchemy-0.log file the following:

WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @75627c4a'

Jan 15, 2025 9:27:01 AM com.orasi.rest.RESTHttpConnection get

WARNING: Error Reading

javax.net.ssl.SSLHandshakeException: (certificate_unknown) PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Is there some way to fix this?


1 Votes

Michael Deveaux

Michael posted 3 months ago Admin Best Answer

Try making a change to the Alchemy.cfg file located in C:\Program Files\Alchemy\app


Add a -D command at the end of java-options - each line proceeded with "java-options="

[Application]

app.mainjar=$APPDIR\selenium-agent.jar

[JavaOptions]

java-options=-Djpackage.app-version=2.3.0 -D

java-options=--add-opens=java.base/java.lang=ALL-UNNAMED -D

java-options=--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED -D

java-options=--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED -D

java-options=--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED -D

java-options=--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED -D

java-options=--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED -D

java-options=--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED -D

java-options=-Xmx8192M

java-options=-Djavax.net.ssl.trustStore=path/to/your/truststore.jks -D

java-options=-Djavax.net.ssl.trustStorePassword=password -D


You'll also need to add whatever certificate is being used to the truststore.

1 Votes


5 Comments

Sorted by
B

Brian posted 3 days ago

2.5.0 is the version.  This is a fresh PC where it has never been installed before.  I downloaded the install package.  Installed it however the UI never opened. Rebooted and attempted again.  Killed the task and made the changes to the cfg by adding the -D. When I attempt to open now it does not load at all.  Removing the -D allows it to open in task manager by no UI.  

0 Votes

Michael Deveaux

Michael posted 3 days ago Admin

Brian, what version of Alchemy do you have installed? Please note that modifications to the Alchemy.cfg   will be reverted on a new install of Alchemy, so it would have to be updated again after a new install or upgrade.

0 Votes

B

Brian posted 4 days ago

I know this is an older post.  But I having exactly the same issue.  When I add -D the .exe doesn't open at all and logs nothing. Here is the contents of the log file when executing exactly as it was installed.  Any ideas?  I can't open the software at all. 

May 12, 2025 2:04:04 PM com.orasi.agent.AlchemyIDE main
INFO: Clearing compiler cache at C:\Users\xxxxxx\AppData\Local\Temp\\alchemy\compiler
May 12, 2025 2:04:04 PM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @26816c73'
May 12, 2025 2:04:05 PM com.orasi.rest.RESTHttpConnection get
WARNING: Error Reading
javax.net.ssl.SSLHandshakeException: (certificate_unknown) PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(Unknown Source)
  at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
  at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
  at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
  at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
  at java.base/java.security.AccessController.doPrivileged(Unknown Source)
  at java.base/sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
  at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
  at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
  at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
  at java.base/java.net.HttpURLConnection.getResponseMessage(Unknown Source)
  at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseMessage(Unknown Source)
  at com.orasi.rest.RESTHttpConnection.get(RESTHttpConnection.java:127)
  at com.orasi.agent.services.ProxyServiceFactory.invoke(ProxyServiceFactory.java:152)
  at jdk.proxy1/jdk.proxy1.$Proxy0.getStatus(Unknown Source)
  at com.orasi.agent.AlchemyIDE.authenticate(AlchemyIDE.java:330)
  at com.orasi.agent.AlchemyIDE.start(AlchemyIDE.java:381)
  at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:839)
  at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:483)
  at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
  at java.base/java.security.AccessController.doPrivileged(Unknown Source)
  at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
  at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
  at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
  at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:184)
  at java.base/java.lang.Thread.run(Unknown Source)
Caused by: javax.net.ssl.SSLHandshakeException: (certificate_unknown) PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
  at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
  at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
  at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
  at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(Unknown Source)
  at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(Unknown Source)
  at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(Unknown Source)
  at java.base/sun.security.ssl.SSLHandshake.consume(Unknown Source)
  at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
  at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
  at java.base/sun.security.ssl.TransportContext.dispatch(Unknown Source)
  at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
  at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
  at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
  at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
  at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
  at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
  at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
  at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
  at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
  at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
  at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
  at com.orasi.rest.RESTHttpConnection.get(RESTHttpConnection.java:100)
  ... 13 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  at java.base/sun.security.validator.PKIXValidator.doBuild(Unknown Source)
  at java.base/sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
  at java.base/sun.security.validator.Validator.validate(Unknown Source)
  at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
  at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
  ... 32 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
  at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
  at java.base/java.security.cert.CertPathBuilder.build(Unknown Source)
  ... 37 more

May 12, 2025 2:04:05 PM com.orasi.agent.AlchemyIDE authenticate
SEVERE: Could not access HELP services
java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "com.orasi.model.RESTHttpResponse.getContent()" is null
  at com.orasi.agent.services.ProxyServiceFactory.invoke(ProxyServiceFactory.java:173)
  at jdk.proxy1/jdk.proxy1.$Proxy0.getStatus(Unknown Source)
  at com.orasi.agent.AlchemyIDE.authenticate(AlchemyIDE.java:330)
  at com.orasi.agent.AlchemyIDE.start(AlchemyIDE.java:381)
  at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:839)
  at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:483)
  at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
  at java.base/java.security.AccessController.doPrivileged(Unknown Source)
  at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
  at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
  at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
  at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:184)
  at java.base/java.lang.Thread.run(Unknown Source)



0 Votes

MyOtherMe

MyOtherMe posted 3 months ago

This edit fixed the issue, thanks for the suggestion!

0 Votes

Michael Deveaux

Michael posted 3 months ago Admin Answer

Try making a change to the Alchemy.cfg file located in C:\Program Files\Alchemy\app


Add a -D command at the end of java-options - each line proceeded with "java-options="

[Application]

app.mainjar=$APPDIR\selenium-agent.jar

[JavaOptions]

java-options=-Djpackage.app-version=2.3.0 -D

java-options=--add-opens=java.base/java.lang=ALL-UNNAMED -D

java-options=--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED -D

java-options=--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED -D

java-options=--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED -D

java-options=--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED -D

java-options=--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED -D

java-options=--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED -D

java-options=-Xmx8192M

java-options=-Djavax.net.ssl.trustStore=path/to/your/truststore.jks -D

java-options=-Djavax.net.ssl.trustStorePassword=password -D


You'll also need to add whatever certificate is being used to the truststore.

1 Votes

Login or Sign up to post a comment

© Orasi Software, Inc. | All Rights Reserved.