-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.11
-
Component/s: None
When the advanced search configuration does not hold any layout configuration, the jar cannot be built, and server logs show the following stack trace:
Caused by: com.nuxeo.studio.client.model.StudioException: Failed to build feature with type 'search_form' and id 'global' at com.nuxeo.studio.core.impl.DefaultProject.doBuild(DefaultProject.java:570) at com.nuxeo.studio.core.impl.DefaultProject._build(DefaultProject.java:448) at com.nuxeo.studio.core.impl.DefaultProject.build(DefaultProject.java:417) at com.nuxeo.studio.servlet.StudioServlet.doBuildProject(StudioServlet.java:126) ... 59 more Caused by: java.lang.NullPointerException at com.nuxeo.studio.core.builders.SearchFormFeatureBuilder.buildBeforeContentView(SearchFormFeatureBuilder.java:345) at com.nuxeo.studio.core.builders.SearchFormFeatureBuilder.build(SearchFormFeatureBuilder.java:82) at com.nuxeo.studio.core.builders.SearchFormFeatureBuilder.build(SearchFormFeatureBuilder.java:50) at com.nuxeo.studio.core.impl.DefaultProject.doBuild(DefaultProject.java:568) ... 62 more