[OpenVPMS Developers] [JIRA] Created: (OVPMS-959) NPE when adding assertion.number assertion to archetype
Key: OVPMS-959 URL: https://openvpms.atlassian.net/browse/OVPMS-959 Project: VPMS Web Application Issue Type: Bug Components: Administration Affects Versions: 1.4 Reporter: Tim Anderson Assignee: Tony De Keizer Priority: Minor
To reproduce: # go to Administration -> Archetypes # select an archetype (e.g product.merchandise) and click Edit # select a node descriptor (e.g active) # go to the Assertion Decsriptors collection and try and add any of assertion.number, assertion.stringcase, assertion.uniqueEntityRelationship, descriptor.assertion or assertion.localLookup # the following NPE will be thrown: {noformat} org.openvpms.component.business.service.archetype.helper.DescriptorHelper.getArchetypeDescriptor(DescriptorHelper.java:137) org.openvpms.component.business.service.archetype.helper.DescriptorHelper.getArchetypeDescriptor(DescriptorHelper.java:117) org.openvpms.web.component.im.layout.AbstractLayoutContext.getArchetypeDescriptor(AbstractLayoutContext.java:308) org.openvpms.web.component.im.layout.AbstractLayoutContext.getArchetypeDescriptor(AbstractLayoutContext.java:306) org.openvpms.web.component.im.layout.AbstractLayoutContext.getArchetypeDescriptor(AbstractLayoutContext.java:306) org.openvpms.web.component.im.layout.AbstractLayoutContext.getArchetypeDescriptor(AbstractLayoutContext.java:306) org.openvpms.web.component.im.layout.AbstractLayoutContext.getArchetypeDescriptor(AbstractLayoutContext.java:306) org.openvpms.web.component.im.layout.AbstractLayoutContext.getArchetypeDescriptor(AbstractLayoutContext.java:306) org.openvpms.web.component.im.layout.AbstractLayoutContext.getArchetypeDescriptor(AbstractLayoutContext.java:306) org.openvpms.web.component.im.layout.AbstractLayoutContext.getArchetypeDescriptor(AbstractLayoutContext.java:306) org.openvpms.web.component.im.edit.AbstractIMObjectEditor.<init>(AbstractIMObjectEditor.java:191) org.openvpms.web.component.im.edit.DefaultIMObjectEditor.<init>(DefaultIMObjectEditor.java:53) org.openvpms.web.component.im.edit.IMObjectEditorFactory.create(IMObjectEditorFactory.java:106) org.openvpms.web.component.im.edit.AbstractIMObjectCollectionEditor.createEditor(AbstractIMObjectCollectionEditor.java:421) org.openvpms.web.component.im.edit.AbstractIMObjectCollectionEditor.getEditor(AbstractIMObjectCollectionEditor.java:406) org.openvpms.web.component.im.edit.IMTableCollectionEditor.edit(IMTableCollectionEditor.java:442) org.openvpms.web.component.im.edit.IMTableCollectionEditor.onNew(IMTableCollectionEditor.java:382) org.openvpms.web.component.im.edit.IMTableCollectionEditor$4.onAction(IMTableCollectionEditor.java:323) org.openvpms.web.component.event.ActionListener.actionPerformed(ActionListener.java:41) {noformat}
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://openvpms.atlassian.net/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/developers Posts from this mailing list can be viewed online and replied to in the OpenVPMS Developer's forum- http://tinyurl.com/openvdf