noreply.ceki | 13 Nov 11:41 2007
Picon

svn commit: r1602 - in logback/trunk/logback-core/src/main/java/ch/qos/logback/core: . util

Author: ceki
Date: Tue Nov 13 11:41:22 2007
New Revision: 1602

Modified:
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/BasicStatusManager.java
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/StatusPrinter.java

Log:
Synchronizing on ConcurrentModificationException in order to avoid ConcurrentModificationException
exceptions on the list maintained by ConcurrentModificationException, as shown below

java.util.ConcurrentModificationException
        at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
        at java.util.AbstractList$Itr.next(AbstractList.java:420)
        at ch.qos.logback.core.util.StatusPrinter.print(StatusPrinter.java:47)
        at ch.qos.logback.core.util.StatusPrinter.print(StatusPrinter.java:38)
        at ch.qos.logback.audit.server.AuditServerTest.testUnreachable(AuditServerTest.java:137)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)

This can happen if multiple thread access BasicStatusManager simultaneously.

Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/BasicStatusManager.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/BasicStatusManager.java	(original)
+++
logback/trunk/logback-core/src/main/java/ch/qos/logback/core/BasicStatusManager.java	Tue
(Continue reading)

John Noreplai | 13 Nov 12:00 2007
Picon

[continuum] BUILD FAILURE: Logback-Parent

Online report : http://localhost:8090/continuum/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/44/buildId/4296
Build statistics:
  State: Failed
  Previous State: Failed
  Started at: Tue, 13 Nov 2007 12:00:08 +0100
  Finished at: Tue, 13 Nov 2007 12:00:14 +0100
  Total time: 6s
  Build Trigger: Schedule
  Exit code: 1
  Building machine hostname: pixie
  Operating system : Linux(unknown)
  Java version : 1.5.0_08(Sun Microsystems Inc.)

Changes
         ceki          Synchronizing on ConcurrentModificationException in order to avoid ConcurrentModificationException
exceptions on the list maintained by ConcurrentModificationException, as shown below

java.util.ConcurrentModificationException
        at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
        at java.util.AbstractList$Itr.next(AbstractList.java:420)
        at ch.qos.logback.core.util.StatusPrinter.print(StatusPrinter.java:47)
        at ch.qos.logback.core.util.StatusPrinter.print(StatusPrinter.java:38)
        at ch.qos.logback.audit.server.AuditServerTest.testUnreachable(AuditServerTest.java:137)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)

This can happen if multiple thread access BasicStatusManager simultaneously.
             /logback/trunk/logback-core/src/main/java/ch/qos/logback/core/BasicStatusManager.java
(Continue reading)

bugzilla | 17 Nov 22:34 2007
Picon

[Bug 111] New: Eclipse Europa doesn't work with the Console Plugin: NullPointerException

http://bugzilla.qos.ch/show_bug.cgi?id=111

           Summary: Eclipse Europa doesn't work with the Console Plugin:
                    NullPointerException
           Product: Console Plugin
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: blocker
          Priority: P4
         Component: interface
        AssignedTo: logback-dev@...
        ReportedBy: kap4020@...

I don't think the LogBack Eclipse plugin works with Europa (Eclipse 3.3.0).  I
had to change the plugin.xml to the following:

