I'm not interested in .NET exceptions because we're dealing with JVM here. Can you please change your test to extend GebSpec instead of GebReportingSpec and share the error you're getting then? When using the reporting spec the errors that happen during reporting overshadow the real failure.
On Fri, Jul 22, 2016 at 11:31 AM, Sergio Ferrer Gimeno <[email protected] > wrote: > > libcef.dll!ui::MakeAsyncCopyRequest(aura::Window * window, const > gfx::Rect & source_rect, const base::Callback<void > __cdecl(std::unique_ptr<cc::CopyOutputResult,std::default_delete<cc::CopyOutputResult> > >),1> & callback) Línea 42 C++ > libcef.dll!ui::GrabWindowSnapshotAsync(aura::Window * window, > const gfx::Rect & source_rect, scoped_refptr<base::TaskRunner> > background_task_runner, const base::Callback<void > __cdecl(scoped_refptr<base::RefCountedBytes>),1> & callback) Línea 64 C++ > libcef.dll!ui::GrabViewSnapshotAsync(aura::Window * view, const > gfx::Rect & source_rect, scoped_refptr<base::TaskRunner> > background_task_runner, const base::Callback<void > __cdecl(scoped_refptr<base::RefCountedBytes>),1> & callback) Línea 77 > C++ > > libcef.dll!content::RenderWidgetHostImpl::WindowSnapshotReachedScreen(int > snapshot_id) Línea 2110 C++ > libcef.dll!content::RenderWidgetHostImpl::FrameSwapped(const > ui::LatencyInfo & latency_info) Línea 2090 C++ > > libcef.dll!content::RenderWidgetHostImpl::CompositorFrameDrawn(const > std::vector<ui::LatencyInfo,std::allocator<ui::LatencyInfo> > & > latency_info) Línea 2163 C++ > libcef.dll!base::debug::TaskAnnotator::RunTask(const char * > queue_function, const base::PendingTask & pending_task) Línea 53 C++ > libcef.dll!base::MessageLoop::RunTask(const base::PendingTask & > pending_task) Línea 473 C++ > libcef.dll!base::MessageLoop::DoWork() Línea 599 C++ > libcef.dll!base::MessagePumpForUI::DoRunLoop() Línea 174 C++ > libcef.dll!base::MessagePumpWin::Run(base::MessagePump::Delegate * > delegate) Línea 56 C++ > libcef.dll!base::RunLoop::Run() Línea 36 C++ > libcef.dll!base::Thread::Run(base::MessageLoop * message_loop) > Línea 202 C++ > libcef.dll!base::Thread::ThreadMain() Línea 257 C++ > libcef.dll!base::`anonymous namespace'::ThreadFunc(void * params) > Línea 84 C++ > kernel32.dll!BaseThreadInitThunk () Desconocido > ntdll.dll!RtlUserThreadStart () Desconocido > > The screenshot shows the whole stacktrace displayed by VS2015 when the > runtime error happens... > > This is what the Geb-Maven project displays after the runtime. > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running GebishOrgSpec > Starting ChromeDriver 2.20.353145 > (343b531d31eeb933ec778dbcf7081628a1396067) on port 17935 > Only local connections are allowed. > [411.306][SEVERE]: Unable to receive message from renderer > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 416.756 > sec <<< FAILURE! - in Gebish > OrgSpec > can get to the current Book of Geb(GebishOrgSpec) Time elapsed: 413.436 > sec <<< ERROR! > java.lang.RuntimeException: Unexpected result for screenshot command: null > at > org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:344) > at > geb.report.ScreenshotReporter.writeReport(ScreenshotReporter.groovy:36) > at > geb.report.CompositeReporter.writeReport(CompositeReporter.groovy:31) > at geb.Browser.report(Browser.groovy:947) > at geb.spock.GebReportingSpec.report(GebReportingSpec.groovy:54) > at geb.spock.GebReportingSpec.cleanup(GebReportingSpec.groovy:48) > > > Results : > > Tests in error: > GebishOrgSpec>GebReportingSpec.cleanup:48->GebReportingSpec.report:54 » > Runtime > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 > > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 07:18 min > [INFO] Finished at: 2016-07-22T12:28:49+02:00 > [INFO] Final Memory: 17M/87M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-t > est) on project geb-maven-example: There are test failures. > [ERROR] > [ERROR] Please refer to > C:\Users\sergiofg\Desktop\GebProjects\geb-example-maven-master\target\surefi > re-reports for the individual test results. > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following arti > cles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > > -- > You received this message because you are subscribed to the Google Groups > "Geb User Mailing List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/geb-user/ba9a2383-fd63-44ea-a919-c89b54646c06%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/CA%2B52dQQAD4zikZCsNoroKVp2UfUYZWXKCPhst%2BQpYyrWwUqJNg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
