Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » html AUT start error: Class path contains multiple SLF4J bindings(autagent fails to start browser (firefox) due to StaticLoggerBinder.class being twice on classpath)
icon5.gif  html AUT start error: Class path contains multiple SLF4J bindings [message #905865] Fri, 31 August 2012 08:17 Go to next message
Reik Oberrath is currently offline Reik OberrathFriend
Messages: 12
Registered: August 2012
Junior Member
Hi Jubula Fans,

when starting my HTML AUT, the autagent creates the file C:/Users/rob/AppData/Local/Temp/ch.qos.logback.slf4j4932080699372293698.jar containing the class org/slf4j/impl/StaticLoggerBinder.class. This class is also present in D:/Reik/dev/jubula_6.0.01011/server/plugins/ch.qos.logback.slf4j_1.0.0.v20120123-1500.jar resulting in the following autagent error log:

----------------------------------------------------------------------------------
AUT:SLF4J: Class path contains multiple SLF4J bindings.
AUT:SLF4J: Found binding in [jar:file:/C:/Users/rob/AppData/Local/Temp/ch.qos.lo
gback.slf4j4932080699372293698.jar!/org/slf4j/impl/StaticLoggerBinder.class]
AUT:SLF4J: Found binding in [jar:file:/D:/Reik/dev/jubula_6.0.01011/server/plugi
ns/ch.qos.logback.slf4j_1.0.0.v20120123-1500.jar!/org/slf4j/impl/StaticLoggerBin
der.class]
AUT:SLF4J: See www.slf4j.org/codes.html#multiple_bindings for an explanat
ion.
AUT:Exception in thread "main" java.lang.RuntimeException: Could not start Selen
ium session: Failed to start new browser session: Error while launching browser
AUT: at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:
107)
AUT: at com.bredexsw.jubula.rc.html.WebAUTServer.start(WebAUTServer.java:158)

AUT: at com.bredexsw.jubula.rc.html.WebAUTServer.main(WebAUTServer.java:120)
AUT:Caused by: com.thoughtworks.selenium.SeleniumException: Failed to start new
browser session: Error while launching browser
AUT: at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureE
xceptionOrError(HttpCommandProcessor.java:112)
...
----------------------------------------------------------------------------------

I use jubula_6.0.01011 as standalone application, downloaded and installed this week. Is this a bug? Can I configure the class path of the autagent? Or what else can I do? A tutorial for html AUTs is highly desirable!

I appreciate any help very much,
Reik
Re: html AUT start error: Class path contains multiple SLF4J bindings [message #907191 is a reply to message #905865] Mon, 03 September 2012 13:38 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1193
Registered: July 2009
Senior Member
Hi,

This is a known issue that doesn't actually seem to cause any problems, if it's the same one I've encountered. If you can work normally, I'd ignore it Smile

Best regards,
Alex
Re: html AUT start error: Class path contains multiple SLF4J bindings [message #907529 is a reply to message #907191] Tue, 04 September 2012 07:09 Go to previous message
Reik Oberrath is currently offline Reik OberrathFriend
Messages: 12
Registered: August 2012
Junior Member
Thanks for answering,

unfortunately my html aut does not come up with firefox configurated as browser. If this class path problem is not the cause, there is no information what's wrong.

Using IE my aut does start and appears to work fine.

Any idea?

Regards,
Reik
Previous Topic:What happens on java.lang.OutOfMemoryError: PermGen space
Next Topic:selenium webdriver version integration into Jubula
Goto Forum:
  


Current Time: Mon Dec 22 14:24:37 GMT 2014

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

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