Hi,
When building the code using rake I get the following error:
org.openqa.selenium.WebDriverException: Unexpected invocation
exception on method create
Output from the process is: /usr/lib/jvm/java-6-openjdk/jre/bin/java:
symbol lookup error: /home/koby/Incubator/ReadableSites/webkitdriver/
hlwk/WebKitBuild/Release/libhlwk.so: undefined symbol:
_ZN7WebCore9CSSParser3lexEv
System info:
os.name: 'Linux', os.arch: 'i386', os.version: '2.6.32-23-
generic', java.version: '1.6.0_18'
Driver info: driver.version: WebKitDriver
at org.openqa.selenium.webkit.WebKitDriver
$Forwarder.invoke(WebKitDriver.java:228)
at $Proxy0.create(Unknown Source)
at org.openqa.selenium.webkit.WebKitDriver.<init>(WebKitDriver.java:
266)
at org.openqa.selenium.webkit.WebKitDriver.<init>(WebKitDriver.java:
237)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at
org.openqa.selenium.DriverTestDecorator.instantiateDriver(DriverTestDecorator.java:
85)
at
org.openqa.selenium.DriverTestDecorator.setUp(DriverTestDecorator.java:
52)
at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at junit.textui.TestRunner.doRun(TestRunner.java:116)
at junit.textui.TestRunner.start(TestRunner.java:180)
at junit.textui.TestRunner.main(TestRunner.java:138)
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:267)
at
org.openqa.selenium.webkit.WebKitSerializer.deserialize(WebKitSerializer.java:
255)
at org.openqa.selenium.webkit.WebKitDriver
$Forwarder.invoke(WebKitDriver.java:200)
... 25 more
Forg.openqa.selenium.WebDriverException: Unexpected invocation
exception on method create
Output from the process is: /usr/lib/jvm/java-6-openjdk/jre/bin/java:
symbol lookup error: /home/koby/Incubator/ReadableSites/webkitdriver/
hlwk/WebKitBuild/Release/libhlwk.so: undefined symbol:
_ZN7WebCore9CSSParser3lexEv
System info:
os.name: 'Linux', os.arch: 'i386', os.version: '2.6.32-23-
generic', java.version: '1.6.0_18'
Driver info: driver.version: WebKitDriver
at org.openqa.selenium.webkit.WebKitDriver
$Forwarder.invoke(WebKitDriver.java:228)
at $Proxy0.create(Unknown Source)
at org.openqa.selenium.webkit.WebKitDriver.<init>(WebKitDriver.java:
266)
at org.openqa.selenium.webkit.WebKitDriver.<init>(WebKitDriver.java:
237)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at
org.openqa.selenium.DriverTestDecorator.instantiateDriver(DriverTestDecorator.java:
85)
at
org.openqa.selenium.DriverTestDecorator.setUp(DriverTestDecorator.java:
52)
at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at junit.textui.TestRunner.doRun(TestRunner.java:116)
at junit.textui.TestRunner.start(TestRunner.java:180)
at junit.textui.TestRunner.main(TestRunner.java:138)
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:267)
at
org.openqa.selenium.webkit.WebKitSerializer.deserialize(WebKitSerializer.java:
255)
at org.openqa.selenium.webkit.WebKitDriver
$Forwarder.invoke(WebKitDriver.java:200)
... 25 more
Forg.openqa.selenium.WebDriverException: Unexpected invocation
exception on method create
Output from the process is: /usr/lib/jvm/java-6-openjdk/jre/bin/java:
symbol lookup error: /home/koby/Incubator/ReadableSites/webkitdriver/
hlwk/WebKitBuild/Release/libhlwk.so: undefined symbol:
_ZN7WebCore9CSSParser3lexEv
System info:
os.name: 'Linux', os.arch: 'i386', os.version: '2.6.32-23-
generic', java.version: '1.6.0_18'
Driver info: driver.version: WebKitDriver
at org.openqa.selenium.webkit.WebKitDriver
$Forwarder.invoke(WebKitDriver.java:228)
at $Proxy0.create(Unknown Source)
at org.openqa.selenium.webkit.WebKitDriver.<init>(WebKitDriver.java:
266)
at org.openqa.selenium.webkit.WebKitDriver.<init>(WebKitDriver.java:
237)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at
org.openqa.selenium.DriverTestDecorator.instantiateDriver(DriverTestDecorator.java:
85)
at
org.openqa.selenium.DriverTestDecorator.setUp(DriverTestDecorator.java:
52)
at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at junit.textui.TestRunner.doRun(TestRunner.java:116)
at junit.textui.TestRunner.start(TestRunner.java:180)
at junit.textui.TestRunner.main(TestRunner.java:138)
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:267)
at
org.openqa.selenium.webkit.WebKitSerializer.deserialize(WebKitSerializer.java:
255)
at org.openqa.selenium.webkit.WebKitDriver
$Forwarder.invoke(WebKitDriver.java:200)
... 25 more
Forg.openqa.selenium.WebDriverException: Unexpected invocation
exception on method create
Output from the process is: /usr/lib/jvm/java-6-openjdk/jre/bin/java:
symbol lookup error: /home/koby/Incubator/ReadableSites/webkitdriver/
hlwk/WebKitBuild/Release/libhlwk.so: undefined symbol:
_ZN7WebCore9CSSParser3lexEv
Please advice.