[OpenVPMS Developers] [JIRA] Created: (OVPMS-941) NullPointerException during invoice editing
Key: OVPMS-941 URL: https://openvpms.atlassian.net/browse/OVPMS-941 Project: VPMS Web Application Issue Type: Bug Components: Financial Affects Versions: 1.4-beta-2 Reporter: Tim Anderson Assignee: Tony De Keizer Fix For: 1.4
From a 1.4-beta-2 error report:
java.lang.NullPointerException at org.openvpms.web.component.im.layout.AbstractLayoutStrategy.setFocusTraversal(AbstractLayoutStrategy.java:548) at org.openvpms.web.component.im.layout.AbstractLayoutStrategy.addTab(AbstractLayoutStrategy.java:382) at org.openvpms.web.component.im.layout.AbstractLayoutStrategy.doTabLayout(AbstractLayoutStrategy.java:358) at org.openvpms.web.component.im.layout.AbstractLayoutStrategy.doComplexLayout(AbstractLayoutStrategy.java:187) at org.openvpms.web.component.im.layout.AbstractLayoutStrategy.doLayout(AbstractLayoutStrategy.java:150) at org.openvpms.web.component.im.layout.AbstractLayoutStrategy.apply(AbstractLayoutStrategy.java:111) at org.openvpms.web.component.im.view.AbstractIMObjectView.createComponent(AbstractIMObjectView.java:161) at org.openvpms.web.component.im.edit.AbstractIMObjectEditor$2.createComponent(AbstractIMObjectEditor.java:615) at org.openvpms.web.component.im.view.AbstractIMObjectView.getComponent(AbstractIMObjectView.java:107) at org.openvpms.web.component.im.view.AbstractIMObjectView.setLayout(AbstractIMObjectView.java:133) at org.openvpms.web.component.im.edit.AbstractIMObjectEditor.onLayout(AbstractIMObjectEditor.java:675) at org.openvpms.web.component.im.edit.act.ActItemEditor.changeLayout(ActItemEditor.java:292) at org.openvpms.web.app.customer.charge.CustomerChargeActItemEditor.productModified(CustomerChargeActItemEditor.java:304) at org.openvpms.web.component.im.edit.act.ActItemEditor.productModified(ActItemEditor.java:184) at org.openvpms.web.component.im.edit.act.ActItemEditor$1.modified(ActItemEditor.java:324) at org.openvpms.web.component.property.ModifiableListeners.notifyListeners(ModifiableListeners.java:75) at org.openvpms.web.component.edit.Editors.notifyListeners(Editors.java:263) at org.openvpms.web.component.edit.Editors$1.modified(Editors.java:275) at org.openvpms.web.component.property.ModifiableListeners.notifyListeners(ModifiableListeners.java:75) at org.openvpms.web.component.property.AbstractProperty.refresh(AbstractProperty.java:91) at org.openvpms.web.component.property.IMObjectProperty.modified(IMObjectProperty.java:492) at org.openvpms.web.component.property.IMObjectProperty.setValue(IMObjectProperty.java:145) at org.openvpms.web.component.im.edit.AbstractIMObjectReferenceEditor.updateProperty(AbstractIMObjectReferenceEditor.java:362) at org.openvpms.web.component.im.edit.AbstractIMObjectReferenceEditor.setObject(AbstractIMObjectReferenceEditor.java:156) at org.openvpms.web.component.im.product.ProductReferenceEditor.setProduct(ProductReferenceEditor.java:183) at org.openvpms.web.component.im.product.ProductReferenceEditor.onSelected(ProductReferenceEditor.java:94) at org.openvpms.web.component.im.product.ProductReferenceEditor.onSelected(ProductReferenceEditor.java:61) at org.openvpms.web.component.im.edit.AbstractIMObjectReferenceEditor$2.selected(AbstractIMObjectReferenceEditor.java:124) at org.openvpms.web.component.im.select.IMObjectSelector.onSelected(IMObjectSelector.java:308) at org.openvpms.web.component.im.select.IMObjectSelector$4.onClose(IMObjectSelector.java:276) at org.openvpms.web.component.event.WindowPaneListener.windowPaneClosing(WindowPaneListener.java:39) at nextapp.echo2.app.WindowPane.fireWindowClosing(WindowPane.java:154) at org.openvpms.web.component.dialog.PopupWindow.fireWindowClosing(PopupWindow.java:269) at nextapp.echo2.app.WindowPane.userClose(WindowPane.java:792) at org.openvpms.web.component.dialog.PopupWindow.close(PopupWindow.java:193) at org.openvpms.web.component.im.query.BrowserDialog.onSelected(BrowserDialog.java:215) at org.openvpms.web.component.im.query.BrowserDialog$2.selected(BrowserDialog.java:143) at org.openvpms.web.component.im.query.AbstractBrowser.notifySelected(AbstractBrowser.java:81) at org.openvpms.web.component.im.query.TableBrowser.onSelect(TableBrowser.java:253) at org.openvpms.web.component.im.query.TableBrowser.access$000(TableBrowser.java:45) at org.openvpms.web.component.im.query.TableBrowser$1.onAction(TableBrowser.java:199) at org.openvpms.web.component.event.ActionListener.actionPerformed(ActionListener.java:41) at nextapp.echo2.app.Table.fireActionEvent(Table.java:332) at nextapp.echo2.app.Table.processInput(Table.java:586) at org.openvpms.web.component.table.KeyTable.processInput(KeyTable.java:136) at nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:116) at nextapp.echo2.app.update.UpdateManager.processClientUpdates(UpdateManager.java:89) at nextapp.echo2.webcontainer.ContainerSynchronizeService.renderUpdate(ContainerSynchronizeService.java:472) at nextapp.echo2.webrender.service.SynchronizeService.service(SynchronizeService.java:279) at nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.java:273) at org.openvpms.web.servlet.SpringWebContainerServlet.process(SpringWebContainerServlet.java:148) at nextapp.echo2.webrender.WebRenderServlet.doPost(WebRenderServlet.java:189) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:292) at org.openvpms.web.servlet.SkipLoginFilter.doFilter(SkipLoginFilter.java:111) at org.openvpms.web.servlet.SkipLoginFilter.doFilter(SkipLoginFilter.java:71) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:108) at org.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(SecurityEnforcementFilter.java:197) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:143) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:246) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:220) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:173) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:636)
-- 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
[OpenVPMS Developers] [JIRA] Commented: (OVPMS-941) NullPointerE
Tim Anderson commented on OVPMS-941: ------------------------------------
Steps to reproduce: # create an invoice # add an invoice item with a Medication product # change the product to a Merchandise product # change the product to a Medication product. The above exception should be thrown
> NullPointerException during invoice editing > ------------------------------------------- > > Key: OVPMS-941 > URL: https://openvpms.atlassian.net/browse/OVPMS-941 > Project: VPMS Web Application > Issue Type: Bug > Components: Financial > Affects Versions: 1.4-beta-2 > Reporter: Tim Anderson > Assignee: Tony De Keizer > Fix For: 1.4 > > > From a 1.4-beta-2 error report: > java.lang.NullPointerException > at org.openvpms.web.component.im.layout.AbstractLayoutStrategy.setFocusTraversal(AbstractLayoutStrategy.java:548) > at org.openvpms.web.component.im.layout.AbstractLayoutStrategy.addTab(AbstractLayoutStrategy.java:382) > at org.openvpms.web.component.im.layout.AbstractLayoutStrategy.doTabLayout(AbstractLayoutStrategy.java:358) > at org.openvpms.web.component.im.layout.AbstractLayoutStrategy.doComplexLayout(AbstractLayoutStrategy.java:187) > at org.openvpms.web.component.im.layout.AbstractLayoutStrategy.doLayout(AbstractLayoutStrategy.java:150) > at org.openvpms.web.component.im.layout.AbstractLayoutStrategy.apply(AbstractLayoutStrategy.java:111) > at org.openvpms.web.component.im.view.AbstractIMObjectView.createComponent(AbstractIMObjectView.java:161) > at org.openvpms.web.component.im.edit.AbstractIMObjectEditor$2.createComponent(AbstractIMObjectEditor.java:615) > at org.openvpms.web.component.im.view.AbstractIMObjectView.getComponent(AbstractIMObjectView.java:107) > at org.openvpms.web.component.im.view.AbstractIMObjectView.setLayout(AbstractIMObjectView.java:133) > at org.openvpms.web.component.im.edit.AbstractIMObjectEditor.onLayout(AbstractIMObjectEditor.java:675) > at org.openvpms.web.component.im.edit.act.ActItemEditor.changeLayout(ActItemEditor.java:292) > at org.openvpms.web.app.customer.charge.CustomerChargeActItemEditor.productModified(CustomerChargeActItemEditor.java:304) > at org.openvpms.web.component.im.edit.act.ActItemEditor.productModified(ActItemEditor.java:184) > at org.openvpms.web.component.im.edit.act.ActItemEditor$1.modified(ActItemEditor.java:324) > at org.openvpms.web.component.property.ModifiableListeners.notifyListeners(ModifiableListeners.java:75) > at org.openvpms.web.component.edit.Editors.notifyListeners(Editors.java:263) > at org.openvpms.web.component.edit.Editors$1.modified(Editors.java:275) > at org.openvpms.web.component.property.ModifiableListeners.notifyListeners(ModifiableListeners.java:75) > at org.openvpms.web.component.property.AbstractProperty.refresh(AbstractProperty.java:91) > at org.openvpms.web.component.property.IMObjectProperty.modified(IMObjectProperty.java:492) > at org.openvpms.web.component.property.IMObjectProperty.setValue(IMObjectProperty.java:145) > at org.openvpms.web.component.im.edit.AbstractIMObjectReferenceEditor.updateProperty(AbstractIMObjectReferenceEditor.java:362) > at org.openvpms.web.component.im.edit.AbstractIMObjectReferenceEditor.setObject(AbstractIMObjectReferenceEditor.java:156) > at org.openvpms.web.component.im.product.ProductReferenceEditor.setProduct(ProductReferenceEditor.java:183) > at org.openvpms.web.component.im.product.ProductReferenceEditor.onSelected(ProductReferenceEditor.java:94) > at org.openvpms.web.component.im.product.ProductReferenceEditor.onSelected(ProductReferenceEditor.java:61) > at org.openvpms.web.component.im.edit.AbstractIMObjectReferenceEditor$2.selected(AbstractIMObjectReferenceEditor.java:124) > at org.openvpms.web.component.im.select.IMObjectSelector.onSelected(IMObjectSelector.java:308) > at org.openvpms.web.component.im.select.IMObjectSelector$4.onClose(IMObjectSelector.java:276) > at org.openvpms.web.component.event.WindowPaneListener.windowPaneClosing(WindowPaneListener.java:39) > at nextapp.echo2.app.WindowPane.fireWindowClosing(WindowPane.java:154) > at org.openvpms.web.component.dialog.PopupWindow.fireWindowClosing(PopupWindow.java:269) > at nextapp.echo2.app.WindowPane.userClose(WindowPane.java:792) > at org.openvpms.web.component.dialog.PopupWindow.close(PopupWindow.java:193) > at org.openvpms.web.component.im.query.BrowserDialog.onSelected(BrowserDialog.java:215) > at org.openvpms.web.component.im.query.BrowserDialog$2.selected(BrowserDialog.java:143) > at org.openvpms.web.component.im.query.AbstractBrowser.notifySelected(AbstractBrowser.java:81) > at org.openvpms.web.component.im.query.TableBrowser.onSelect(TableBrowser.java:253) > at org.openvpms.web.component.im.query.TableBrowser.access$000(TableBrowser.java:45) > at org.openvpms.web.component.im.query.TableBrowser$1.onAction(TableBrowser.java:199) > at org.openvpms.web.component.event.ActionListener.actionPerformed(ActionListener.java:41) > at nextapp.echo2.app.Table.fireActionEvent(Table.java:332) > at nextapp.echo2.app.Table.processInput(Table.java:586) > at org.openvpms.web.component.table.KeyTable.processInput(KeyTable.java:136) > at nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:116) > at nextapp.echo2.app.update.UpdateManager.processClientUpdates(UpdateManager.java:89) > at nextapp.echo2.webcontainer.ContainerSynchronizeService.renderUpdate(ContainerSynchronizeService.java:472) > at nextapp.echo2.webrender.service.SynchronizeService.service(SynchronizeService.java:279) > at nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.java:273) > at org.openvpms.web.servlet.SpringWebContainerServlet.process(SpringWebContainerServlet.java:148) > at nextapp.echo2.webrender.WebRenderServlet.doPost(WebRenderServlet.java:189) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:292) > at org.openvpms.web.servlet.SkipLoginFilter.doFilter(SkipLoginFilter.java:111) > at org.openvpms.web.servlet.SkipLoginFilter.doFilter(SkipLoginFilter.java:71) > at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) > at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:108) > at org.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(SecurityEnforcementFilter.java:197) > at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) > at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:143) > at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) > at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:246) > at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) > at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:220) > at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) > at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:173) > at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:120) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) > at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) > at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) > at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875) > at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) > at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) > at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) > at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) > at java.lang.Thread.run(Thread.java:636)-- 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