Bug 235336 - Deadlock editing java properties files.
Deadlock editing java properties files.
Status: NEW
Product: utilities
Classification: Unclassified
Component: Properties
7.3.1
PC Other
: P3 (vote)
: TBD
Assigned To: Jan Peska
issues@utilities
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-30 20:08 UTC by schulte2004
Modified: 2013-09-02 07:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description schulte2004 2013-08-30 20:08:07 UTC
During editing java properties files using the java properties file editor, the IDE deadlocks and needs to be restarted. Following the output from jconsole:

Name: org.netbeans.modules.properties.PropertiesRequestProcessor
State: BLOCKED on org.netbeans.modules.properties.StructHandler@18d0a15 owned by: AWT-EventQueue-0
Total blocked: 1.086  Total waited: 933

Stack trace: 
org.netbeans.modules.properties.PropertiesFileEntry$PropKeysChildren.mySetKeys(PropertiesFileEntry.java:426)
org.netbeans.modules.properties.PropertiesFileEntry$PropKeysChildren.access$000(PropertiesFileEntry.java:406)
org.netbeans.modules.properties.PropertiesFileEntry$PropKeysChildren$1.bundleChanged(PropertiesFileEntry.java:453)
org.netbeans.modules.properties.PropertyBundleSupport.fireBundleChanged(PropertyBundleSupport.java:177)
org.netbeans.modules.properties.PropertyBundleSupport.fireBundleDataChanged(PropertyBundleSupport.java:131)
org.netbeans.modules.properties.BundleStructure.notifyOneFileChanged(BundleStructure.java:793)
org.netbeans.modules.properties.PropertiesStructure.structureChanged(PropertiesStructure.java:326)
org.netbeans.modules.properties.PropertiesStructure.update(PropertiesStructure.java:129)
   - locked org.netbeans.modules.properties.MultiBundleStructure@671ba0
   - locked org.netbeans.modules.properties.StructHandler@16e06c3
org.netbeans.modules.properties.StructHandler.updatePropertiesStructure(StructHandler.java:221)
org.netbeans.modules.properties.StructHandler.reparseNowBlocking(StructHandler.java:128)
   - locked org.netbeans.modules.properties.StructHandler@16e06c3
org.netbeans.modules.properties.StructHandler.reparseNowBlocking(StructHandler.java:99)
org.netbeans.modules.properties.StructHandler$1.run(StructHandler.java:187)
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2044)


Name: AWT-EventQueue-0
State: BLOCKED on org.netbeans.modules.properties.MultiBundleStructure@671ba0 owned by: org.netbeans.modules.properties.PropertiesRequestProcessor
Total blocked: 9.386  Total waited: 122.594

Stack trace: 
org.netbeans.modules.properties.PropertiesFileEntry$PropKeysChildren.mySetKeys(PropertiesFileEntry.java:427)
   - locked org.netbeans.modules.properties.StructHandler@18d0a15
org.netbeans.modules.properties.PropertiesFileEntry$PropKeysChildren.access$000(PropertiesFileEntry.java:406)
org.netbeans.modules.properties.PropertiesFileEntry$PropKeysChildren$1.bundleChanged(PropertiesFileEntry.java:453)
org.netbeans.modules.properties.PropertyBundleSupport.fireBundleChanged(PropertyBundleSupport.java:177)
org.netbeans.modules.properties.PropertyBundleSupport.fireBundleDataChanged(PropertyBundleSupport.java:131)
org.netbeans.modules.properties.BundleStructure.sort(BundleStructure.java:537)
org.netbeans.modules.properties.PropertiesTableModel.setValueAt(PropertiesTableModel.java:248)
javax.swing.JTable.setValueAt(JTable.java:2740)
javax.swing.JTable.editingStopped(JTable.java:4722)
javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:141)
javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:368)
javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:233)
javax.swing.DefaultCellEditor$EditorDelegate.actionPerformed(DefaultCellEditor.java:385)
javax.swing.JTextField.fireActionPerformed(JTextField.java:508)
javax.swing.JTextField.postActionEvent(JTextField.java:721)
javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:836)
javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1664)
javax.swing.JComponent.processKeyBinding(JComponent.java:2879)
javax.swing.JComponent.processKeyBindings(JComponent.java:2926)
javax.swing.JComponent.processKeyEvent(JComponent.java:2842)
java.awt.Component.processEvent(Component.java:6282)
java.awt.Container.processEvent(Container.java:2229)
java.awt.Component.dispatchEventImpl(Component.java:4861)
java.awt.Container.dispatchEventImpl(Container.java:2287)
java.awt.Component.dispatchEvent(Component.java:4687)
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895)
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:762)
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027)
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899)
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:727)
java.awt.Component.dispatchEventImpl(Component.java:4731)
java.awt.Container.dispatchEventImpl(Container.java:2287)
java.awt.Window.dispatchEventImpl(Window.java:2719)
java.awt.Component.dispatchEvent(Component.java:4687)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
java.awt.EventQueue.access$200(EventQueue.java:103)
java.awt.EventQueue$3.run(EventQueue.java:688)
java.awt.EventQueue$3.run(EventQueue.java:686)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
java.awt.EventQueue$4.run(EventQueue.java:702)
java.awt.EventQueue$4.run(EventQueue.java:700)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
java.awt.EventDispatchThread.run(EventDispatchThread.java:91)


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo