ProductReleaseValueSource Error | IntelliJ Plugin

Answered

Hi,

I'm trying to creata an intelliJ plugin using https://github.com/JetBrains/intellij-platform-plugin-template . It work as expected in my personal machine. But I'm unable to build / run it in corporate network (behind proxies).

2025-01-23T12:40:12.758+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception
2025-01-23T12:40:12.758+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2025-01-23T12:40:12.758+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] *Where:|
2025-01-23T12:40:12.758+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Buildfile
"C: \Users\\source\repos\intellij-platform-plugin-template\build.gradle.kts' line: 108
2025-01-23T12:40:12.758+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2025-01-23T12:40:12.758+0530 [ERROR] [orggradle.internal.buildevents.BuildExceptionReporter] *What went wrong:
2025-61-23T12:46:12.758+0530 [ERROR] [orggradle.internal.buildevents.BuildExceptionReporter] Could not isolate value org.jetbrains.intellij.platform.gradle.providers
ProductReleasesValueSource$Parameters_Decorated@5eabf063 of type ProductReleasesValueSource.Parameters
2025-01-23T12:40:12.758+0536 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]> Failed to query the value of property 'types'
2025-61-23T12:40:12.759+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
No IntelliJ Platform dependency found
Please ensure there is a single IntelliJ Platform dependency defined
2025-61-23T12:46:12.759+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
in your project and that the necessary repositories, where it can be located, are added.
2625-01-23T12:46:12.759+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
See: https://plugins.jetbrains
-com/docs/ intelli/toolsintelli1-platforn-gnadle-plugin-dependencies-extension.hta
2025-61-23T12:46:12.759+0536 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2025-01-23T12:40:12.759+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
2625-61-23T12:46:12.759+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] >Run_with--stacktrace option to get the stack trace
2025-01-23T12:40:12.759+0536 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > 6et more help at https://help.gradle.org
2625-01-23T12:40:12.759+0530 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger]
2025-61-23T12:46:12.760+0530 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger]

 

 

Need some suggestions on it.

0
6 comments

Hi,

I don't understand what the issue is. It doesn't seem to be a connection issue at first sight.

Is your project setup exactly the same on both machines? Are Gradle versions the same? What are the versions?

What is the exact build script and related files?

Is this error exactly the same?

See: https://plugins.jetbrains
-com/docs/ intelli/toolsintelli1-platforn-gnadle-plugin-dependencies-extension.hta

The URL is wrong and should be:
https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html

0

Karol Lewandowski : Everything is exactly same.

Regarding the URL: My bad. Its a typo.  

0

Please share your exact build script. The error points to line 108, but in the template, line 108 is just }. Also, try to run it with the --stacktrace parameter.

0

Apols. I can't share the snapshot. But the error is: 

 

Could not isolate value org.jetbrains.intellij.platform.gradle.providers.ProductReleasesValuesource$Parameters_Decorated@ca7a828 of type ProductReLeasesValueSource.Parameters

‣ Failed to query the value of property ‘types’

No IntelliJ Platform dependency found.

Please ensure there is a single IntelliJ Platform dependency defined in your project and that the necessary repositories, where it can be located, are added.

see: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-qradle-pluqin-dependencies-extension.html

* Try:

‣ Run with -info or -- debug option to get more log output

‣ Run with --scan to get full insights

‣ Get more help at https:/help.gradle.org

Exception is:

org.gradle.internal.snapshot.impl.IsolationException: Could not isolate value org.jetbrains.intellij.platform.gradle.providers.ProductReleasesvalueSource$Parameters_Decorated@ca7a828.of type

ProductReleasesValueSource.Parameters <15 internal lines>

at org-jetbrains.intellij.platform.gradle.extensions.IntelliJPlatformDependenciesHelper$addIntelliJPluginVerifierIdes$$inlined$cachedListProvider$IntelliJPlatformGradlePlugin$1.call

(IntelliJPlatformDependenciesHelper.kt:1170)

at org.jetbrains.intellij.platform.gradle.extensions.IntelliJPlatformDependenciesHelper$addIntelliJPluginVerifierIdes$$inlined$cachedListProviderŞIntelliJPlatformGradlePlugin$1.call

(IntelliJPlatformDependenciesHelper.kt:101) <19 internal lines>

at org-jetbrains.intellij.platform.gradle.extensions.IntelliJPlatformDependenciesHelper.addIntelliJPluginVerifierIdes$IntelliJPlatformGradlePlugin(IntelliJPlatformDependenciesHelper.kt:241)

at org.jetbrains.intellij.platform.gradle.extensions.IntelliJPlatformDependenciesHelper.addIntelliJPluginVerifierIdes$IntelliJPlatformGradlePluginSdefault(IntelliJPlatformDependenciesHelper.kt:236)

at org.jetbrains.intellij.platform.gradle.extensions.IntelliJPlatformExtension$PluginVerification$Ides.recommended(IntelliJPlatformExtension.kt:918)

at Build_gradle$4$4$1.execute(build.gradle.kts:106)

Build_gradle$4$4$1.execute(build.gradle.kts:105)

at org.jetbrains.intellij.platform.gradle.extensions.IntelliJPlatformExtension$Pluginverification.ides(IntelliJPlatformExtension.kt:674)

at Build_gradle$4$4$1.execute (build.gradle.kts:105)

at Build_gradle$4$4$1.execute(build.gradle.kts:104)

at org.jetbrains.intellij.platform.gradle.extensions.IntelliJPlatformExtension.pluginVerification(IntelliJPlatformExtension.kt:207)

at Build. gradle$4.execute(build.gradle.kts:104)

at Build_gradle$4.execute (build gradle.kts:54) <4 internal lines>

at Build_gradle.<init>(build.gradle.kts:54)

at Program.execute(Unknown Source) <2 internal lines>

at Program.execute(Unknown Source) <168 internal lines>

Caused by: org.gradle.api.internal.provider.AbstractProperty$PropertyQueryException: Failed to query the value of property "types'. <12 internal liness

223 more

Caused by: org.gradle.api.GradleException: No IntelliJ Platform dependency found.

 

Please ensure there is a single IntelliJ Platform dependency defined in your project and that the necessary repositories, where can be located, are added.

See: https://pluqins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-pluqin-dependencies-extension.htmL

at org-jetbrains.intellij.platform.gradle.utils.UtilsKt.platformPath(utils.kt:78)

at org-jetbrains.intellij.platform.gradle.extensions.IntelliJPlatformExtension.getPlatformPath(IntelliJPlatformExtension.kt:70)

at org-jetbrains.intellij.platform.gradle.extensions.IntelliJPlatformExtension.getProductInfo(IntIntelliJPlatformExtension.kt:76)

at org.jetbrains.intellij.platform.gradle.extensions.IntelliJPlatformExtension$PluginVerification$Ides$ProductReleasesValueSource$2$1.transform(IntelliJPlatformExtension.kt:941) 

at org-jetbrains.intellij.platform.gradle.extensions.IntelliJPlatformExtension$PluginVerification$Ides$ProductReleasesValueSource$2$1.transform(IntelliJPlatformExtension.kt:940)<9internal lines>

234 more

BUILD FAILED in 1s

0

Is the https://www.jetbrains.com/updates/updates.xml file accessible from your corporate network?

It looks like Gradle tries to parse the file that has malformed content and then fails to read the necessary data.

0

Please sign in to leave a comment.