"""
<?xml version="1.0" encoding="UTF-8"?>
<plugin
   name="Logback Console Plugin"
        id="ch.qos.logback.eclipse"
        version="1.0.1"
        provider-name="ch.qos.logback.eclipse">

   <runtime>
        <library name="logbackPlugin.jar" />
        </runtime>

(Continue reading)

bugzilla | 18 Nov 16:30 2007
Picon

[Bug 111] Eclipse Europa doesn't work with the Console Plugin: NullPointerException

http://bugzilla.qos.ch/show_bug.cgi?id=111

------- Comment #1 from noreply.sebastien@...  2007-11-18 16:30 -------
Hello Karl,

I've tried the plugin and it works fine.

As far as I can see, the NPE is thrown when the plugin tries to log the fact
the it *succeeded* to start the server that will recieve logs... Are there
other plugins in your Eclipse install that behave unexpectedly?

--

-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla | 18 Nov 17:21 2007
Picon

[Bug 69] [PatchAttached] I18N Patch

http://bugzilla.qos.ch/show_bug.cgi?id=69

noreply.sebastien@... changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

------- Comment #6 from noreply.sebastien@...  2007-11-18 17:21 -------
Hello Sebastian,

I've applied your patch by hand, and it works fine. It will be included in the
next version of the plugin.

Thanks a lot!

The Message class contains an author tag with your name. I'll speak with Ceki
as if we should add your name in other classes as well.

--

-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
noreply.seb | 18 Nov 17:21 2007
Picon

svn commit: r1603 - in logbackPDE/trunk/plugins/ConsolePlugin: . META-INF src/main/java/ch/qos/logback/eclipse src/main/java/ch/qos/logback/eclipse/actions src/main/java/ch/qos/logback/eclipse/dialog src/main/java/ch/qos/logback/eclipse/model src/main/java/ch/qos/logback/eclipse/reciever src/main/java/ch/qos/logback/eclipse/util src/main/java/ch/qos/logback/eclipse/views

Author: seb
Date: Sun Nov 18 17:21:33 2007
New Revision: 1603

Added:
   logbackPDE/trunk/plugins/ConsolePlugin/plugin.properties
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/Messages.java
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/messages.properties
Modified:
   logbackPDE/trunk/plugins/ConsolePlugin/META-INF/MANIFEST.MF
   logbackPDE/trunk/plugins/ConsolePlugin/build.properties
   logbackPDE/trunk/plugins/ConsolePlugin/plugin.xml
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/LogbackPlugin.java
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/PluginLogger.java
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/actions/LogbackFilterAction.java
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/actions/LogbackPreferencesAction.java
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/actions/OpenStackTraceAction.java
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/dialog/LogbackFilterDialog.java
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/dialog/LogbackPreferencesDialog.java
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/model/EventFilter.java
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/model/LoggingEventManager.java
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/reciever/SimpleSocketServer.java
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/reciever/SocketNode.java
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/util/EditorUtil.java
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/views/FilterContentProvider.java
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/views/LogbackView.java
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/views/LoggingEventLabelProvider.java

Log:
I18N for the Console Plugin.
(Continue reading)

bugzilla | 18 Nov 17:27 2007
Picon

[Bug 72] UI Enhancements to the plugin

http://bugzilla.qos.ch/show_bug.cgi?id=72

noreply.sebastien@... changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

------- Comment #4 from noreply.sebastien@...  2007-11-18 17:27 -------
Hello,

I've downloaded your patch, thanks for sending it!

As soon as the reviewing is done, I'll commit the changes.

--

-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
noreply.seb | 18 Nov 18:13 2007
Picon

svn commit: r1604 - in logbackPDE/trunk/plugins/ConsolePlugin: . META-INF lib src/main/java/ch/qos/logback/eclipse

Author: seb
Date: Sun Nov 18 18:13:19 2007
New Revision: 1604

Added:
   logbackPDE/trunk/plugins/ConsolePlugin/lib/logback-classic-0.9.8.jar   (contents, props changed)
   logbackPDE/trunk/plugins/ConsolePlugin/lib/logback-core-0.9.8.jar   (contents, props changed)
   logbackPDE/trunk/plugins/ConsolePlugin/lib/slf4j-api-1.4.3.jar   (contents, props changed)
Removed:
   logbackPDE/trunk/plugins/ConsolePlugin/lib/logback-classic-0.9.3.jar
   logbackPDE/trunk/plugins/ConsolePlugin/lib/logback-core-0.9.3.jar
   logbackPDE/trunk/plugins/ConsolePlugin/lib/slf4j-api-1.3.0.jar
Modified:
   logbackPDE/trunk/plugins/ConsolePlugin/META-INF/MANIFEST.MF
   logbackPDE/trunk/plugins/ConsolePlugin/build.properties
   logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/messages.properties

Log:
Updated the Console Plugin to use the latest Logback and SLF4J versions

Modified: logbackPDE/trunk/plugins/ConsolePlugin/META-INF/MANIFEST.MF
==============================================================================
--- logbackPDE/trunk/plugins/ConsolePlugin/META-INF/MANIFEST.MF	(original)
+++ logbackPDE/trunk/plugins/ConsolePlugin/META-INF/MANIFEST.MF	Sun Nov 18 18:13:19 2007
 <at>  <at>  -5,9 +5,9  <at>  <at> 
 Bundle-Version: 1.0.1
 Bundle-ClassPath: logbackPlugin.jar,
  lib/janino-2.4.3.jar,
- lib/slf4j-api-1.3.0.jar,
- lib/logback-classic-0.9.3.jar,
(Continue reading)

bugzilla | 18 Nov 18:15 2007
Picon

[Bug 111] Eclipse Europa doesn't work with the Console Plugin: NullPointerException

http://bugzilla.qos.ch/show_bug.cgi?id=111

------- Comment #2 from kap4020@...  2007-11-18 18:15 -------
(In reply to comment #1)
> Hello Karl,
> 
> I've tried the plugin and it works fine.
> 
> As far as I can see, the NPE is thrown when the plugin tries to log the fact
> the it *succeeded* to start the server that will recieve logs... Are there
> other plugins in your Eclipse install that behave unexpectedly?

Minor correction on my part: I'm running Eclipse 3.3.1.1.

No other plugins behave this way, but the only other 3rd party plugin I have is
Subclipse (http://subclipse.tigris.org/).

I'll try on my friend's Eclipse installation, but it seems at least the
plugin.xml file needs to be updated.

--

-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla | 18 Nov 18:30 2007
Picon

[Bug 111] Eclipse Europa doesn't work with the Console Plugin: NullPointerException

http://bugzilla.qos.ch/show_bug.cgi?id=111

------- Comment #3 from noreply.sebastien@...  2007-11-18 18:30 -------
Hello Karl,

I am using Eclipse 3.3.1.1, too… :-)

What is the problem you experience if the unmodified plugin.xml file?

--

-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Gmane