log4jmonitor

Hi,

I use Intellij Idea 7.0.3, in older versions i used log4jmonitor (it´s cool), but in 7.0.3 the plugin crash. Copy/Paste trace.

Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.webspherious.log4jmonitor.DetailPanel$2@bf5c86,notifier=null,catchExceptions=false,when=1210145753023] on sun.awt.windows.WToolkit@139ed6d: Path passed to JarFileSystem does have jar separator !/
java.lang.AssertionError: Path passed to JarFileSystem does have jar separator !/
at com.intellij.openapi.vfs.impl.jar.JarFileSystemImpl.extractRootPath(JarFileSystemImpl.java:38)
at com.intellij.openapi.vfs.newvfs.NewVirtualFileSystem.findFileByPath(NewVirtualFileSystem.java:46)
at com.webspherious.intellij.utils.IntelliJFileUtils.exists(IntelliJFileUtils.java:102)
at com.webspherious.intellij.Log4JPlugin.fileExists(Log4JPlugin.java:133)
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.DetailPanel$2.run(DetailPanel.java:102)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:131)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:132)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:136)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)


What can i do ?

Thanks

1 comment
Comment actions Permalink

I have fixed the plugin and it works in 8.x through10.x.  The port has to be 4454 as of now.

  <appender name="LF5_SOCKET" >
    <param name="RemoteHost" value="localhost"/>
    <param name="Port" value="4454"/>
    <param name="LocationInfo" value="true"/>
    <param name="ReconnectionDelay" value="5000"/>
    <layout >
      <param name="ConversionPattern"
             value="[slf5s.start]%d{DATE}[slf5s.DATE]%n %p[slf5s.PRIORITY]%n${weblogic.Name} : %X{sessionId}[slf5s.NDC]%n%X{loginId} : %X{dmzSeqNum}[slf5s.THREAD]%n%c[slf5s.CATEGORY]%n%l[slf5s.LOCATION]%n%m[slf5s.MESSAGE]%n%n"/>
    </layout>
  </appender>



Attachment(s):
log4Jplugin.zip
0

Please sign in to leave a comment.