[OpenVPMS Developers] [JIRA] (OVPMS-1264) Internal Application Error using custom fields
Internal Application Error using custom fields ----------------------------------------------
Key: OVPMS-1264 URL: https://openvpms.atlassian.net/browse/OVPMS-1264 Project: VPMS Web Application Issue Type: Bug Components: Patient Affects Versions: 1.6 Reporter: Tim Anderson Assignee: Tim Anderson Fix For: 1.6
From http://www.openvpms.org/forum/16b3-internal-application-error-using-custom-fields {quote} Exploring the patient custom fields facility, I first (successfully) added "Example Custom Fields" to the lookup for species Dog.
I then tried to create a new patient, immediately I selected Dog in the species pull-down, an internal failure occurred. The text for this is below.
Regards, Tim
{noformat} 1.6-beta-3 4887 An internal application error has occurred. java.lang.NullPointerException
org.openvpms.web.component.im.layout.AbstractLayoutStrategy.setFocusTraversal(AbstractLayoutStrategy.java:588) org.openvpms.web.component.im.layout.AbstractLayoutStrategy.addTab(AbstractLayoutStrategy.java:430) org.openvpms.web.app.patient.PatientLayoutStrategy.addTab(PatientLayoutStrategy.java:203) org.openvpms.web.app.patient.PatientLayoutStrategy.addCustomFields(PatientLayoutStrategy.java:121) org.openvpms.web.app.patient.PatientEditor.updateCustomFields(PatientEditor.java:166) org.openvpms.web.app.patient.PatientEditor.speciesChanged(PatientEditor.java:175) org.openvpms.web.app.patient.PatientEditor.access$000(PatientEditor.java:56) org.openvpms.web.app.patient.PatientEditor$1.modified(PatientEditor.java:89) org.openvpms.web.component.property.ModifiableListeners.notifyListeners(ModifiableListeners.java:85) org.openvpms.web.component.property.AbstractProperty.refresh(AbstractProperty.java:91) org.openvpms.web.component.property.IMObjectProperty.modified(IMObjectProperty.java:510) org.openvpms.web.component.property.IMObjectProperty.setValue(IMObjectProperty.java:145) org.openvpms.web.component.bound.Binder.setProperty(Binder.java:138) org.openvpms.web.component.bound.Binder.setProperty(Binder.java:95) org.openvpms.web.component.bound.SelectFieldBinder$1.stateChanged(SelectFieldBinder.java:66) nextapp.echo2.app.list.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:76) nextapp.echo2.app.list.DefaultListSelectionModel.setSelectedIndex(DefaultListSelectionModel.java:151) nextapp.echo2.app.list.AbstractListComponent.processInput(AbstractListComponent.java:374) nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:110) 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) {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