Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Error with log4j
Error with log4j [message #669734] Wed, 11 May 2011 10:07 Go to next message
Christophe Jouvray is currently offline Christophe JouvrayFriend
Messages: 3
Registered: May 2011
Junior Member
Hi,

I'm currently try to use Xtext which seems very promizing.
However, I have an error each time I type something:

An internal error occurred during: "XtextReconcilerJob".
org.apache.log4j.Logger.isTraceEnabled()Z


However, log4j from apache is installed (and I don't have any other installed log4j plugin). If I check my eclipse installation details, I obtain:

org.apache.log4j (1.2.15.v201005080500) "Apache Jakarta log4j Plug-in" [Resolved]
org.eclipse.xtext.logging (1.2.15) "Xtext log4j fragment" [Resolved]

Do you have any idea to fix this? Thanks.

B.R.
Re: Error with log4j [message #669804 is a reply to message #669734] Wed, 11 May 2011 14:58 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Christophe,

please make sure that you do not use SL4J by accident. It exports
org.apache.log4j, too.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 11.05.11 12:07, schrieb Christophe Jouvray:
> Hi,
>
> I'm currently try to use Xtext which seems very promizing.
> However, I have an error each time I type something:
>
> An internal error occurred during: "XtextReconcilerJob".
> org.apache.log4j.Logger.isTraceEnabled()Z
>
> However, log4j from apache is installed (and I don't have
> any other installed log4j plugin). If I check my eclipse
> installation details, I obtain:
>
> org.apache.log4j (1.2.15.v201005080500) "Apache Jakarta
> log4j Plug-in" [Resolved]
> org.eclipse.xtext.logging (1.2.15) "Xtext log4j fragment"
> [Resolved]
>
> Do you have any idea to fix this? Thanks.
>
> B.R.
>
Re: Error with log4j [message #669951 is a reply to message #669804] Thu, 12 May 2011 07:42 Go to previous messageGo to next message
Christophe Jouvray is currently offline Christophe JouvrayFriend
Messages: 3
Registered: May 2011
Junior Member
In another post, I saw this issue, so I already checked if SL4J is installed. That's not the case.
Anything else to check?

I searched all plugins related to logging, and I obtain the following list:
org.apache.commons.logging (1.0.4.v201005080501) "Apache Commons Logging Plug-in" [Resolved]
org.apache.commons.logging (1.1.1.v201005080502) "Apache Commons Logging Plug-in" [Resolved]
org.apache.log4j (1.2.15.v201005080500) "Apache Jakarta log4j Plug-in" [Resolved]
org.eclipse.papyrus.log (0.7.2.v201101191114) "Papyrus Logging plugin(Incubation)" [Active]
org.eclipse.ui.views.log (1.0.100.v20110210_r362) "Log View" [Active]
org.eclipse.xtext.logging (1.2.15) "Xtext log4j fragment" [Resolved]

I don't know the difference between Active and Resolved. So, I don't know if Resolved for log4j is annoying or not.

Thank you for your help!
Re: Error with log4j [message #670252 is a reply to message #669951] Fri, 13 May 2011 08:43 Go to previous messageGo to next message
Christophe Jouvray is currently offline Christophe JouvrayFriend
Messages: 3
Registered: May 2011
Junior Member
Noboday has an idea to help me?
Re: Error with log4j [message #686136 is a reply to message #669951] Sun, 19 June 2011 22:10 Go to previous messageGo to next message
docere@gmail.com  is currently offline docere@gmail.com Friend
Messages: 1
Registered: July 2010
Junior Member
Not sure if this will help, but I just got out of that problem by
creating a new work space directory and reimporting (with copying set to
true) my projects from my old workspace.

Every once in a while, the eclipse cache of plugins goes out of synch
within the workspace creating all kinds of bizarre errors in plugin
related development.

By recreating your the workspace through this importing process, these
errors go away.

Hope that helps,
Arnold

On 5/12/2011 3:42 AM, Christophe Jouvray wrote:
> In another post, I saw this issue, so I already checked if
> SL4J is installed. That's not the case.
> Anything else to check?
>
> I searched all plugins related to logging, and I obtain the
> following list:
> org.apache.commons.logging (1.0.4.v201005080501) "Apache
> Commons Logging Plug-in" [Resolved]
> org.apache.commons.logging (1.1.1.v201005080502) "Apache
> Commons Logging Plug-in" [Resolved]
> org.apache.log4j (1.2.15.v201005080500) "Apache Jakarta
> log4j Plug-in" [Resolved]
> org.eclipse.papyrus.log (0.7.2.v201101191114) "Papyrus
> Logging plugin(Incubation)" [Active]
> org.eclipse.ui.views.log (1.0.100.v20110210_r362) "Log View"
> [Active]
> org.eclipse.xtext.logging (1.2.15) "Xtext log4j fragment"
> [Resolved]
>
> I don't know the difference between Active and Resolved. So,
> I don't know if Resolved for log4j is annoying or not.
>
> Thank you for your help!
Re: Error with log4j [message #686139 is a reply to message #669951] Mon, 20 June 2011 07:30 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Christophe,

please make sure that org.eclipse.papyrus.log does not export the
package org.apache.log4j

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 12.05.11 09:42, schrieb Christophe Jouvray:
> In another post, I saw this issue, so I already checked if
> SL4J is installed. That's not the case.
> Anything else to check?
>
> I searched all plugins related to logging, and I obtain the
> following list:
> org.apache.commons.logging (1.0.4.v201005080501) "Apache
> Commons Logging Plug-in" [Resolved]
> org.apache.commons.logging (1.1.1.v201005080502) "Apache
> Commons Logging Plug-in" [Resolved]
> org.apache.log4j (1.2.15.v201005080500) "Apache Jakarta
> log4j Plug-in" [Resolved]
> org.eclipse.papyrus.log (0.7.2.v201101191114) "Papyrus
> Logging plugin(Incubation)" [Active]
> org.eclipse.ui.views.log (1.0.100.v20110210_r362) "Log View"
> [Active]
> org.eclipse.xtext.logging (1.2.15) "Xtext log4j fragment"
> [Resolved]
>
> I don't know the difference between Active and Resolved. So,
> I don't know if Resolved for log4j is annoying or not.
>
> Thank you for your help!
Previous Topic:DSL with mandatory prefix - incorporate in grammar ?
Next Topic:XText in Web Text Editors
Goto Forum:
  


Current Time: Thu Apr 25 05:58:49 GMT 2024

Powered by FUDForum. Page generated in 0.04019 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top