Nosuchmethod error after selenium server update to 2.44

92 views
Skip to first unread message

TheoLag

unread,
Nov 13, 2014, 11:42:52 AM11/13/14
to fighting-l...@googlegroups.com
After i updated selenium server i get the following error 

java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
at com.googlecode.fightinglayoutbugs.ScreenshotCache.saveToTempFile(ScreenshotCache.java:109)
at com.googlecode.fightinglayoutbugs.ScreenshotCache.getScreenshot(ScreenshotCache.java:82)
at com.googlecode.fightinglayoutbugs.ScreenshotCache.takeScreenshot(ScreenshotCache.java:146)
at com.googlecode.fightinglayoutbugs.WebPage.takeScreenshot(WebPage.java:196)
at com.googlecode.fightinglayoutbugs.AnimationAwareTextDetector.detectTextPixelsIn(AnimationAwareTextDetector.java:50)
at com.googlecode.fightinglayoutbugs.WebPage.getTextPixels(WebPage.java:210)
at com.googlecode.fightinglayoutbugs.DetectTextNearOrOverlappingHorizontalEdge.findLayoutBugsIn(DetectTextNearOrOverlappingHorizontalEdge.java:37)
at com.googlecode.fightinglayoutbugs.FightingLayoutBugs.findLayoutBugsIn(FightingLayoutBugs.java:176)
at tap.core.methods.Validators.layoutcheck(Validators.java:73)
at tap.projects.spitogatos.ui.Responsive.layoutbugs(Responsive.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:48)
at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)


I am using the jar file with OUT the selenium dependencies 

I quess selenium changed something in the driver thats why this error occurs any ideas on how to fix this ?
Thanks 
 

Michael Tamm

unread,
Nov 16, 2014, 3:49:46 PM11/16/14
to fighting-l...@googlegroups.com
Hi,

I updated FLB to use Selenium 2.44.0 and fixed the incompatibility,
which lead to the NoSuchMethodError -- Please upgrade to FLB 0.6

Kind regards, Michael

TheoLag

unread,
Nov 18, 2014, 1:04:20 AM11/18/14
to fighting-l...@googlegroups.com
Hi 
Updated to FLB 0.6 and it works fine 

thanks 
Reply all
Reply to author
Forward
0 new messages