LogMonitorPlugin and IDEA 4.5?

Hi Aiko,
what about your (excellent, by the way) Plugin and IDEA 4.5? Will there be any chance to get it? Up to it seems not to be available ...
Regards, Bernd

22 comments
Comment actions Permalink

For now you can manually download it from the plugin page and put it in your plugins directory and it should work fine.

0
Comment actions Permalink

Thanks for the tip Mike. I've been waiting for Log4JMonitor to appear in the plugins download list. I've now installed it manually - Bill

0
Comment actions Permalink

Thanks a lot for the hint ... the plugin starts fine, but unfortunately I can't see the details information. Any idea?

0
Comment actions Permalink

No problem, I can not tell you however why you are not seeing any details. Just make sure that log4j is connecting to the monitor and not throwing any exceptions. Thanks.

0
Comment actions Permalink

I am unable to view Details or Goto source. I get the following exception:

2004-08-19 15:13:17,791 ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(57,13),button=1,modifiers=Button1,clickCount=1] on ###overrideRedirect###
2004-08-19 15:13:17,791 ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 4.5 Build #2233
2004-08-19 15:13:17,791 ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.4.2_04
2004-08-19 15:13:17,791 ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM
2004-08-19 15:13:17,791 ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
2004-08-19 15:13:17,791 ERROR - com.intellij.ide.IdeEventQueue - OS: Windows XP
2004-08-19 15:13:17,791 ERROR - com.intellij.ide.IdeEventQueue - Last Action: EditorTextEnd
2004-08-19 15:13:17,791 ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(57,13),button=1,modifiers=Button1,clickCount=1] on ###overrideRedirect###
java.lang.NoClassDefFoundError: com/intellij/openapi/projectRoots/ProjectRootManager
at com.webspherious.intellij.utils.IntelliJFileUtils.exists(IntelliJFileUtils.java:84)
at com.webspherious.intellij.Log4JPlugin.fileExists(Log4JPlugin.java:144)
at com.webspherious.log4jmonitor.AbtractLog4JPlugin.toLink(AbtractLog4JPlugin.java:157)
at com.webspherious.log4jmonitor.AbtractLog4JPlugin.toLink(AbtractLog4JPlugin.java:179)
at com.webspherious.log4jmonitor.AbtractLog4JPlugin.getHTMLRepresentation(AbtractLog4JPlugin.java:228)
at com.webspherious.log4jmonitor.TableMenu.actionPerformed(TableMenu.java:148)
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.AbstractButton.doClick(AbstractButton.java:289)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
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:158)
at com.intellij.ide.t.a(t.java:100)
at com.intellij.ide.t.dispatchEvent(t.java:103)
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)
2004-08-19 15:13:20,682 INFO - fs.impl.VirtualFileManagerImpl - refresh(), modalityState=ModalityState.NON_MODAL
2004-08-19 15:13:20,682 INFO - impl.local.LocalFileSystemImpl - adding request to synchronize queue:com.intellij.openapi.d.b.b.c$5@cafe89
2004-08-19 15:13:20,682 INFO - fs.impl.VirtualFileManagerImpl - beforeRefreshStart()
2004-08-19 15:13:20,698 INFO - impl.local.LocalFileSystemImpl - Executing request:com.intellij.openapi.d.b.b.c$5@cafe89
2004-08-19 15:13:20,760 INFO - fs.impl.VirtualFileManagerImpl - afterRefreshFinish()
2004-08-19 15:13:20,791 INFO - fs.impl.VirtualFileManagerImpl - beforeRefreshStart()

Great plugin mate, thanks!

Colin

0
Comment actions Permalink

I don't think I can help you out with this since it is not my plugin and I do not have the source either. Sorry.

0
Comment actions Permalink

Colin Smith wrote:

I am unable to view Details or Goto source. I get the following exception:

2004-08-19 15:13:17,791 ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(57,13),button=1,modifiers=Button1,clickCount=1] on ###overrideRedirect###
2004-08-19 15:13:17,791 ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 4.5 Build #2233
2004-08-19 15:13:17,791 ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.4.2_04
2004-08-19 15:13:17,791 ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM
2004-08-19 15:13:17,791 ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
2004-08-19 15:13:17,791 ERROR - com.intellij.ide.IdeEventQueue - OS: Windows XP
2004-08-19 15:13:17,791 ERROR - com.intellij.ide.IdeEventQueue - Last Action: EditorTextEnd
2004-08-19 15:13:17,791 ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(57,13),button=1,modifiers=Button1,clickCount=1] on ###overrideRedirect###
java.lang.NoClassDefFoundError: com/intellij/openapi/projectRoots/ProjectRootManager
at com.webspherious.intellij.utils.IntelliJFileUtils.exists(IntelliJFileUtils.java:84)
at com.webspherious.intellij.Log4JPlugin.fileExists(Log4JPlugin.java:144)
at com.webspherious.log4jmonitor.AbtractLog4JPlugin.toLink(AbtractLog4JPlugin.java:157)
at com.webspherious.log4jmonitor.AbtractLog4JPlugin.toLink(AbtractLog4JPlugin.java:179)
at com.webspherious.log4jmonitor.AbtractLog4JPlugin.getHTMLRepresentation(AbtractLog4JPlugin.java:228)
at com.webspherious.log4jmonitor.TableMenu.actionPerformed(TableMenu.java:148)
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.AbstractButton.doClick(AbstractButton.java:289)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
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:158)
at com.intellij.ide.t.a(t.java:100)
at com.intellij.ide.t.dispatchEvent(t.java:103)
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)
2004-08-19 15:13:20,682 INFO - fs.impl.VirtualFileManagerImpl - refresh(), modalityState=ModalityState.NON_MODAL
2004-08-19 15:13:20,682 INFO - impl.local.LocalFileSystemImpl - adding request to synchronize queue:com.intellij.openapi.d.b.b.c$5@cafe89
2004-08-19 15:13:20,682 INFO - fs.impl.VirtualFileManagerImpl - beforeRefreshStart()
2004-08-19 15:13:20,698 INFO - impl.local.LocalFileSystemImpl - Executing request:com.intellij.openapi.d.b.b.c$5@cafe89
2004-08-19 15:13:20,760 INFO - fs.impl.VirtualFileManagerImpl - afterRefreshFinish()
2004-08-19 15:13:20,791 INFO - fs.impl.VirtualFileManagerImpl - beforeRefreshStart()

