[OpenVPMS Developers] 1.6b3 Null Pointer Error when w riting a message to non-existent user

Message from tim.gething@bigpond.com tim.gething@bigpond.com

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. [I do not have the smtp gateway set up so the system cannot automatically email the error.]

Regards, Tim

> >1.6-beta-3 >4887 >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) > nextapp.echo2.app.button.AbstractButton.fireActionPerformed(AbstractButton.java:135) > echopointng.ButtonEx$1.actionPerformed(ButtonEx.java:120) > nextapp.echo2.app.button.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:70) > echopointng.model.DefaultButtonModelEx.doAction(DefaultButtonModelEx.java:51) > echopointng.ButtonEx.processInput(ButtonEx.java:202) > nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:116) > nextapp.echo2.app.update.UpdateManager.processClientUpdates(UpdateManager.java:89) > nextapp.echo2.webcontainer.ContainerSynchronizeService.renderUpdate(ContainerSynchronizeService.java:471) > nextapp.echo2.webrender.service.SynchronizeService.service(SynchronizeService.java:279) > nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.java:273) > org.openvpms.web.servlet.SpringWebContainerServlet.process(SpringWebContainerServlet.java:148) > nextapp.echo2.webrender.WebRenderServlet.doPost(WebRenderServlet.java:189) > javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343) > org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) > org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) > org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78) > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) > org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187) > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) > org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97) > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) > org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79) > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) > org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149) > org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) > org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) > java.lang.Thread.run(Unknown Source) > > >381677744 >518979584 >518979584 > > > >Files\Java\jre7\bin"/> > > > > //java.oracle.com/"/> > > > > > >Files\Apache Software Foundation\Tomcat 6.0\conf\logging.properties"/> > > > > >Specification"/> > >Foundation\Tomcat 6.0"/> > > >value="sun.awt.Win32GraphicsEnvironment"/> > >Foundation\Tomcat 6.0\endorsed"/> > > >Foundation\Tomcat 6.0\temp"/> > >"/> > > > >value="org.apache.juli.ClassLoaderLogManager"/> > > > > >value="org.openvpms.component.system.common.jxpath.OpenVPMSContextFactoryReferenceImpl"/> > >Foundation\Tomcat >6.0\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program >Files (x86)\Calibre2\;C:\Program Files\Common Files\Microsoft Shared\Windows >Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows >Live;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files >(x86)\Windows Live\Shared;C:\Program Files (x86)\Common Files\Roxio >Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio >Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio >Shared\OEM\12.0\DLLShared\;C:\Program Files >(x86)\Roxio\OEM\AudioCore\;C:\Program Files (x86)\OpenOffice.org >3\program\;C:\Program Files\MySQL\MySQL Server >5.5\bin\;c:\maven\bin;C:\Program Files\SlikSvn\bin;."/> > > >Specification"/> > > >Compilers"/> > > > > > > > > >Foundation\Tomcat 6.0"/> > > >Foundation\Tomcat 6.0\bin\bootstrap.jar;C:\Program Files\Apache Software >Foundation\Tomcat 6.0\bin\tomcat-juli.jar"/> > >value="org.apache.naming.java.javaURLContextFactory"/> > >Foundation\Tomcat 6.0\webapps\openvpms\"/> > >value="sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper."/> > > > > > > > > > >Files\Java\jre7\lib\ext;C:\Windows\Sun\Java\lib\ext"/> > >Files\Java\jre7\lib\resources.jar;C:\Program >Files\Java\jre7\lib\rt.jar;C:\Program >Files\Java\jre7\lib\sunrsasign.jar;C:\Program >Files\Java\jre7\lib\jsse.jar;C:\Program >Files\Java\jre7\lib\jce.jar;C:\Program >Files\Java\jre7\lib\charsets.jar;C:\Program >Files\Java\jre7\lib\jfr.jar;C:\Program Files\Java\jre7\classes"/> > > > >Foundation\Tomcat 6.0"/> > > >value="http://bugreport.sun.com/bugreport/"/> > >value="${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar"/> > > > >value="sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans."/> > > > > >

_______________________________________________ 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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: [OpenVPMS Developers] 1.6b3 Null Pointer Error when ...

Raised OVPMS-1260 to track this bug.

Syndicate content