Skip to content

Instantly share code, notes, and snippets.

View antifuchs's full-sized avatar
🕴️

Andreas Fuchs antifuchs

🕴️
View GitHub Profile
Scenario: Suggestions for undefined steps with and without arguments # features/snippet_texts.feature:6
Given a standard Cucumber project directory structure # features/step_definitions/cucumber_steps.rb:7
Given the standard clucumber setup # features/step_definitions/clucumber_steps.rb:33
Given a file named "features/undefined.feature" with: # features/step_definitions/cucumber_steps.rb:20
"""
Feature: Undefined steps
Scenario: Three undefined steps
Given this step is undefined
When I use a step with "one arg"
Message:
NativeException: java.lang.NullPointerException: null (Culerity::CulerityException)
com/gargoylesoftware/htmlunit/javascript/host/Event.java:274:in `<init>'
com/gargoylesoftware/htmlunit/html/HtmlPage.java:1153:in `executeEventHandlersIfNeeded'
com/gargoylesoftware/htmlunit/html/HtmlPage.java:2081:in `isOnbeforeunloadAccepted'
com/gargoylesoftware/htmlunit/WebClient.java:281:in `getPage'
com/gargoylesoftware/htmlunit/html/BaseFrame.java:136:in `loadInnerPageIfPossible'
com/gargoylesoftware/htmlunit/html/BaseFrame.java:95:in `loadInnerPage'
com/gargoylesoftware/htmlunit/html/HtmlPage.java:1772:in `loadFrames'
com/gargoylesoftware/htmlunit/html/HtmlPage.java:196:in `initialize'
Message:
NativeException: java.lang.RuntimeException: java.lang.NullPointerException (Culerity::CulerityException)
com/gargoylesoftware/htmlunit/javascript/JavaScriptEngine.java:556:in `doProcessPostponedActions'
com/gargoylesoftware/htmlunit/javascript/JavaScriptEngine.java:628:in `processPostponedActions'
com/gargoylesoftware/htmlunit/html/HtmlElement.java:1254:in `click'
com/gargoylesoftware/htmlunit/html/HtmlElement.java:1212:in `click'
com/gargoylesoftware/htmlunit/html/HtmlElement.java:1179:in `click'
sun/reflect/NativeMethodAccessorImpl.java:-2:in `invoke0'
sun/reflect/NativeMethodAccessorImpl.java:57:in `invoke'
sun/reflect/DelegatingMethodAccessorImpl.java:43:in `invoke'
And I go to the city page of Vienna # features/step_definitions/web_steps.rb:22
NativeException: java.util.ConcurrentModificationException: null (Culerity::CulerityException)
java/util/AbstractList.java:372:in `checkForComodification'
java/util/AbstractList.java:357:in `remove'
com/gargoylesoftware/htmlunit/WebWindowImpl.java:183:in `destroyChildren'
com/gargoylesoftware/htmlunit/WebWindowImpl.java:108:in `setEnclosedPage'
com/gargoylesoftware/htmlunit/html/HTMLParser.java:286:in `parse'
com/gargoylesoftware/htmlunit/html/HTMLParser.java:265:in `parseHtml'
com/gargoylesoftware/htmlunit/DefaultPageCreator.java:138:in `createHtmlPage'
com/gargoylesoftware/htmlunit/DefaultPageCreator.java:105:in `createPage'
Using ym4r (0.6.0) from bundler gems /var/lib/hudson/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:49:in `initialize': not in gzip format (Zlib::GzipFile::Error)
from /var/lib/hudson/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:49:in `new'
from /var/lib/hudson/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:49:in `initialize'
from /var/lib/hudson/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader.rb:64:in `each'
from /var/lib/hudson/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader.rb:55:in `loop'
from /var/lib/hudson/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader.rb:55:in `each'
from /var/lib/hudson/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:32:in `initialize'
from /var/lib/hudson/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.r
tmux list-clients \; list-sessions
/dev/ttys000: 0 [112x65 xterm] (utf8)
0: 3 windows (created Mon Jun 28 23:17:23 2010) [112x64] (attached)
1: 1 windows (created Tue Jun 29 00:16:50 2010) [112x64]
(gdb) set follow-fork-mode child
(gdb) run
Starting program: /home/asf/dl/src/tmux-1.2/tmux
[Thread debugging using libthread_db enabled]
[Thread debugging using libthread_db enabled]
[New Thread 0x7fb9939686e0 (LWP 31724)]
[Thread debugging using libthread_db enabled]
[New Thread 0x7fb9939686e0 (LWP 31725)]
asf@baker:~/dl/src/tmux-1.2> ldd tmux
linux-vdso.so.1 => (0x00007fff3ba91000)
libncurses.so.5 => /lib/libncurses.so.5 (0x00007f14f34fc000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f14f32c4000)
libutil.so.1 => /lib/libutil.so.1 (0x00007f14f30c1000)
libevent-1.4.so.2 => /usr/local/lib/libevent-1.4.so.2 (0x00007f14f2ea6000)
libc.so.6 => /lib/libc.so.6 (0x00007f14f2b53000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f14f294f000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00007f14f2737000)
librt.so.1 => /lib/librt.so.1 (0x00007f14f252e000)
gdb ./tmux
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) set follow-fork-mode child
(gdb) run
asf@baker:~> gdb -p 8405
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Attaching to process 8405
Reading symbols from /usr/local/stow/tmux/bin/tmux...done.