Dear friends, please
UPDATE: Excuse me please, I put this thread under Tutorial - it must be in question
I have in B4J everything OK, programm is running.
But if I use packager for Java 11, then I get this error and the app crash, why please?
Thank you
p4ppc
UPDATE: Excuse me please, I put this thread under Tutorial - it must be in question
I have in B4J everything OK, programm is running.
But if I use packager for Java 11, then I get this error and the app crash, why please?
C:\b4j\B4JPackager11\Objects\temp\build\bin>java.exe @release_java_modules.txt -m b4j/trying.uz.main
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at java.base/sun.security.ssl.SSLSessionImpl.getPeerCertificates(Unknown Source)
at b4j/org.apache.http.conn.ssl.AbstractVerifier.verify(Unknown Source)
at b4j/org.apache.http.conn.ssl.SSLSocketFactory.createSocket(Unknown Source)
at b4j/org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(Unknown Source)
at b4j/org.apache.http.impl.conn.AbstractPoolEntry.open(Unknown Source)
at b4j/org.apache.http.impl.conn.AbstractPooledConnAdapter.open(Unknown Source)
at b4j/org.apache.http.impl.client.DefaultRequestDirector.execute(Unknown Source)
at b4j/org.apache.http.impl.client.AbstractHttpClient.execute(Unknown Source)
at b4j/org.apache.http.impl.client.AbstractHttpClient.execute(Unknown Source)
at b4j/org.apache.http.impl.client.AbstractHttpClient.execute(Unknown Source)
at b4j/anywheresoftware.b4a.http.HttpClientWrapper.executeWithTimeout(Unknown Source)
at b4j/anywheresoftware.b4a.http.HttpClientWrapper.access$0(Unknown Source)
at b4j/anywheresoftware.b4a.http.HttpClientWrapper$ExecuteHelper.run(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at java.base/sun.security.ssl.SSLSessionImpl.getPeerCertificates(Unknown Source)
at b4j/org.apache.http.conn.ssl.AbstractVerifier.verify(Unknown Source)
at b4j/org.apache.http.conn.ssl.SSLSocketFactory.createSocket(Unknown Source)
at b4j/org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(Unknown Source)
at b4j/org.apache.http.impl.conn.AbstractPoolEntry.open(Unknown Source)
at b4j/org.apache.http.impl.conn.AbstractPooledConnAdapter.open(Unknown Source)
at b4j/org.apache.http.impl.client.DefaultRequestDirector.execute(Unknown Source)
at b4j/org.apache.http.impl.client.AbstractHttpClient.execute(Unknown Source)
at b4j/org.apache.http.impl.client.AbstractHttpClient.execute(Unknown Source)
at b4j/org.apache.http.impl.client.AbstractHttpClient.execute(Unknown Source)
at b4j/anywheresoftware.b4a.http.HttpClientWrapper.executeWithTimeout(Unknown Source)
at b4j/anywheresoftware.b4a.http.HttpClientWrapper.access$0(Unknown Source)
at b4j/anywheresoftware.b4a.http.HttpClientWrapper$ExecuteHelper.run(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Thank you
p4ppc