Problem with PropertiesEditorPlugin
I can't open any properties files in build 3177 with it installed.
--
"A man's ethical behavior should be based effectually on sympathy,
education, and social ties and needs; no religious basis is necessary.
Man would indeed be in a poor way if he had to be restrained by fear of
punishment and hope of reward after death."
[Albert Einstein, "Religion and Science", New York Times Magazine, 9
November 1930]
请先登录再写评论。
Same here, see the below stack trace. This seems to be a binary compatibility issue affecting IDEA's API.
java.lang.NoSuchMethodError: com.intellij.ui.TreeSpeedSearch.(Lcom/intellij/util/ui/Tree;)V at com.propertiesEditor.propedit.view.ResourceKeysTree.(ResourceKeysTree.java:77) at com.propertiesEditor.propedit.controller.PropertiesFileEditor.]]>(PropertiesFileEditor.java:84)
at com.propertiesEditor.propedit.PropertiesFileEditorComponent.createEditor(PropertiesFileEditorComponent.java:166)
I'm chewing my leg off here... ;)
/Kreiger
Christoffer
ROFL,
How does it taste?
Alain
Fix will be released really soon.
TIA,
Dmitry
like chicken:)
Alain Ravet wrote:
>> I'm chewing my leg off here... ;)
--
"A man's ethical behavior should be based effectually on sympathy,
education, and social ties and needs; no religious basis is necessary.
Man would indeed be in a poor way if he had to be restrained by fear of
punishment and hope of reward after death."
[Albert Einstein, "Religion and Science", New York Times Magazine, 9
November 1930]
Already done
Thanks Dmitry!
I get the following Exception after the new "Clear R/O Status" dialog comes when trying to edit a file from Perforce. Error dialog says it's a PropertiesEditor plugin problem.
Error message: Assertion failed: cannot share data context between Swing events; initial event count = 668915; current event count = 669421
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at com.intellij.ide.impl.DataManagerImpl$b_.getData(DataManagerImpl$b_.java:5)
at com.intellij.codeInsight.f.c.q$d_.executeWriteAction(q$d_.java:11)
at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler$1.run(EditorWriteActionHandler.java:39)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:417)
at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler.execute(EditorWriteActionHandler.java:23)
at com.propertiesEditor.propedit.autocomplete.action.MyEnterHandler.executeWriteAction(MyEnterHandler.java:26)
at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler$1.run(EditorWriteActionHandler.java:39)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:417)
at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler.execute(EditorWriteActionHandler.java:23)
at com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at com.intellij.openapi.command.a.a.executeCommand(a.java:100)
at com.intellij.openapi.command.a.a.executeCommand(a.java:68)
at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at com.intellij.openapi.keymap.a.e.a(e.java:74)
at com.intellij.openapi.keymap.a.e.b(e.java:103)
at com.intellij.openapi.keymap.a.e.a(e.java:123)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:132)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:1)
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)
Forgot to mention that the files don't necessarily have to be properties
files.
Brad Lane wrote:
--
"A man's ethical behavior should be based effectually on sympathy,
education, and social ties and needs; no religious basis is necessary.
Man would indeed be in a poor way if he had to be restrained by fear of
punishment and hope of reward after death."
[Albert Einstein, "Religion and Science", New York Times Magazine, 9
November 1930]
Please try latest version.
TIA,
Dmitry
Yep, that fixed it. Thank you much.
Dmitry Kashin wrote:
--
"A man's ethical behavior should be based effectually on sympathy,
education, and social ties and needs; no religious basis is necessary.
Man would indeed be in a poor way if he had to be restrained by fear of
punishment and hope of reward after death."
[Albert Einstein, "Religion and Science", New York Times Magazine, 9
November 1930]
There also seems to be a memory leak. With PropertiesEditor plugin installed IDEA's memory usage quickly climbs past 300MB, when I remove the plugin it stays around 175MB.
Hi,
Any details on your project? How many properties files you have and their size?
TIA,
Dmitry
We have around 25 properties files. Most are 2-3KB one is 29KB.
Hi,
Very interesting to see memory snapshot in YourKit, but have no idea how we can make it. Described behaviour very strange. It cannot take 150mb! My test project have huge files but consume less memory.
TIA,
Dmitry
Maybe the Jetbrains folks would allow me to send it to them and they can determine if it's truly your plugin or something else and send it to you if it is. Jetbrainers?