Great plugin mate, thanks!

Colin

It looks like you have an older version that is using an old api. You
should be using version 0.9.3 with IDEA 4.5

0
Comment actions Permalink

Fine ... but where can I get plugin version 0.9.3? At http://www.intellij.org/twiki/bin/view/Main/LogMonitorPlugin I find version 1.0 (logmonitor873.zip), but this one seems to fail.

0
Comment actions Permalink

Bernd Schulze wrote:

Fine ... but where can I get plugin version 0.9.3? At http://www.intellij.org/twiki/bin/view/Main/LogMonitorPlugin I find version 1.0 (logmonitor873.zip), but this one seems to fail.

Hmm, you're right. I'm attaching 0.9.3. I wish I could get the source
for this plugin. There's a couple tweaks I'd like to make. Guess I need
to make my own. I've been thinking about making one based on Chainsaw
v2. Anyone interested? In helping?



Attachment(s):
Log4jMonitor.zip
0
Comment actions Permalink

I would be. I use this plugin quite a bit and would be interested in seeing a new and improved version.

0
Comment actions Permalink

Michael Garza wrote:

I would be. I use this plugin quite a bit and would be interested in seeing a new and improved version.

Have you tried Chainsaw v2? Should we base it on that? I can add it to
my project on java.net (https://intellij-idea-plugins.dev.java.net/).

0
Comment actions Permalink

Sounds good to me.

0
Comment actions Permalink

Thanks Brad, but that zip file is corrupt. Please try again.

Colin

0
Comment actions Permalink

Colin Smith wrote:

Thanks Brad, but that zip file is corrupt. Please try again.

Colin


Hmm, works fine for me but here's another anyway. Oh, you need to unzip
it to your plugins directory.



Attachment(s):
Log4jMonitor.zip
0
Comment actions Permalink

I still can't open this zip file. Windows XP says its invalid or corrupted. Can anyone else download and extract it ok?

0
Comment actions Permalink

Okay, let's try this. I'm posting from intellij.net instead of the newsgroup. Also, I created this one with WinZip instead of XP's built in archiver(which I thought was WinZip so not sure how this is different but...).



Attachment(s):
Log4jMonitor.zip
0
Comment actions Permalink

Brad Lane wrote:

Okay, let's try this. I'm posting from intellij.net instead of the newsgroup. Also, I created this one with WinZip instead of XP's built in archiver(which I thought was WinZip so not sure how this is different but...).

Crap, I guess attachments don't get copied over from intellij.net forums
to the newsgroup. Which one are you using?

0
Comment actions Permalink

Colin Smith wrote:

I still can't open this zip file. Windows XP says its invalid or corrupted. Can anyone else download and extract it ok?


From either of Brad's posts, I can download and extract it using WinZip
on WinXP with no problems.

I am accessing it via the Newsgroup not the forum.

0
Comment actions Permalink

I'm using intellij.net; i am unable to use newsgroups here at work.

Still no joy with your latest post.

I thought it might be our network preventing zip file downloads, but I managed to download the original zip file from intellij.org without a problem. Also others here have tried and failed to download your posted file.

You can't even email it to me cos zip files are blocked in email, and http email is blocked too!

Can u post it to intellij.org, (where it belongs!) ?

0
Comment actions Permalink

Colin Smith wrote:

I'm using intellij.net; i am unable to use newsgroups here at work.

Still no joy with your latest post.

I thought it might be our network preventing zip file downloads, but I managed to download the original zip file from intellij.org without a problem. Also others here have tried and failed to download your posted file.

You can't even email it to me cos zip files are blocked in email, and http email is blocked too!

Can u post it to intellij.org, (where it belongs!) ?


Well, it really should be on plugins.intellij.net but since it's not my
plugin I don't want to do that. I did upload it to
http://www.intellij.org/twiki/bin/view/Main/LogMonitorPlugin

0
Comment actions Permalink

It works! Hurrah!

Thanks Brad

0
Comment actions Permalink

Thanks a lot, Brad - it works fine!
Regards, Bernd

0

Please sign in to leave a comment.