sdedic opened a new pull request, #5868: URL: https://github.com/apache/netbeans/pull/5868
On some projects, like [`micronaut-liquidbase`](https://github.com/liquibase/liquibase), the IDE reports an exception during project load and fails to load the project properly: ``` Reason: java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "v" is null java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "v" is null at org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.dumpContainerProperties(NbProjectInfoBuilder.java:737) at org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.inspectExtensions(NbProjectInfoBuilder.java:894) at org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.detectExtensions(NbProjectInfoBuilder.java:440) at org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.lambda$runAndRegisterPerf$9(NbProjectInfoBuilder.java:413) at org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.runAndRegisterPerf(NbProjectInfoBuilder.java:419) at org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.runAndRegisterPerf(NbProjectInfoBuilder.java:413) at org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.lambda$buildAll$3(NbProjectInfoBuilder.java:227) ``` This PR changes the places that serialize map/list/property values and only recurses on non-null values, writes safely nulls. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
