Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-1554

Fix error at jar build when advanced search does not hold any layout configuration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.11
    • Component/s: None

      Description

      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
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: