Log4JMonitor pluigin updated for build 3311

Available in PluginManager

--
"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]


8 comments
Comment actions Permalink

Here's what I got:
Also the UI looks strange (2 question marks, no hover indication on
toolbar buttons, irregular spacing, etc.).

How is it supposed to be used?

Thanks,
Amnon

org.jdom.Element.addContent(Lorg/jdom/Element;)Lorg/jdom/Element;
java.lang.NoSuchMethodError:
org.jdom.Element.addContent(Lorg/jdom/Element;)Lorg/jdom/Element;
at
com.webspherious.intellij.Log4JPlugin.writeExternal(Log4JPlugin.java:120)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.serializeComponent(ComponentManagerImpl.java:204)
at
com.intellij.openapi.project.impl.BaseFileConfigurable.saveToXml(BaseFileConfigurable.java:138)
at
com.intellij.openapi.project.impl.ProjectImpl.saveToXml(ProjectImpl.java:28)
at
com.intellij.openapi.project.impl.BaseFileConfigurable._save(BaseFileConfigurable.java:41)
at com.intellij.openapi.project.impl.ProjectImpl$2.run(ProjectImpl.java:9)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:91)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:58)
at com.intellij.openapi.project.impl.ProjectImpl.save(ProjectImpl.java:109)
at com.intellij.ide.SaveAndSyncHandler.c(SaveAndSyncHandler.java:80)
at
com.intellij.ide.SaveAndSyncHandler.access$300(SaveAndSyncHandler.java:18)
at com.intellij.ide.SaveAndSyncHandler$4.run(SaveAndSyncHandler.java:1)
at com.intellij.ide.SaveAndSyncHandler.b(SaveAndSyncHandler.java:39)
at
com.intellij.ide.SaveAndSyncHandler.access$500(SaveAndSyncHandler.java:94)
at com.intellij.ide.SaveAndSyncHandler$5.run(SaveAndSyncHandler.java:3)
at com.intellij.util.Alarm$1.run(Alarm.java:85)
at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:227)
at
com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:18)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:111)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:165)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:119)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
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)

0
Comment actions Permalink

Any updates by the way on how to use this plugin. Would love to integrate into my projects, but, the supplied instructions are somewhat measly/incomprehensible no offense of course since I'm sure the plugin works great. I'd just like to see an example of how to get it to work. Thanks.

0
Comment actions Permalink

Amnon,

This happens probably because the Log4JMonitor was compiled for a
previous version of the eap. 3311 is bundled with jdom 1.0, which has no
such method (addContent).

I believe Maxium is working on a patched jdom which does include it
(many other plugins are broken too with this message).


Amnon I. Govrin wrote:

Here's what I got:
Also the UI looks strange (2 question marks, no hover indication on
toolbar buttons, irregular spacing, etc.).

How is it supposed to be used?

Thanks,
Amnon

org.jdom.Element.addContent(Lorg/jdom/Element;)Lorg/jdom/Element;
java.lang.NoSuchMethodError:
org.jdom.Element.addContent(Lorg/jdom/Element;)Lorg/jdom/Element;
at
com.webspherious.intellij.Log4JPlugin.writeExternal(Log4JPlugin.java:120)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.serializeComponent(ComponentManagerImpl.java:204)

at
com.intellij.openapi.project.impl.BaseFileConfigurable.saveToXml(BaseFileConfigurable.java:138)

at
com.intellij.openapi.project.impl.ProjectImpl.saveToXml(ProjectImpl.java:28)

at
com.intellij.openapi.project.impl.BaseFileConfigurable._save(BaseFileConfigurable.java:41)

at
com.intellij.openapi.project.impl.ProjectImpl$2.run(ProjectImpl.java:9)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:91)

at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:58)

at
com.intellij.openapi.project.impl.ProjectImpl.save(ProjectImpl.java:109)
at com.intellij.ide.SaveAndSyncHandler.c(SaveAndSyncHandler.java:80)
at
com.intellij.ide.SaveAndSyncHandler.access$300(SaveAndSyncHandler.java:18)
at com.intellij.ide.SaveAndSyncHandler$4.run(SaveAndSyncHandler.java:1)
at com.intellij.ide.SaveAndSyncHandler.b(SaveAndSyncHandler.java:39)
at
com.intellij.ide.SaveAndSyncHandler.access$500(SaveAndSyncHandler.java:94)
at com.intellij.ide.SaveAndSyncHandler$5.run(SaveAndSyncHandler.java:3)
at com.intellij.util.Alarm$1.run(Alarm.java:85)
at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:227)
at
com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:18)

at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:111)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:165)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:119)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)

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)

