[ANN] PropertiesEditor Plugin 1.8.1d

Description:
Editor for properties files like built-in editors (highlighting, navigation, refactoring, find usages, intentions, properties files specific features, bundle editing mode etc.)

Changes:

  • Minor improvements and reported bugs fixes



TIA,
Dmitry

11 comments
Comment actions Permalink

Hi Dmitry,

I'm getting the following error when opening a properties file under IDEA build #2144:

Error message: Error during dispatching of java.awt.event.KeyEvent[KEY_PRESSED,keyCode=10,keyText=Enter,keyChar=Enter,keyLocation=KEY_LOCATION_STANDARD] on com.intellij.ide.util.gotoByName.ChooseByNameBase$s_[,2,25,287x24,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=null,alignmentY=null,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@3c2e0b,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],selectedTextColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],selectionColor=javax.swing.plaf.ColorUIResource[r=166,g=202,b=240],columns=40,columnWidth=7,command=,horizontalAlignment=LEADING]

java.lang.NoClassDefFoundError: com/intellij/util/containers/ConvertingIterator$Convertor
at com.propertiesEditor.propedit.controller.PropertiesFileEditor.]]>(PropertiesFileEditor.java:86)
at com.propertiesEditor.propedit.PropertiesFileEditorComponent.createEditor(PropertiesFileEditorComponent.java:171)
at com.intellij.openapi.h.a.d.b(d.java:676)
at com.intellij.openapi.h.a.d.access$900(d.java:349)
at com.intellij.openapi.h.a.d$6.run(d$6.java:1)
at com.intellij.openapi.command.a.a.executeCommand(a.java:40)
at com.intellij.openapi.h.a.d.a(d.java:156)
at com.intellij.openapi.h.a.d.openFile(d.java:447)
at com.intellij.openapi.h.a.d$4.run(d$4.java:6)
at com.intellij.openapi.command.a.a.executeCommand(a.java:106)
at com.intellij.openapi.h.a.d.openTextEditor(d.java:68)
at com.intellij.ide.actions.bs$0.elementChosen(bs$0.java:4)
at com.intellij.ide.util.gotoByName.b.close(b.java:17)
at com.intellij.ide.util.gotoByName.ChooseByNameBase$11.actionPerformed(ChooseByNameBase$11.java)
at javax.swing.JTextField.fireActionPerformed(JTextField.java:491)
at javax.swing.JTextField.postActionEvent(JTextField.java:672)
at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:786)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1530)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2438)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2473)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
at com.intellij.ide.util.gotoByName.ChooseByNameBase$s_.processKeyEvent(ChooseByNameBase$s_.java:39)
at java.awt.Component.processEvent(Component.java:4909)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:627)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:831)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:741)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592)
at java.awt.Component.dispatchEventImpl(Component.java:3506)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.t.b(t.java:124)
at com.intellij.ide.t.a(t.java:74)
at com.intellij.ide.t.dispatchEvent(t.java:129)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)


0
Comment actions Permalink

Fixed in 1.8.1e

0
Comment actions Permalink

Thanks for the prompt update!

The following error occurred when opening a properties file under both builds #2144 and #2148:

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:72)
at com.intellij.openapi.application.impl.LaterInvocatorEx.leaveModal(LaterInvocatorEx.java:133)
at com.intellij.ide.util.gotoByName.ChooseByNamePopup.close(ChooseByNamePopup.java:88)
at com.intellij.ide.util.gotoByName.ChooseByNameBase$5.actionPerformed(ChooseByNameBase.java:238)
at javax.swing.JTextField.fireActionPerformed(JTextField.java:491)
at javax.swing.JTextField.postActionEvent(JTextField.java:672)
at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:786)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1530)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2438)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2473)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
at com.intellij.ide.util.gotoByName.ChooseByNameBase$MyTextField.processKeyEvent(ChooseByNameBase.java:508)
at java.awt.Component.processEvent(Component.java:4909)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:627)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:831)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:741)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592)
at java.awt.Component.dispatchEventImpl(Component.java:3506)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:346)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:324)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:251)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

0
Comment actions Permalink

And this one occurred when attempting to remove a file type association from the PropertiesEditor configuration panel:

Error message: Error during dispatching of java.awt.event.KeyEvent[KEY_RELEASED,keyCode=77,keyText=M,keyChar='m',modifiers=Alt,extModifiers=Alt,keyLocation=KEY_LOCATION_STANDARD] on javax.swing.JButton[,429,49,85x24,layout=javax.swing.OverlayLayout,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@db5135,flags=424,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Remove...,defaultCapable=true]
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0

