Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » An internal error occurred during: "XtextReconcilerJob".(java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z)
An internal error occurred during: "XtextReconcilerJob". [message #660892] Tue, 22 March 2011 09:24 Go to next message
Xavier Seignard is currently offline Xavier SeignardFriend
Messages: 52
Registered: June 2010
Member
Quote:
java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
at org.eclipse.xtext.ui.editor.reconciler.XtextReconcilerUnitOf Work.process(XtextReconcilerUnitOfWork.java:47)
at org.eclipse.xtext.ui.editor.reconciler.XtextReconcilerUnitOf Work.process(XtextReconcilerUnitOfWork.java:1)
at org.eclipse.xtext.util.concurrent.IUnitOfWork$Void.exec(IUni tOfWork.java:36)
at org.eclipse.xtext.util.concurrent.IStateAccess$AbstractImpl. modify(IStateAccess.java:57)
at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumen tLocker.modify(XtextDocument.java:161)
at org.eclipse.xtext.ui.editor.model.XtextDocument.modify(Xtext Document.java:74)
at org.eclipse.xtext.ui.editor.reconciler.XtextDocumentReconcil eStrategy.reconcile(XtextDocumentReconcileStrategy.java:27)
at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.run(X textReconciler.java:233)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


It's an exception I got almost every time I try to save something on a xtext model.

Here is my conf :

Quote:
eclipse.buildId=M20110210-1200
java.version=1.6.0_24
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=fr_FR
Framework arguments: -keyring /Users/xas/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/xas/.eclipse_keyring -showlocation


And I run Xtext 1.0.2.v201102150722

Any idea what's the cause of that error?

Regards,

And congrats for the Eclipse community award!

Xavier
Re: An internal error occurred during: "XtextReconcilerJob". [message #661292 is a reply to message #660892] Thu, 24 March 2011 01:00 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3109
Registered: July 2009
Senior Member
Hi Xavier,

please make sure to use log4j 1.2.15.

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

Am 22.03.11 10:24, schrieb Xavier Seignard:
> Quote:
>> java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
>> at org.eclipse.xtext.ui.editor.reconciler.XtextReconcilerUnitOf
>> Work.process(XtextReconcilerUnitOfWork.java:47)
>> at org.eclipse.xtext.ui.editor.reconciler.XtextReconcilerUnitOf
>> Work.process(XtextReconcilerUnitOfWork.java:1)
>> at org.eclipse.xtext.util.concurrent.IUnitOfWork$Void.exec(IUni
>> tOfWork.java:36)
>> at org.eclipse.xtext.util.concurrent.IStateAccess$AbstractImpl.
>> modify(IStateAccess.java:57)
>> at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumen
>> tLocker.modify(XtextDocument.java:161)
>> at org.eclipse.xtext.ui.editor.model.XtextDocument.modify(Xtext
>> Document.java:74)
>> at org.eclipse.xtext.ui.editor.reconciler.XtextDocumentReconcil
>> eStrategy.reconcile(XtextDocumentReconcileStrategy.java:27)
>> at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.run(X
>> textReconciler.java:233)
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
>
> It's an exception I got almost every time I try to save something on a
> xtext model.
>
> Here is my conf :
> Quote:
>> eclipse.buildId=M20110210-1200
>> java.version=1.6.0_24
>> java.vendor=Apple Inc.
>> BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=fr_FR
>> Framework arguments: -keyring /Users/xas/.eclipse_keyring -showlocation
>> Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring
>> /Users/xas/.eclipse_keyring -showlocation
>
>
> And I run Xtext 1.0.2.v201102150722
>
> Any idea what's the cause of that error?
>
> Regards,
>
> And congrats for the Eclipse community award!
>
> Xavier
>
Re: An internal error occurred during: "XtextReconcilerJob". [message #661302 is a reply to message #661292] Thu, 24 March 2011 06:12 Go to previous messageGo to next message
Xavier Seignard is currently offline Xavier SeignardFriend
Messages: 52
Registered: June 2010
Member
Hello Sebastian,
Congrats for your award!

In the plugin details, here is what I have related to log4j:
- org.apache.log4j (1.2.15.v201005080500) "Apache Jakarta log4j Plug-in" [Resolved]
- org.eclipse.xtext.logging (1.2.15) "Xtext log4j fragment" [Resolved]
- org.slf4j.log4j (1.5.11.v20100419-1106) "SLF4J Log4j implemented over SLF4J" [Resolved]

So it seems that I use log4j 1.2.15

Any other idea?

Because, every time I press one key in an Xtext editor (even Xtext based editor, such as my own ones and MWE2 editor) I got this error :
http://dl.dropbox.com/u/17657227/Capture%20d%E2%80%99%C3%A9cran%202011-03-24%20%C3%A0%2007.10.16.png

Pretty annoying isn't it? Smile

Have a good day.

Regards,

Xavier
Re: An internal error occurred during: "XtextReconcilerJob". [message #661655 is a reply to message #661302] Fri, 25 March 2011 17:28 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3109
Registered: July 2009
Senior Member
Hi Xavier,

thanks for the congratulations.

Please make sure that org.apache.log4j.Logger is used from the
org.apache.log4j bundle and NOT from org.slf4j.log4j because they may
implement another API for the Logger class which is not compatible to
apache.log4j.Logger v1.2.15.

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

Am 24.03.11 07:13, schrieb Xavier Seignard:
> Hello Sebastian,
> Congrats for your award!
>
> In the plugin details, here is what I have related to log4j:
> - org.apache.log4j (1.2.15.v201005080500) "Apache Jakarta log4j Plug-in"
> [Resolved]
> - org.eclipse.xtext.logging (1.2.15) "Xtext log4j fragment" [Resolved]
> - org.slf4j.log4j (1.5.11.v20100419-1106) "SLF4J Log4j implemented over
> SLF4J" [Resolved]
>
> So it seems that I use log4j 1.2.15
>
> Any other idea?
>
> Because, every time I press one key in an Xtext editor (even Xtext based
> editor, such as my own ones and MWE2 editor) I got this error :
>
>
> Pretty annoying isn't it? :)
>
> Have a good day.
>
> Regards,
>
> Xavier
Re: An internal error occurred during: "XtextReconcilerJob". [message #664285 is a reply to message #660892] Fri, 08 April 2011 09:30 Go to previous messageGo to next message
Xavier Seignard is currently offline Xavier SeignardFriend
Messages: 52
Registered: June 2010
Member
Hi,
Thanks for the hint!
I finally removed org.slf4j.log4j (1.5.11.v20100419-1106) "SLF4J Log4j implemented over SLF4J" [Resolved] and it did the trick. After few weeks of usage, I haven't noticed any weird behaviour.

Regards,

Xavier
Re: An internal error occurred during: "XtextReconcilerJob". [message #1723053 is a reply to message #664285] Thu, 11 February 2016 09:47 Go to previous message
pranay roy is currently offline pranay royFriend
Messages: 196
Registered: January 2016
Senior Member
Hi ,

I would like to understand if there is any solution other than removing slf4j from my app. I am facing similar issue.

Previous Topic:Wrong GrammarAccess called by XbaseIdeContentProposalProvider(2.9.0) for re-written rule
Next Topic:Auto-completion outside an Eclipse editor, API reuse
Goto Forum:
  


Current Time: Tue Sep 21 12:19:54 GMT 2021

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

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

Back to the top