[
http://jira.nuxeo.org/browse/NXP-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=37611#action_37611
]
Anahide Tchertchian commented on NXP-2466:
------------------------------------------
Steps to reproduce:
- on the files tabs, add a file then remove it (click on 'new attached file'
then click on the red cross)
- click on save
You'll get the following error logs
12:05:12,697 ERROR [STDERR]
org.nuxeo.ecm.core.api.model.PropertyAccessException: Error accessing property:
Trying to access a member of a null object
12:05:12,698 ERROR [STDERR] at
org.nuxeo.ecm.core.api.model.impl.osm.DynamicObjectAdapter.setMap(DynamicObjectAdapter.java:90)
12:05:12,698 ERROR [STDERR] at
org.nuxeo.ecm.core.api.model.impl.osm.ComplexMemberProperty.setValue(ComplexMemberProperty.java:65)
12:05:12,698 ERROR [STDERR] at
org.nuxeo.ecm.core.api.model.impl.ComplexProperty.setValue(ComplexProperty.java:212)
12:05:12,698 ERROR [STDERR] at
org.nuxeo.ecm.core.api.model.impl.ListProperty.add(ListProperty.java:99)
12:05:12,698 ERROR [STDERR] at
org.nuxeo.ecm.core.api.model.impl.ListProperty.applyListDiff(ListProperty.java:355)
12:05:12,698 ERROR [STDERR] at
org.nuxeo.ecm.core.api.model.impl.ListProperty.setValue(ListProperty.java:220)
12:05:12,698 ERROR [STDERR] at
org.nuxeo.ecm.core.api.model.impl.AbstractProperty.setValue(AbstractProperty.java:325)
12:05:12,698 ERROR [STDERR] at
org.nuxeo.ecm.core.api.impl.DataModelImpl.setData(DataModelImpl.java:103)
12:05:12,698 ERROR [STDERR] at
org.nuxeo.ecm.core.api.impl.DocumentModelImpl.setProperty(DocumentModelImpl.java:689)
12:05:12,699 ERROR [STDERR] at
org.nuxeo.ecm.platform.ui.web.resolver.DocumentModelResolver.setValue(DocumentModelResolver.java:200)
12:05:12,699 ERROR [STDERR] at
javax.el.CompositeELResolver.setValue(CompositeELResolver.java:275)
12:05:12,699 ERROR [STDERR] at
com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:93)
12:05:12,699 ERROR [STDERR] at
com.sun.el.parser.AstValue.setValue(AstValue.java:134)
12:05:12,699 ERROR [STDERR] at
com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
12:05:12,699 ERROR [STDERR] at
com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:93)
12:05:12,699 ERROR [STDERR] at
javax.faces.component.UIInput.updateModel(UIInput.java:765)
12:05:12,699 ERROR [STDERR] at
org.nuxeo.ecm.platform.ui.web.component.list.UIEditableList.processUpdates(UIEditableList.java:884)
12:05:12,699 ERROR [STDERR] at
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1053)
12:05:12,699 ERROR [STDERR] at
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1053)
12:05:12,699 ERROR [STDERR] at
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1053)
12:05:12,700 ERROR [STDERR] at
javax.faces.component.UIForm.processUpdates(UIForm.java:255)
12:05:12,700 ERROR [STDERR] at
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1053)
12:05:12,700 ERROR [STDERR] at
javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:706)
> Fix error logs when adding then removing a file in files list
> -------------------------------------------------------------
>
> Key: NXP-2466
> URL: http://jira.nuxeo.org/browse/NXP-2466
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Affects Versions: 5.1.4, 5.2 M1
> Reporter: Anahide Tchertchian
> Assignee: Anahide Tchertchian
> Fix For: 5.1.5
>
>
> The file added is actually a map that is not considered null, but it cannot
> be set as all its content is empty.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets