[OpenVPMS Developers] [JIRA] (OVPMS-1260) NullPointerException trying to send message to non-existent user

Message from Tim Anderson (Created) (JIRA) jira@openvpms.org

NullPointerException trying to send message to non-existent user ----------------------------------------------------------------

Key: OVPMS-1260 URL: https://openvpms.atlassian.net/browse/OVPMS-1260 Project: VPMS Web Application Issue Type: Bug Components: User Interface Affects Versions: 1.6 Reporter: Tim Anderson Assignee: Tim Anderson Fix For: 1.6

From http://www.openvpms.org/forum/openvpms-developers-16b3-null-pointer-error-when-w-riting-message-non-existent-user : {quote} Playing with the messaging system, I entered 'fred' [a non existent user with no match to fred%] in the to: line. When I pressed Send, I got the user lookup screen, but with the error window showing with the text "An internal error has occurred". The error text is given below.

{noformat} An internal application error has occurred. java.lang.NullPointerException org.openvpms.component.business.service.archetype.helper.DescriptorHelper.getArchetypeDescriptor(DescriptorHelper.java:131) org.openvpms.component.business.service.archetype.helper.IMObjectBean.getArchetype(IMObjectBean.java:1568) org.openvpms.component.business.service.archetype.helper.IMObjectBean.getNode(IMObjectBean.java:1956) org.openvpms.component.business.service.archetype.helper.IMObjectBean.getValues(IMObjectBean.java:409) org.openvpms.component.business.service.archetype.helper.IMObjectBean.getValues(IMObjectBean.java:423) org.openvpms.component.business.service.archetype.helper.IMObjectBean.getRelatedObjectRefs(IMObjectBean.java:1601) org.openvpms.component.business.service.archetype.helper.IMObjectBean.getRelatedObjects(IMObjectBean.java:1588) org.openvpms.component.business.service.archetype.helper.IMObjectBean.getNodeTargetObjects(IMObjectBean.java:921) org.openvpms.component.business.service.archetype.helper.IMObjectBean.getNodeTargetObjects(IMObjectBean.java:808) org.openvpms.web.app.workflow.messaging.ToAddressEditor.getUsers(ToAddressEditor.java:273) org.openvpms.web.app.workflow.messaging.ToAddressEditor.getTo(ToAddressEditor.java:122) org.openvpms.web.app.workflow.messaging.ToAddressEditor.doValidation(ToAddressEditor.java:231) org.openvpms.web.component.property.AbstractModifiable.validate(AbstractModifiable.java:55) org.openvpms.web.component.property.Validator.validate(Validator.java:50) org.openvpms.web.component.edit.Editors.doValidation(Editors.java:284) org.openvpms.web.component.property.AbstractModifiable.validate(AbstractModifiable.java:55) org.openvpms.web.component.property.Validator.validate(Validator.java:50) org.openvpms.web.component.im.edit.AbstractIMObjectEditor.doValidation(AbstractIMObjectEditor.java:479) org.openvpms.web.component.im.edit.act.AbstractActEditor.doValidation(AbstractActEditor.java:164) org.openvpms.web.component.property.AbstractModifiable.validate(AbstractModifiable.java:55) org.openvpms.web.app.workflow.messaging.UserMessageEditDialog.send(UserMessageEditDialog.java:91) org.openvpms.web.app.workflow.messaging.UserMessageEditDialog.onButton(UserMessageEditDialog.java:80) org.openvpms.web.component.dialog.PopupDialog$2.onAction(PopupDialog.java:394) org.openvpms.web.component.event.ActionListener.actionPerformed(ActionListener.java:41) {noformat} {quote}

-- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://openvpms.atlassian.net/secure/ContactAdministrators!default.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

Syndicate content