at java.util.Vector.elementAt(Vector.java:431)
at javax.swing.DefaultListModel.getElementAt(DefaultListModel.java:70)
at com.propertiesEditor.propedit.config.PropertiesEditorConfiguration$2.actionPerformed(PropertiesEditorConfiguration.java:107)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener$ReleasedAction.actionPerformed(BasicButtonListener.java:301)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1530)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2438)
at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:253)
at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:202)
at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2515)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2507)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
at java.awt.Component.processEvent(Component.java:4909)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:627)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:831)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:741)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592)
at java.awt.Component.dispatchEventImpl(Component.java:3506)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.t.b(t.java:45)
at com.intellij.ide.t.a(t.java:118)
at com.intellij.ide.t.dispatchEvent(t.java:160)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at com.intellij.openapi.b.a.a$d_.show(a$d_.java:28)
at com.intellij.openapi.b.a.a.show(a.java:36)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:673)
at com.intellij.openapi.k.a.a.b(a.java:43)
at com.intellij.openapi.k.a.a.access$1000(a.java:57)
at com.intellij.openapi.k.a.a$1.mouseReleased(a$1.java:2)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.t.b(t.java:45)
at com.intellij.ide.t.a(t.java:105)
at com.intellij.ide.t.dispatchEvent(t.java:160)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at com.intellij.openapi.b.a.a$d_.show(a$d_.java:28)
at com.intellij.openapi.b.a.a.show(a.java:36)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:673)
at com.intellij.ide.actions.eo.b(eo.java:2)
at com.intellij.ide.actions.eo.a(eo.java:14)
at com.intellij.ide.actions.dl.actionPerformed(dl.java:6)
at com.intellij.openapi.e.a.e.a(e.java:27)
at com.intellij.openapi.e.a.e.b(e.java:178)
at com.intellij.openapi.e.a.e.a(e.java:133)
at com.intellij.ide.t.a(t.java:79)
at com.intellij.ide.t.dispatchEvent(t.java:160)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

0
Comment actions Permalink

Sorry about the badly formatted text above. Try this one instead:

And this one occurred when attempting to remove a file type association from the PropertiesEditor configuration panel:

Error message: Error during dispatching of java.awt.event.KeyEvent[KEY_RELEASED,keyCode=77,keyText=M,keyChar='m',modifiers=Alt,extModifiers=Alt,keyLocation=KEY_LOCATION_STANDARD] on javax.swing.JButton[,429,49,85x24,layout=javax.swing.OverlayLayout,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource(at)db5135,flags=424,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Remove...,defaultCapable=true]
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0

at java.util.Vector.elementAt(Vector.java:431)
at javax.swing.DefaultListModel.getElementAt(DefaultListModel.java:70)
at com.propertiesEditor.propedit.config.PropertiesEditorConfiguration$2.actionPerformed(PropertiesEditorConfiguration.java:107)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener$ReleasedAction.actionPerformed(BasicButtonListener.java:301)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1530)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2438)
at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:253)
at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:202)
at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2515)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2507)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
at java.awt.Component.processEvent(Component.java:4909)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:627)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:831)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:741)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592)
at java.awt.Component.dispatchEventImpl(Component.java:3506)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.t.b(t.java:45)
at com.intellij.ide.t.a(t.java:118)
at com.intellij.ide.t.dispatchEvent(t.java:160)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at com.intellij.openapi.b.a.a$d_.show(a$d_.java:28)
at com.intellij.openapi.b.a.a.show(a.java:36)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:673)
at com.intellij.openapi.k.a.a.b(a.java:43)
at com.intellij.openapi.k.a.a.access$1000(a.java:57)
at com.intellij.openapi.k.a.a$1.mouseReleased(a$1.java:2)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.t.b(t.java:45)
at com.intellij.ide.t.a(t.java:105)
at com.intellij.ide.t.dispatchEvent(t.java:160)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at com.intellij.openapi.b.a.a$d_.show(a$d_.java:28)
at com.intellij.openapi.b.a.a.show(a.java:36)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:673)
at com.intellij.ide.actions.eo.b(eo.java:2)
at com.intellij.ide.actions.eo.a(eo.java:14)
at com.intellij.ide.actions.dl.actionPerformed(dl.java:6)
at com.intellij.openapi.e.a.e.a(e.java:27)
at com.intellij.openapi.e.a.e.b(e.java:178)
at com.intellij.openapi.e.a.e.a(e.java:133)
at com.intellij.ide.t.a(t.java:79)
at com.intellij.ide.t.dispatchEvent(t.java:160)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

0
Comment actions Permalink

File associations doesn't work properly and I remember that disable it long time ago. Are you using Aurora?

TIA,
Dmitry

0
Comment actions Permalink

Very interesting, but I'm don't know why it happens :(
Stacktrace not PE related at all, but action is by PE.

TIA,
Dmitry

0
Comment actions Permalink

No, I'm using Pallada build #2148.

0
Comment actions Permalink

Exception handled. But file associations hidden cause not functioning properly. It will back after Pallada release.

TIA,
Dmitry

0
Comment actions Permalink

fix already available.

0
Comment actions Permalink

Nice one Dmitry!

0

Please sign in to leave a comment.