Methods in MenuEvents.java need to be synchronized (probably to do for all the events)
-------------------------------------------------------------------------------------- Key: OFBIZ-1598 URL: https://issues.apache.org/jira/browse/OFBIZ-1598 Project: OFBiz Issue Type: Bug Components: specialpurpose/pos Affects Versions: SVN trunk Reporter: Jacques Le Roux Assignee: Jacques Le Roux Priority: Minor 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-7000) 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2002) Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1 at net.xoetrope.xui.data.XBaseModel.get(Unknown Source) at net.xoetrope.swing.XSwingTableModel.getValueAt(Unknown Source) at javax.swing.JTable.getValueAt(JTable.java:1903) at javax.swing.JTable.prepareRenderer(JTable.java:3911) at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072) at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974) at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1897) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142) at javax.swing.JComponent.paintComponent(JComponent.java:743) at javax.swing.JComponent.paint(JComponent.java:1006) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JViewport.paint(JViewport.java:728) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972) at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925) at javax.swing.JComponent._paintImmediately(JComponent.java:4868) at javax.swing.JComponent.paintImmediately(JComponent.java:4675) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2644) 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-5005) 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-1001) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux updated OFBIZ-1598: ----------------------------------- Attachment: MenuEvents.java.patch A patch extracted from last ofbiz-1580-6.patch in OFBIZ-1598 > Methods in MenuEvents.java need to be synchronized (probably to do for all the events) > -------------------------------------------------------------------------------------- > > Key: OFBIZ-1598 > URL: https://issues.apache.org/jira/browse/OFBIZ-1598 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/pos > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assignee: Jacques Le Roux > Priority: Minor > Attachments: MenuEvents.java.patch > > > 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-7000) > 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2002) > Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1 > at net.xoetrope.xui.data.XBaseModel.get(Unknown Source) > at net.xoetrope.swing.XSwingTableModel.getValueAt(Unknown Source) > at javax.swing.JTable.getValueAt(JTable.java:1903) > at javax.swing.JTable.prepareRenderer(JTable.java:3911) > at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072) > at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974) > at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1897) > at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142) > at javax.swing.JComponent.paintComponent(JComponent.java:743) > at javax.swing.JComponent.paint(JComponent.java:1006) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JViewport.paint(JViewport.java:728) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972) > at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925) > at javax.swing.JComponent._paintImmediately(JComponent.java:4868) > at javax.swing.JComponent.paintImmediately(JComponent.java:4675) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451) > at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2644) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-5005) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-1001) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562591#action_12562591 ] Chris Lombardi commented on OFBIZ-1598: --------------------------------------- JLR, do you have the rest of this? I knock this out quick, I just don't want to keep having our emails/patches cross in transit. :) > Methods in MenuEvents.java need to be synchronized (probably to do for all the events) > -------------------------------------------------------------------------------------- > > Key: OFBIZ-1598 > URL: https://issues.apache.org/jira/browse/OFBIZ-1598 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/pos > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assignee: Jacques Le Roux > Priority: Minor > Attachments: MenuEvents.java.patch > > > 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-7000) > 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2002) > Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1 > at net.xoetrope.xui.data.XBaseModel.get(Unknown Source) > at net.xoetrope.swing.XSwingTableModel.getValueAt(Unknown Source) > at javax.swing.JTable.getValueAt(JTable.java:1903) > at javax.swing.JTable.prepareRenderer(JTable.java:3911) > at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072) > at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974) > at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1897) > at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142) > at javax.swing.JComponent.paintComponent(JComponent.java:743) > at javax.swing.JComponent.paint(JComponent.java:1006) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JViewport.paint(JViewport.java:728) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972) > at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925) > at javax.swing.JComponent._paintImmediately(JComponent.java:4868) > at javax.swing.JComponent.paintImmediately(JComponent.java:4675) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451) > at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2644) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-5005) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-1001) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562579#action_12562579 ] jacques.le.roux edited comment on OFBIZ-1598 at 1/25/08 9:37 AM: ----------------------------------------------------------------- A patch extracted from last ofbiz-1580-6.patch in OFBIZ-1580 was (Author: jacques.le.roux): A patch extracted from last ofbiz-1580-6.patch in OFBIZ-1598 > Methods in MenuEvents.java need to be synchronized (probably to do for all the events) > -------------------------------------------------------------------------------------- > > Key: OFBIZ-1598 > URL: https://issues.apache.org/jira/browse/OFBIZ-1598 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/pos > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assignee: Jacques Le Roux > Priority: Minor > Attachments: MenuEvents.java.patch > > > 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-7000) > 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2002) > Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1 > at net.xoetrope.xui.data.XBaseModel.get(Unknown Source) > at net.xoetrope.swing.XSwingTableModel.getValueAt(Unknown Source) > at javax.swing.JTable.getValueAt(JTable.java:1903) > at javax.swing.JTable.prepareRenderer(JTable.java:3911) > at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072) > at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974) > at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1897) > at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142) > at javax.swing.JComponent.paintComponent(JComponent.java:743) > at javax.swing.JComponent.paint(JComponent.java:1006) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JViewport.paint(JViewport.java:728) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972) > at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925) > at javax.swing.JComponent._paintImmediately(JComponent.java:4868) > at javax.swing.JComponent.paintImmediately(JComponent.java:4675) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451) > at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2644) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-5005) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-1001) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562599#action_12562599 ] Jacques Le Roux commented on OFBIZ-1598: ---------------------------------------- Chris, We are clear now, we just need to add more sync for other events. You can provide a patch for OFBIZ-1581 as well. > Methods in MenuEvents.java need to be synchronized (probably to do for all the events) > -------------------------------------------------------------------------------------- > > Key: OFBIZ-1598 > URL: https://issues.apache.org/jira/browse/OFBIZ-1598 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/pos > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assignee: Jacques Le Roux > Priority: Minor > Attachments: MenuEvents.java.patch > > > 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-7000) > 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2002) > Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1 > at net.xoetrope.xui.data.XBaseModel.get(Unknown Source) > at net.xoetrope.swing.XSwingTableModel.getValueAt(Unknown Source) > at javax.swing.JTable.getValueAt(JTable.java:1903) > at javax.swing.JTable.prepareRenderer(JTable.java:3911) > at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072) > at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974) > at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1897) > at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142) > at javax.swing.JComponent.paintComponent(JComponent.java:743) > at javax.swing.JComponent.paint(JComponent.java:1006) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JViewport.paint(JViewport.java:728) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972) > at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925) > at javax.swing.JComponent._paintImmediately(JComponent.java:4868) > at javax.swing.JComponent.paintImmediately(JComponent.java:4675) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451) > at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2644) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-5005) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-1001) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562598#action_12562598 ] Jacques Le Roux commented on OFBIZ-1598: ---------------------------------------- I commited MenuEvents.java.patch in trunk rev. 615284. I keep this issue open as it seems that we need to synchronize all POS events > Methods in MenuEvents.java need to be synchronized (probably to do for all the events) > -------------------------------------------------------------------------------------- > > Key: OFBIZ-1598 > URL: https://issues.apache.org/jira/browse/OFBIZ-1598 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/pos > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assignee: Jacques Le Roux > Priority: Minor > Attachments: MenuEvents.java.patch > > > 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-7000) > 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2002) > Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1 > at net.xoetrope.xui.data.XBaseModel.get(Unknown Source) > at net.xoetrope.swing.XSwingTableModel.getValueAt(Unknown Source) > at javax.swing.JTable.getValueAt(JTable.java:1903) > at javax.swing.JTable.prepareRenderer(JTable.java:3911) > at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072) > at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974) > at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1897) > at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142) > at javax.swing.JComponent.paintComponent(JComponent.java:743) > at javax.swing.JComponent.paint(JComponent.java:1006) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JViewport.paint(JViewport.java:728) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972) > at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925) > at javax.swing.JComponent._paintImmediately(JComponent.java:4868) > at javax.swing.JComponent.paintImmediately(JComponent.java:4675) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451) > at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2644) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-5005) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-1001) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Lombardi updated OFBIZ-1598: ---------------------------------- Attachment: ofbiz-1598.patch Supplemental patch to synchronize the remaining events. > Methods in MenuEvents.java need to be synchronized (probably to do for all the events) > -------------------------------------------------------------------------------------- > > Key: OFBIZ-1598 > URL: https://issues.apache.org/jira/browse/OFBIZ-1598 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/pos > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assignee: Jacques Le Roux > Priority: Minor > Attachments: MenuEvents.java.patch, ofbiz-1598.patch > > > 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-7000) > 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2002) > Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1 > at net.xoetrope.xui.data.XBaseModel.get(Unknown Source) > at net.xoetrope.swing.XSwingTableModel.getValueAt(Unknown Source) > at javax.swing.JTable.getValueAt(JTable.java:1903) > at javax.swing.JTable.prepareRenderer(JTable.java:3911) > at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072) > at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974) > at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1897) > at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142) > at javax.swing.JComponent.paintComponent(JComponent.java:743) > at javax.swing.JComponent.paint(JComponent.java:1006) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JViewport.paint(JViewport.java:728) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972) > at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925) > at javax.swing.JComponent._paintImmediately(JComponent.java:4868) > at javax.swing.JComponent.paintImmediately(JComponent.java:4675) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451) > at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2644) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-5005) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-1001) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux updated OFBIZ-1598: ----------------------------------- Description: The pos allows multiple events to run at once, but it seems to cause general sluggishness in the UI and random problems. Marking the menuevents synchronized in ofbiz-1580 has increased performance (or at least the responsiveness) and eliminated some issues. Here is a typical error got prior to sync. changes in menuevents.java 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-7000) 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2002) Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1 at net.xoetrope.xui.data.XBaseModel.get(Unknown Source) at net.xoetrope.swing.XSwingTableModel.getValueAt(Unknown Source) at javax.swing.JTable.getValueAt(JTable.java:1903) at javax.swing.JTable.prepareRenderer(JTable.java:3911) at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072) at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974) at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1897) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142) at javax.swing.JComponent.paintComponent(JComponent.java:743) at javax.swing.JComponent.paint(JComponent.java:1006) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JViewport.paint(JViewport.java:728) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972) at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925) at javax.swing.JComponent._paintImmediately(JComponent.java:4868) at javax.swing.JComponent.paintImmediately(JComponent.java:4675) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2644) 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-5005) 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-1001) was: 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-7000) 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2002) Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1 at net.xoetrope.xui.data.XBaseModel.get(Unknown Source) at net.xoetrope.swing.XSwingTableModel.getValueAt(Unknown Source) at javax.swing.JTable.getValueAt(JTable.java:1903) at javax.swing.JTable.prepareRenderer(JTable.java:3911) at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072) at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974) at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1897) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142) at javax.swing.JComponent.paintComponent(JComponent.java:743) at javax.swing.JComponent.paint(JComponent.java:1006) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JViewport.paint(JViewport.java:728) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972) at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925) at javax.swing.JComponent._paintImmediately(JComponent.java:4868) at javax.swing.JComponent.paintImmediately(JComponent.java:4675) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2644) 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-5005) 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-1001) > Methods in MenuEvents.java need to be synchronized (probably to do for all the events) > -------------------------------------------------------------------------------------- > > Key: OFBIZ-1598 > URL: https://issues.apache.org/jira/browse/OFBIZ-1598 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/pos > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assignee: Jacques Le Roux > Priority: Minor > Attachments: MenuEvents.java.patch, ofbiz-1598.patch > > > The pos allows multiple events to run at once, but it seems to cause general sluggishness in the UI and random problems. Marking the menuevents synchronized in ofbiz-1580 has increased performance (or at least the responsiveness) and eliminated some issues. > Here is a typical error got prior to sync. changes in menuevents.java > 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-7000) > 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2002) > Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1 > at net.xoetrope.xui.data.XBaseModel.get(Unknown Source) > at net.xoetrope.swing.XSwingTableModel.getValueAt(Unknown Source) > at javax.swing.JTable.getValueAt(JTable.java:1903) > at javax.swing.JTable.prepareRenderer(JTable.java:3911) > at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072) > at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974) > at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1897) > at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142) > at javax.swing.JComponent.paintComponent(JComponent.java:743) > at javax.swing.JComponent.paint(JComponent.java:1006) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JViewport.paint(JViewport.java:728) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972) > at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925) > at javax.swing.JComponent._paintImmediately(JComponent.java:4868) > at javax.swing.JComponent.paintImmediately(JComponent.java:4675) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451) > at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2644) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-5005) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-1001) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-1598. ---------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Thanks Chris, Your last patch is in trunk rev. 615296 > Methods in MenuEvents.java need to be synchronized (probably to do for all the events) > -------------------------------------------------------------------------------------- > > Key: OFBIZ-1598 > URL: https://issues.apache.org/jira/browse/OFBIZ-1598 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/pos > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assignee: Jacques Le Roux > Priority: Minor > Fix For: SVN trunk > > Attachments: MenuEvents.java.patch, ofbiz-1598.patch > > > The pos allows multiple events to run at once, but it seems to cause general sluggishness in the UI and random problems. Marking the menuevents synchronized in ofbiz-1580 has increased performance (or at least the responsiveness) and eliminated some issues. > Here is a typical error got prior to sync. changes in menuevents.java > 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-7000) > 2008-01-25 12:04:23,421 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2002) > Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1 > at net.xoetrope.xui.data.XBaseModel.get(Unknown Source) > at net.xoetrope.swing.XSwingTableModel.getValueAt(Unknown Source) > at javax.swing.JTable.getValueAt(JTable.java:1903) > at javax.swing.JTable.prepareRenderer(JTable.java:3911) > at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072) > at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974) > at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1897) > at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142) > at javax.swing.JComponent.paintComponent(JComponent.java:743) > at javax.swing.JComponent.paint(JComponent.java:1006) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JViewport.paint(JViewport.java:728) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JComponent.paintChildren(JComponent.java:843) > at javax.swing.JComponent.paint(JComponent.java:1015) > at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972) > at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925) > at javax.swing.JComponent._paintImmediately(JComponent.java:4868) > at javax.swing.JComponent.paintImmediately(JComponent.java:4675) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451) > at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-2644) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-5005) > 2008-01-25 12:04:23,546 (Thread-2163) [ Log4jLoggerWriter.java:67 :INFO ] [POS @ pos-1 TX:10180] - is Aggregated Item(GZ-1001) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |