PropertiesEditor 1.8.1g and 2065
When I opened a .properties file I got this:
Error message: Assertion failed
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.l.b.d.b(d.java:19)
at com.intellij.ide.util.gotoByName.b.close(b.java:33)
at
com.intellij.ide.util.gotoByName.ChooseByNameBase$11.actionPerformed(ChooseB
yNameBase$11.java:1)
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(ChooseB
yNameBase$s_.java:11)
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(DefaultKeyboardFocusMa
nager.java:627)
at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocu
sManager.java:831)
at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocu
sManager.java:741)
at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManag
er.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:122)
at com.intellij.ide.t.a(t.java:6)
at com.intellij.ide.t.dispatchEvent(t.java:53)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va: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)
I am not sure if it is JI fault or the plug-in, so I submitted a tracker
issue as well.
Amnon
请先登录再写评论。
It was earlier and already submitted but I'm personally cannot catch it yet.
TIA,
Dmitry
Another detail I noticed is that this happens only on the first time that
file is opened in an IJ session. Once it is opened and closed, the next time
won't produce the exception.
Hope this helps,
Amnon
"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:9626349.1089189406053.JavaMail.itn@is.intellij.net...
yet.
>
Is it file created in current session or was present earlier?
TIA,
Dmitry
Was present earlier (same good old 5000 line file we have...)
Amnon
"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:4658221.1089212715769.JavaMail.itn@is.intellij.net...
>
I'm hope after full Pallada migration this issue will gone. I think it's versioning related workaround bug.
TIA,
Dmitry
Please try latest build
Hi Amnon,
May be you have more observations on it? It still here.
TIA,
Dmitry
I have this same problem on 2178.
Can you post here steps to reproduce it?
TIA,
Dmitry
Using Latest version of your plugin 1.8.2
Idea build 2178 on WindowsXP
1) When I first open IDEA my project auto loads. There are no open editors.
2) I hit CtrlShiftN to locate a properties file when I find one I hit enter to select it and a small window pops up showing that it is scanning properties files. After that the editor opens with my property file and the exception pops up.
Let me know if there is anymore information that you need. Thanks.
Exactly what I am getting.
"Michael Garza" <no_mail@jetbrains.com> wrote in message
news:21902038.1089402141051.JavaMail.itn@is.intellij.net...
>
editors.
>
enter to select it and a small window pops up showing that it is scanning
properties files. After that the editor opens with my property file and the
exception pops up.
>
Hi,
As wokaround you can kepp open at least one properties file at project close.
TIA,
Dmitry
Ok, thanks. Did you find the problem? The exception does not bother me that much. However, I would like to ask for two feature requests if at all possible.
1) Is there any way to make that "Scanning Properties Files" Dialog a background process? I have quite a few properties files and it takes a little while.
2) Is there a way to make the tool window show up in the dock only when there is a property file open in the active editor?
Please let me know what you think about these suggestions. BTW, thanks for the great plugin.
Problem found but I'm cannot solve it without JetBrains I post them my investigations and if it not helps I'll mail sources.
1. Noy sure that it possible using OpenAPI
2. Planned and most probably will be implemented but I'm have some doubt about flickering due toggling toolwindow.
TIA,
Dmitry