0
Comment actions Permalink

Hmm... the title says "updated for build 3311", so what gives?

Arik Kfir wrote:

Amnon,

This happens probably because the Log4JMonitor was compiled for a
previous version of the eap. 3311 is bundled with jdom 1.0, which has no
such method (addContent).

I believe Maxium is working on a patched jdom which does include it
(many other plugins are broken too with this message).

0
Comment actions Permalink

I updated the code to work with 3311. It's available in PluginManager. As
for other problems/questions: I don't have access to the source, just
decompiled one class to fix this issue. The owner of the plugin never posted
the source and has yet to answer any emails. The decompiled code is a mess
I'd rather not wade through just to improve the gui a little. It works fine
for me and that's enough:)

"Amnon I. Govrin" <nomail@jetbrains.com> wrote in message
news:d4oq39$thc$1@is.intellij.net...

Here's what I got:
Also the UI looks strange (2 question marks, no hover indication on
toolbar buttons, irregular spacing, etc.).

>

How is it supposed to be used?

>

Thanks,
Amnon

>

org.jdom.Element.addContent(Lorg/jdom/Element;)Lorg/jdom/Element;
java.lang.NoSuchMethodError:
org.jdom.Element.addContent(Lorg/jdom/Element;)Lorg/jdom/Element;
at
com.webspherious.intellij.Log4JPlugin.writeExternal(Log4JPlugin.java:120)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.serializeComponent(ComponentManagerImpl.java:204)
at
com.intellij.openapi.project.impl.BaseFileConfigurable.saveToXml(BaseFileConfigurable.java:138)
at
com.intellij.openapi.project.impl.ProjectImpl.saveToXml(ProjectImpl.java:28)
at
com.intellij.openapi.project.impl.BaseFileConfigurable._save(BaseFileConfigurable.java:41)
at com.intellij.openapi.project.impl.ProjectImpl$2.run(ProjectImpl.java:9)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:91)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:58)
at
com.intellij.openapi.project.impl.ProjectImpl.save(ProjectImpl.java:109)
at com.intellij.ide.SaveAndSyncHandler.c(SaveAndSyncHandler.java:80)
at
com.intellij.ide.SaveAndSyncHandler.access$300(SaveAndSyncHandler.java:18)
at com.intellij.ide.SaveAndSyncHandler$4.run(SaveAndSyncHandler.java:1)
at com.intellij.ide.SaveAndSyncHandler.b(SaveAndSyncHandler.java:39)
at
com.intellij.ide.SaveAndSyncHandler.access$500(SaveAndSyncHandler.java:94)
at com.intellij.ide.SaveAndSyncHandler$5.run(SaveAndSyncHandler.java:3)
at com.intellij.util.Alarm$1.run(Alarm.java:85)
at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:227)
at
com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:18)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:111)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:165)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:119)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
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)



0
Comment actions Permalink

I believe there's direction on the wiki:
www.intellij.org/twiki/bin/view/Main/LogMonitorPlugin

"ghettogirl" <no_mail@jetbrains.com> wrote in message
news:27643449.1114631907815.JavaMail.itn@is.intellij.net...

Any updates by the way on how to use this plugin. Would love to integrate
into my projects, but, the supplied instructions are somewhat
measly/incomprehensible no offense of course since I'm sure the plugin
works great. I'd just like to see an example of how to get it to work.
Thanks.



0
Comment actions Permalink

Maybe you still have the old one installed too. I just distributed the jar
this time. Not a zip of the dir structure. So, deleted the Log4JMonitor
directory.

"Amnon I. Govrin" <nomail@jetbrains.com> wrote in message
news:d4or7l$3fo$1@is.intellij.net...

Hmm... the title says "updated for build 3311", so what gives?

>

Arik Kfir wrote:

>> Amnon,
>>
>> This happens probably because the Log4JMonitor was compiled for a
>> previous version of the eap. 3311 is bundled with jdom 1.0, which has no
>> such method (addContent).
>>
>> I believe Maxium is working on a patched jdom which does include it (many
>> other plugins are broken too with this message).


0
Comment actions Permalink

Amnon I. Govrin wrote:

Hmm... the title says "updated for build 3311", so what gives?

Arik Kfir wrote:

>> Amnon,
>>
>> This happens probably because the Log4JMonitor was compiled for a
>> previous version of the eap. 3311 is bundled with jdom 1.0, which has
>> no such method (addContent).
>>
>> I believe Maxium is working on a patched jdom which does include it
>> (many other plugins are broken too with this message).
oh heh...missed that ;)

in that case, i dunno...

0

Please sign in to leave a comment.