Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fails with: > Task :apps:headless:headless-admin-site:headless-admin-site-impl:buildREST FAILED Writing /home/rpulido/projects/liferay/p3/liferay-portal/modules/apps/headless/headless-admin-site/headless-admin-site-impl/src/main/java/com/liferay/headless/admin/site/internal/jaxrs/application/HeadlessAdminSiteApplication.java Writing /home/rpulido/projects/liferay/p3/liferay-portal/modules/apps/headless/headless-admin-site/headless-admin-site-client/src/main/java/com/liferay/headless/admin/site/client/aggregation/Aggregation.java Writing /home/rpulido/projects/liferay/p3/liferay-portal/modules/apps/headless/headless-admin-site/headless-admin-site-client/src/main/java/com/liferay/headless/admin/site/client/json/BaseJSONParser.java Writing /home/rpulido/projects/liferay/p3/liferay-portal/modules/apps/headless/headless-admin-site/headless-admin-site-client/src/main/java/com/liferay/headless/admin/site/client/aggregation/Facet.java Writing /home/rpulido/projects/liferay/p3/liferay-portal/modules/apps/headless/headless-admin-site/headless-admin-site-client/src/main/java/com/liferay/headless/admin/site/client/http/HttpInvoker.java Writing /home/rpulido/projects/liferay/p3/liferay-portal/modules/apps/headless/headless-admin-site/headless-admin-site-client/src/main/java/com/liferay/headless/admin/site/client/pagination/Page.java Writing /home/rpulido/projects/liferay/p3/liferay-portal/modules/apps/headless/headless-admin-site/headless-admin-site-client/src/main/java/com/liferay/headless/admin/site/client/pagination/Pagination.java Writing /home/rpulido/projects/liferay/p3/liferay-portal/modules/apps/headless/headless-admin-site/headless-admin-site-client/src/main/java/com/liferay/headless/admin/site/client/permission/Permission.java Writing /home/rpulido/projects/liferay/p3/liferay-portal/modules/apps/headless/headless-admin-site/headless-admin-site-client/src/main/java/com/liferay/headless/admin/site/client/problem/Problem.java Writing /home/rpulido/projects/liferay/p3/liferay-portal/modules/apps/headless/headless-admin-site/headless-admin-site-client/src/main/java/com/liferay/headless/admin/site/client/function/UnsafeSupplier.java Jun 04, 2024 5:48:27 PM com.liferay.portal.kernel.log.Jdk14LogImpl error SEVERE: null java.lang.NullPointerException at com.liferay.portal.tools.rest.builder.internal.freemarker.tool.java.parser.ResourceOpenAPIParser._getReturnType(ResourceOpenAPIParser.java:1333) at com.liferay.portal.tools.rest.builder.internal.freemarker.tool.java.parser.ResourceOpenAPIParser.lambda$getJavaMethodSignatures$1(ResourceOpenAPIParser.java:80) at com.liferay.portal.tools.rest.builder.internal.freemarker.tool.java.parser.ResourceOpenAPIParser._visitOperations(ResourceOpenAPIParser.java:1434) at com.liferay.portal.tools.rest.builder.internal.freemarker.tool.java.parser.ResourceOpenAPIParser.getJavaMethodSignatures(ResourceOpenAPIParser.java:77) at com.liferay.portal.tools.rest.builder.internal.freemarker.tool.FreeMarkerTool.getResourceJavaMethodSignatures(FreeMarkerTool.java:760) at com.liferay.portal.tools.rest.builder.RESTBuilder._fixOpenAPIOperationIds(RESTBuilder.java:1366) at com.liferay.portal.tools.rest.builder.RESTBuilder._checkOpenAPIYAMLFile(RESTBuilder.java:466) at com.liferay.portal.tools.rest.builder.RESTBuilder.build(RESTBuilder.java:201) at com.liferay.portal.tools.rest.builder.RESTBuilder.main(RESTBuilder.java:108) Exception in thread "main" java.lang.RuntimeException: Error generating REST API Error in file "rest-openapi.yaml": null at com.liferay.portal.tools.rest.builder.RESTBuilder.main(RESTBuilder.java:119) Caused by: java.lang.RuntimeException: Error in file "rest-openapi.yaml": null at com.liferay.portal.tools.rest.builder.RESTBuilder.build(RESTBuilder.java:207) at com.liferay.portal.tools.rest.builder.RESTBuilder.main(RESTBuilder.java:108) > Task :apps:headless:headless-admin-site:headless-admin-site-api:baseline SKIPPED > Task :apps:headless:headless-admin-site:headless-admin-site-api:syncVersions FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':apps:headless:headless-admin-site:headless-admin-site-impl:buildREST'. > Process 'command '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-1.fc36.x86_64/bin/java'' finished with non-zero exit value 1 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Get more help at https://help.gradle.org. BUILD FAILED in 21s 129 actionable tasks: 73 executed, 56 up-to-date Publishing build scan... https://develocity.liferay.com/s/npudoakrmzez6
- Loading branch information