Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21551

Can't create document with MongoDB

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.0-HF22
    • Fix Version/s: 6.0-HF36
    • Component/s: Core, Core MongoDB

      Description

      Since Nuxeo 6.0-HF22, creating a File document in a MongoDB repository fails with the following stacktrace:

      nuxeo_1    | Jan 30, 2017 3:45:10 PM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException
      nuxeo_1    | SEVERE: Error Rendering View[/view_documents.xhtml]
      nuxeo_1    | javax.el.ELException: /widgets/suggest_many_directory_widget_template.xhtml @49,225 value="#{select2Actions.resolveMultipleDirectoryEntries(currentValue, widgetProperty_directoryName, widgetProperty_localize, widgetProperty_keySeparator, widgetProperty_dbl10n, widgetProperty_labelFieldName)}": java.lang.NullPointerException
      nuxeo_1    | Caused by: javax.el.ELException: java.lang.NullPointerException
      nuxeo_1    | 	at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:339)
      nuxeo_1    | 	at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:280)
      nuxeo_1    | 	at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
      nuxeo_1    | 	at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
      nuxeo_1    | 	at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      nuxeo_1    | 	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
      nuxeo_1    | 	... 160 more
      nuxeo_1    | Caused by: java.lang.NullPointerException
      nuxeo_1    | 	at org.nuxeo.ecm.platform.ui.select2.Select2ActionsBean.getMultipleDirectoryEntries(Select2ActionsBean.java:329)
      nuxeo_1    | 	at org.nuxeo.ecm.platform.ui.select2.Select2ActionsBean.resolveMultipleDirectoryEntries(Select2ActionsBean.java:694)
      nuxeo_1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

        Attachments

        1. .env
          0.2 kB
        2. docker-compose.yml
          0.4 kB
        3. docker-compose-HF21.yml
          0.5 kB
        4. README.md
          1 kB
        5. start.sh
          0.4 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h