Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by TikhomirovSergey
, 1 year ago
java.lang.reflect.InvocationTargetException
via GitHub by TikhomirovSergey
, 2 years ago
java.lang.reflect.InvocationTargetException
org.openqa.selenium.WebDriverException: unknown error: unhandled inspector error: {"code":-32603,"message":"Unable to capture screenshot"}
  (Session info: webview=)
  (Driver info: chromedriver=2.10.267521,platform=Windows NT 6.1 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 94 milliseconds
Build info: version: '2.43.1', revision: '5163bceef1bc36d43f3dc0b83c88998168a363a0', time: '2014-09-10 09:43:55'
System info: host: 'WSM8-0047', ip: '10.229.55.149', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_20'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities [{app=D:\git\arachnidium-java2\arachnidium-java\arachnidium-app-model\src\test\resources\binaries\mobile_test_apps\selendroid-test-app-0.10.0.apk, networkConnectionEnabled=true, warnings={}, databaseEnabled=false, deviceName=Android Emulator, platform=LINUX, desired={app=D:\git\arachnidium-java2\arachnidium-java\arachnidium-app-model\src\test\resources\binaries\mobile_test_apps\selendroid-test-app-0.10.0.apk, autoWebview=true, platformName=Android, deviceName=Android Emulator}, platformVersion=4.1, webStorageEnabled=false, locationContextEnabled=false, browserName=Android, takesScreenshot=true, javascriptEnabled=true, autoWebview=true, platformName=Android}]
Session ID: 666ed588-d618-4dc5-8a27-6f8d642a8ca5	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)	at java.lang.reflect.Constructor.newInstance(Unknown Source)	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)	at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:176)	at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:181)	at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:324)	at org.openqa.selenium.remote.RemoteWebDriver$$FastClassBySpringCGLIB$$589f8ff4.invoke()	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:708)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:644)	at io.appium.java_client.android.AndroidDriver$$EnhancerBySpringCGLIB$$6cded47c.getScreenshotAs()	at com.github.arachnidium.util.logging.Photographer.getImageFromDriver(Photographer.java:132)	at com.github.arachnidium.util.logging.Photographer.takeAPicture(Photographer.java:161)	at com.github.arachnidium.util.logging.Photographer.takeAPictureForLog(Photographer.java:49)	at com.github.arachnidium.util.logging.Photographer.takeAPictureOfAnInfo(Photographer.java:79)	at com.github.arachnidium.core.Manager.takeAPictureOfAnInfo(Manager.java:234)	at com.github.arachnidium.core.Handle.takeAPictureOfAnInfo(Handle.java:104)	at com.github.arachnidium.core.bean.AspectContextListener.whenNewHandleIsAppeared(AspectContextListener.java:101)	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 com.github.arachnidium.core.bean.AbstractAspect.launchMethod(AbstractAspect.java:297)	at com.github.arachnidium.core.bean.AspectContextListener.doAround(AspectContextListener.java:135)	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.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)	at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)	at com.github.arachnidium.core.bean.AspectWindowListener.doAround(AspectWindowListener.java:257)	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.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)	at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:644)	at com.github.arachnidium.core.MobileScreen$$EnhancerBySpringCGLIB$$ae34a54e.whenIsCreated()	at com.github.arachnidium.core.Manager.returnNewCreatedListenableHandle(Manager.java:277)	at com.github.arachnidium.core.ScreenManager.getHandle(ScreenManager.java:100)	at com.github.arachnidium.core.ScreenManager.getHandle(ScreenManager.java:80)	at com.github.arachnidium.core.ScreenManager.getHandle(ScreenManager.java:1)	at com.github.arachnidium.model.common.Application.getPart(Application.java:302)	at com.github.arachnidium.model.mobile.MobileApplication$$EnhancerByCGLIB$$9eb9c631.CGLIB$getPart$7()	at com.github.arachnidium.model.mobile.MobileApplication$$EnhancerByCGLIB$$9eb9c631$$FastClassByCGLIB$$ba8e95f4.invoke()	at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)	at com.github.arachnidium.util.proxy.DefaultInterceptor.intercept(DefaultInterceptor.java:25)	at com.github.arachnidium.model.abstractions.ModelObjectInterceptor.intercept(ModelObjectInterceptor.java:72)	at com.github.arachnidium.model.common.ApplicationInterceptor.intercept(ApplicationInterceptor.java:266)	at com.github.arachnidium.model.mobile.MobileApplication$$EnhancerByCGLIB$$9eb9c631.getPart()	at mobile.android.AndroidTestExamples.androidHybridAppTest(AndroidTestExamples.java:97)	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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)	at org.testng.TestRunner.privateRun(TestRunner.java:767)	at org.testng.TestRunner.run(TestRunner.java:617)	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)	at org.testng.SuiteRunner.run(SuiteRunner.java:240)	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)	at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)	at org.testng.TestNG.run(TestNG.java:1057)	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)