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

Fix crash on schema build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 20
    • Fix Version/s: None
    • Component/s: Documents

      Description

      The following error can happen when building a Studio project:

      Caused by: javax.servlet.ServletException: com.nuxeo.studio.client.model.StudioException: Failed to build feature with type 'ds' and id 'truc3'
      	at com.nuxeo.studio.servlet.StudioServlet.doBuildProject(StudioServlet.java:158)
      	at com.nuxeo.studio.servlet.StudioServlet.doGet(StudioServlet.java:87)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      	at com.nuxeo.studio.servlet.StudioServlet.service(StudioServlet.java:71)
      	... 67 more
      Caused by: com.nuxeo.studio.client.model.StudioException: Failed to build feature with type 'ds' and id 'truc3'
      	at com.nuxeo.studio.core.impl.DefaultProject.doBuild(DefaultProject.java:714)
      	at com.nuxeo.studio.core.impl.DefaultProject._build(DefaultProject.java:528)
      	at com.nuxeo.studio.core.impl.DefaultProject.build(DefaultProject.java:479)
      	at com.nuxeo.studio.servlet.StudioServlet.doBuildProject(StudioServlet.java:126)
      	... 70 more
      Caused by: java.lang.NullPointerException
      	at com.nuxeo.studio.core.builders.SchemaFeatureBuilder.build(SchemaFeatureBuilder.java:165)
      	at com.nuxeo.studio.core.builders.SchemaFeatureBuilder.build(SchemaFeatureBuilder.java:52)
      	at com.nuxeo.studio.core.impl.DefaultProject.doBuild(DefaultProject.java:712)
      	... 73 more
      

      Reproduced on my sandbox, seems linled to the fact that i deleted some xsd resources.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: