Liferay Developer Studio 3.9.3 fails to start gradle workspaceLiferay Developer Studio 3.9.3 fails to start gradle workspacehttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1213752732024-03-29T01:40:32Z2024-03-29T01:40:32ZRE: Liferay Developer Studio 3.9.3 fails to start gradle workspaceSebastian Wikholmhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1213759152022-03-09T05:46:43Z2022-03-09T05:46:42Z<p>Still got an issue with the workspace being "corrupt" after
this, dont know where to begin..:</p>
<p>
<img alt="" src="/documents/14/0/gradle-error.png/024b995b-06f6-0ec8-43d9-4d50f9697879?t=1646804771913&imagePreview=1" />
<br /> </p>Sebastian Wikholm2022-03-09T05:46:42ZRE: Liferay Developer Studio 3.9.3 fails to start gradle workspaceVilas Rakhehttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1213756672022-03-09T16:53:32Z2022-03-08T18:33:29Z<p>After experiencing som network issues and being disconnected from the
development enviroment, and Liferay developer studio being shutdown
inproperly, I get the following errors when trying to start developer
studio: ---> For the above issue it generally happens due to
network break as it fails to apply gradle workspace plugin mentioned
in settings.gradle file The only solution to this as of now is to make
sure you have working network connection for to apply plugin &
restart the LDS.</p>Vilas Rakhe2022-03-08T18:33:29ZRE: Liferay Developer Studio 3.9.3 fails to start gradle workspaceChristopher Dawsonhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1213755482022-03-08T16:47:37Z2022-03-08T16:47:36Z<p>Started working again for me about 10 minutes ago (11:30 AM EST)</p>
<p>Might have been an overlapping certificate that needed revoking to
allow the new one to propagate.</p>
<p>But the exception was certainly not particularly helpful. </p>
<p>Restarted my Dev Studio and refreshed my workspace and I was back up
and running. </p>Christopher Dawson2022-03-08T16:47:36ZRE: RE: Liferay Developer Studio 3.9.3 fails to start gradle workspaceSebastian Wikholmhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1213756152022-03-08T15:57:59Z2022-03-08T15:57:58Z<p>I noticed it myself, their ssl certificate had expired.</p>
<p>Now though when i start my workspace, all gradle actions and
workspace tree views are empty, any idea how to restore the workspace?
This has happened before and had to resort to backups as i could find
anything about the issue</p>Sebastian Wikholm2022-03-08T15:57:58ZRE: Liferay Developer Studio 3.9.3 fails to start gradle workspaceDaniel Ghttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1213753662022-03-08T15:13:48Z2022-03-08T15:13:46Z<p>Hi,</p>
<p>It seems like a issue with a certificate of the repo. With other version,</p>
<pre>
<code class="language-java">Caused by: org.gradle.api.GradleException: Unable to get product info for :dxp-7.3-sp1
at com.liferay.gradle.plugins.workspace.WorkspaceExtension.lambda$_getProductInfo$0(WorkspaceExtension.java:476)
at com.liferay.gradle.plugins.workspace.WorkspaceExtension._getProductInfo(WorkspaceExtension.java:443)
at com.liferay.gradle.plugins.workspace.WorkspaceExtension._getDefaultAppServerVersion(WorkspaceExtension.java:390)
at com.liferay.gradle.plugins.workspace.WorkspaceExtension.<init>(WorkspaceExtension.java:80)
at com.liferay.gradle.plugins.workspace.WorkspaceExtension_Decorated.<init>(Unknown Source)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at org.gradle.internal.instantiation.generator.AsmBackedClassGenerator$InvokeConstructorStrategy.newInstance(AsmBackedClassGenerator.java:1969)
at org.gradle.internal.instantiation.generator.AbstractClassGenerator$GeneratedClassImpl$GeneratedConstructorImpl.newInstance(AbstractClassGenerator.java:468)
at org.gradle.internal.instantiation.generator.DependencyInjectingInstantiator.doCreate(DependencyInjectingInstantiator.java:64)
... 148 more
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at com.liferay.portal.tools.bundle.support.internal.util.HttpUtil._downloadFile(HttpUtil.java:183)
at com.liferay.portal.tools.bundle.support.internal.util.HttpUtil.downloadFile(HttpUtil.java:152)
at com.liferay.portal.tools.bundle.support.commands.DownloadCommand.execute(DownloadCommand.java:65)
at com.liferay.gradle.plugins.workspace.WorkspaceExtension.lambda$_getProductInfo$0(WorkspaceExtension.java:456)
... 158 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
... 173 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
... 173 more
</code></pre>
<p>I think the only solution is waiting for Liferay to fix the issue</p>
<p>Regards,</p>Daniel G2022-03-08T15:13:46ZRE: Liferay Developer Studio 3.9.3 fails to start gradle workspaceSamuel Gruhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1213755132022-03-08T17:33:45Z2022-03-08T14:47:06Z<pre id="tw-target-text">
Hello,
We are in the same situation, we cannot build our project.</pre>
<p>In the settings.graddle, we have an
url https://repository.liferay.com/nexus/content/groups/public and
the certificat has expired. </p>
<p>Could Liferay do anything to fix the problem, please ?</p>
<p> </p>
<p>Samuel Gru</p>
<p> </p>
<p> </p>Samuel Gru2022-03-08T14:47:06ZLiferay Developer Studio 3.9.3 fails to start gradle workspaceSebastian Wikholmhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1213752722022-03-08T12:46:44Z2022-03-08T12:46:42Z<p>After experiencing som network issues and being disconnected from the
development enviroment, and Liferay developer studio being shutdown
inproperly, I get the following errors when trying to start developer
studio:<br /> </p>
<blockquote>
<p>
<br /> FAILURE: Build failed with an exception.</p>
<p>* Where:<br /> Settings file
'C:\LiferayIDE_3_9_3\liferay-workspace\settings.gradle' line: 22</p>
<p>* What went wrong:<br /> A problem occurred evaluating settings
'liferay-workspace'.<br /> > Failed to apply plugin
'com.liferay.workspace'.<br /> > Could not create an instance
of type
com.liferay.gradle.plugins.workspace.WorkspaceExtension.<br />
> Unable to get product info for :portal-7.4-ga1</p>
<p>* Try:<br /> Run with --stacktrace option to get the stack trace