You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "sdedic (via GitHub)" <gi...@apache.org> on 2024/02/07 09:50:44 UTC
[PR] Skip unreadable multiproperties. [netbeans]
sdedic opened a new pull request, #7037:
URL: https://github.com/apache/netbeans/pull/7037
Gradle projects for intellij plugins cannot be loaded - an exception is thrown:
```
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.inspectObjectAndValues0(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.inspectObjectAndValues(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.dumpValue(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.inspectObjectAndValues0(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.inspectObjectAndValues(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.inspectObjectAndValues(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.inspectObjectAndValues0(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.inspectObjectAndValues(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.inspectObjectAndValues(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.inspectObjectAndValues0(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.inspectObjectAndValues(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.startInspectObjectAndValues(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.detectTaskProperties(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.lambda$runAndRegisterPerf$7(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.runAndRegisterPerf(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.runAndRegisterPerf(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.lambda$buildAll$3(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.sinceGradle(Unknown Source)
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.buildAll(Unknown Source)
org.netbeans.modules.gradle.tooling.NetBeansToolingPlugin$NetBeansToolingModelBuilder.buildAll(Unknown Source)
org.gradle.tooling.provider.model.internal.DefaultToolingModelBuilderRegistry$BuilderWithNoParameter.build(DefaultToolingModelBuilderRegistry.java:264)
```
The error is caused by an unreadable (without getter) multi-property - so this PR just checks if the getter exists. The check is already in place for metabean properties. Without a getter, `metaClazz.getProperty()` would throw an Exception anyway.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Skip unreadable multiproperties. [netbeans]
Posted by "thurka (via GitHub)" <gi...@apache.org>.
thurka commented on PR #7037:
URL: https://github.com/apache/netbeans/pull/7037#issuecomment-1934126625
I can confirm that this fixes the reported exception. However I have no idea if this is a right fix or not.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Skip unreadable multiproperties. [netbeans]
Posted by "sdedic (via GitHub)" <gi...@apache.org>.
sdedic merged PR #7037:
URL: https://github.com/apache/netbeans/pull/7037
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists