-
-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JRuby and devise Null pointer exception #3680
Comments
Ok, interesting. We need to get that error in full by passing -d to JRuby when you can reproduce it. Can you try to get that output and get back to us? |
I was able to bypass the error by disabling some of the devise modules but On Tue, 23 Feb 2016 at 13:43 Charles Oliver Nutter notifications@github.com
|
This is the output of jruby -d , I have narrowed the bug down to the ":validateable" module in devise, I only get this error when that is enabled in my user model. Hopefully that helps.
(Edit by @headius: trim log to relevant bits) |
this is I am fairly sure related to heartcombo/devise#3948 |
I can confirm that under jruby 9.0.5.0 we get the same error and removing |
Ok, unfortunately this one needs a better reproduction. If someone can make a sample git repo or a single-script reproduction for us, we can probably sort this out quickly. As it stands I can't see an obvious bug just by looking at the code around the error. Here's the line that blows up in 9.0.5: RubyClass superClass = findImplementerIfNecessary(self.getMetaClass(), klazz).getSuperClass(); There's two places that could trigger NPE here:
Can someone who can generate this stack trace provide a reproduction, or else try running with both Going to have to bump this to 9.1.1.0 without a way to reproduce it. |
Thanks for taking another look @headius. I created a fairly minimal reproduction repo here: https://github.com/jesjos/jruby_devise_test It has a Dockerfile which reproduces the error. Here's a gist of the output (with the flags you suggested): https://gist.github.com/jesjos/6fde5485576292f22800a2b4013235ef |
Thank you! I'm not sure this will make 9.1.2.0 but we'll try to look into it soon. |
@jesjos Sorry, I meant I don't think it will make the 9.1.1 quick release. I have managed to reproduce locally from your project. Thanks! |
Simpler repro based on @jesjos repo: It's blowing up while trying to load dependencies, which doesn't require Docker. Just bundle and go. |
Boiled it down to a trivial reproduction: Range.prepend(Module.new)
(DateTime.new(1)..DateTime.new(3)).min Looks like another super-in-prepend issue. It might only affect supers from Java. |
I have so far been unable to reproduce this with pure Ruby, so I'm leaning toward suspecting our Java-land super logic. This code does not fail: class X
include Enumerable
def each(&block)
[1,2,3].each(&block)
end
def min
super
end
end
X.prepend(Module.new)
X.new.min One big difference here is that in IR this will be a "resolved super" (specifically an "instance super"), or a super that does not have to do the failing hierarchy check. We still might be able to reproduce it with a pure-Ruby module that supers, but that's a different situation from the reported bug (because it's no longer a super from a normal instance-based method). |
This had all the makings of a super bug in IR only to be a specific bug with how we implemented Range.min (and max for matter). A few more details in commit but if @mattclar could confirm at least this problem is cleared up from tonight's nightly (try tomorrow morning) at: ci.jruby.org 9.1.1.0-SNAPSHOT. Or build it right now from a clone. |
👍 @enebo |
I just reported issue to Ethon gem, but maybe its related to this issue also typhoeus/ethon#126 |
@PetrKaleta you said in that issue you sometimes see this problem. Is it not 100% of the time? This will be a different issue since options.rb has no super contained within it. |
@enebo Yes it happens occasionally when running a rake task, hope this helps |
@PetrKaleta not so much no. What we know so far is sometimes a source file will not load with a NPE from a rake task. NPE is a very common internal error in Java. This will be a bizarre request but run your rake script until you see an error with JRUBY_OPTS containing:
Once you do get it to fail then open up a new issue and use the output as input to the bug. This option is for something else but upon getting a loaderror it prints out the Java backtrace. So we will see exactly which line is causing the NPE. |
I'm observing something a bit similar in the test suite for the GraphQL gem: https://travis-ci.org/rmosolgo/graphql-ruby/jobs/364639719 Console outputWorker information hostname: 9bfdc8eb-00a1-4dd6-8656-6b7064336064@1.i-0680931-production-2-worker-org-ec2.travisci.net version: v3.6.0 https://github.com/travis-ci/worker/tree/170b2a0bb43234479fd1911ba9e4dbcc36dadfad instance: 935912d travisci/ci-garnet:packer-1512502276-986baf0 (via amqp) startup: 650.989383ms mode of ‘/usr/local/clang-5.0.0/bin’ changed from 0777 (rwxrwxrwx) to 0775 (rwxrwxr-x) system_info Build system information Build language: ruby Build group: stable Build dist: trusty Build id: 364639711 Job id: 364639719 Runtime kernel version: 4.14.12-041412-generic travis-build version: e0f4abce4 Build image provisioning date and time Tue Dec 5 20:11:19 UTC 2017 Operating System Details Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty Cookbooks Version 7c2c6a6 https://github.com/travis-ci/travis-cookbooks/tree/7c2c6a6 git version git version 2.15.1 bash version GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu) gcc version gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. docker version Client: Version: 17.09.0-ce API version: 1.32 Go version: go1.8.3 Git commit: afdb6d4 Built: Tue Sep 26 22:39:28 2017 OS/Arch: linux/amd64 clang version clang version 5.0.0 (tags/RELEASE_500/final) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/local/clang-5.0.0/bin jq version jq-1.5 bats version Bats 0.4.0 shellcheck version 0.4.6 shfmt version v2.0.0 ccache version ccache version 3.1.9 Copyright (C) 2002-2007 Andrew Tridgell Copyright (C) 2009-2011 Joel Rosdahl This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. cmake version cmake version 3.9.2 CMake suite maintained and supported by Kitware (kitware.com/cmake). heroku version heroku-cli/6.14.39-addc925 (linux-x64) node-v9.2.0 imagemagick version Version: ImageMagick 6.7.7-10 2017-07-31 Q16 http://www.imagemagick.org md5deep version 4.2 mercurial version Mercurial Distributed SCM (version 4.2.2) (see https://mercurial-scm.org for more information) Copyright (C) 2005-2017 Matt Mackall and others This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. mysql version mysql Ver 14.14 Distrib 5.6.33, for debian-linux-gnu (x86_64) using EditLine wrapper openssl version OpenSSL 1.0.1f 6 Jan 2014 packer version Packer v1.0.2 Your version of Packer is out of date! The latest version is 1.1.2. You can update by downloading from www.packer.io postgresql client version psql (PostgreSQL) 9.6.6 ragel version Ragel State Machine Compiler version 6.8 Feb 2013 Copyright (c) 2001-2009 by Adrian Thurston subversion version svn, version 1.8.8 (r1568071) compiled Aug 10 2017, 17:20:39 on x86_64-pc-linux-gnu Copyright (C) 2013 The Apache Software Foundation. This software consists of contributions made by many people; see the NOTICE file for more information. Subversion is open source software, see http://subversion.apache.org/ The following repository access (RA) modules are available: * ra_svn : Module for accessing a repository using the svn network protocol. - with Cyrus SASL authentication - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme * ra_serf : Module for accessing a repository via WebDAV protocol using serf. - using serf 1.3.3 - handles 'http' scheme - handles 'https' scheme sudo version Sudo version 1.8.9p5 Configure options: --prefix=/usr -v --with-all-insults --with-pam --with-fqdn --with-logging=syslog --with-logfac=authpriv --with-env-editor --with-editor=/usr/bin/editor --with-timeout=15 --with-password-timeout=0 --with-passprompt=[sudo] password for %p: --without-lecture --with-tty-tickets --disable-root-mailer --enable-admin-flag --with-sendmail=/usr/sbin/sendmail --with-timedir=/var/lib/sudo --mandir=/usr/share/man --libexecdir=/usr/lib/sudo --with-sssd --with-sssd-lib=/usr/lib/x86_64-linux-gnu --with-selinux Sudoers policy plugin version 1.8.9p5 Sudoers file grammar version 43 Sudoers path: /etc/sudoers Authentication methods: 'pam' Syslog facility if syslog is being used for logging: authpriv Syslog priority to use when user authenticates successfully: notice Syslog priority to use when user authenticates unsuccessfully: alert Send mail if the user is not in sudoers Use a separate timestamp for each user/tty combo Lecture user the first time they run sudo Root may run sudo Allow some information gathering to give useful error messages Require fully-qualified hostnames in the sudoers file Visudo will honor the EDITOR environment variable Set the LOGNAME and USER environment variables Length at which to wrap log file lines (0 for no wrap): 80 Authentication timestamp timeout: 15.0 minutes Password prompt timeout: 0.0 minutes Number of tries to enter a password: 3 Umask to use or 0777 to use user's: 022 Path to mail program: /usr/sbin/sendmail Flags for mail program: -t Address to send mail to: root Subject line for mail messages: *** SECURITY information for %h *** Incorrect password message: Sorry, try again. Path to authentication timestamp dir: /var/lib/sudo Default password prompt: [sudo] password for %p: Default user to run commands as: root Value to override user's $PATH with: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin Path to the editor for use by visudo: /usr/bin/editor When to require a password for 'list' pseudocommand: any When to require a password for 'verify' pseudocommand: all File descriptors >= 3 will be closed before executing a command Environment variables to check for sanity: TZ TERM LINGUAS LC_* LANGUAGE LANG COLORTERM Environment variables to remove: RUBYOPT RUBYLIB PYTHONUSERBASE PYTHONINSPECT PYTHONPATH PYTHONHOME TMPPREFIX ZDOTDIR READNULLCMD NULLCMD FPATH PERL5DB PERL5OPT PERL5LIB PERLLIB PERLIO_DEBUG JAVA_TOOL_OPTIONS SHELLOPTS GLOBIGNORE PS4 BASH_ENV ENV TERMCAP TERMPATH TERMINFO_DIRS TERMINFO _RLD* LD_* PATH_LOCALE NLSPATH HOSTALIASES RES_OPTIONS LOCALDOMAIN CDPATH IFS Environment variables to preserve: JAVA_HOME TRAVIS CI DEBIAN_FRONTEND XAUTHORIZATION XAUTHORITY PS2 PS1 PATH LS_COLORS KRB5CCNAME HOSTNAME HOME DISPLAY COLORS Locale to use while parsing sudoers: C Directory in which to store input/output logs: /var/log/sudo-io File in which to store the input/output log: %{seq} Add an entry to the utmp/utmpx file when allocating a pty PAM service name to use PAM service name to use for login shells Create a new PAM session for the command to run in Maximum I/O log sequence number: 0 Local IP address and netmask pairs: 172.17.0.2/255.255.0.0 Sudoers I/O plugin version 1.8.9p5 gzip version gzip 1.6 Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc. Copyright (C) 1993 Jean-loup Gailly. This is free software. You may redistribute copies of it under the terms of the GNU General Public License . There is NO WARRANTY, to the extent permitted by law. Written by Jean-loup Gailly. zip version Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license. This is Zip 3.0 (July 5th 2008), by Info-ZIP. Currently maintained by E. Gordon. Please send bug reports to the authors using the web page at www.info-zip.org; see README for details. Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip, as of above date; see http://www.info-zip.org/ for other sites. Compiled with gcc 4.8.2 for Unix (Linux ELF) on Oct 21 2013. Zip special compilation options: USE_EF_UT_TIME (store Universal Time) BZIP2_SUPPORT (bzip2 library version 1.0.6, 6-Sept-2010) bzip2 code and library copyright (c) Julian R Seward (See the bzip2 license for terms of use) SYMLINK_SUPPORT (symbolic links supported) LARGE_FILE_SUPPORT (can read and write large files on file system) ZIP64_SUPPORT (use Zip64 to store large files in archives) UNICODE_SUPPORT (store and read UTF-8 Unicode paths) STORE_UNIX_UIDs_GIDs (store UID/GID sizes/values using new extra field) UIDGID_NOT_16BIT (old Unix 16-bit UID/GID extra field not used) [encryption, version 2.91 of 05 Jan 2007] (modified for Zip 3) Encryption notice: The encryption code of this program is not copyrighted and is put in the public domain. It was originally written in Europe and, to the best of our knowledge, can be freely distributed in both source and object forms from any country, including the USA under License Exception TSU of the U.S. Export Administration Regulations (section 740.13(e)) of 6 June 2002. Zip environment options: ZIP: [none] ZIPOPT: [none] vim version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:43:18) Included patches: 1-52 Extra patches: 8.0.0056 Modified by pkg-vim-maintainers@lists.alioth.debian.org Compiled by buildd@ Huge version without GUI. Features included (+) or not (-): +acl +farsi +mouse_netterm +syntax +arabic +file_in_path +mouse_sgr +tag_binary +autocmd +find_in_path -mouse_sysmouse +tag_old_static -balloon_eval +float +mouse_urxvt -tag_any_white -browse +folding +mouse_xterm -tcl ++builtin_terms -footer +multi_byte +terminfo +byte_offset +fork() +multi_lang +termresponse +cindent +gettext -mzscheme +textobjects -clientserver -hangul_input +netbeans_intg +title -clipboard +iconv +path_extra -toolbar +cmdline_compl +insert_expand -perl +user_commands +cmdline_hist +jumplist +persistent_undo +vertsplit +cmdline_info +keymap +postscript +virtualedit +comments +langmap +printer +visual +conceal +libcall +profile +visualextra +cryptv +linebreak +python +viminfo +cscope +lispindent -python3 +vreplace +cursorbind +listcmds +quickfix +wildignore +cursorshape +localmap +reltime +wildmenu +dialog_con -lua +rightleft +windows +diff +menu -ruby +writebackup +digraphs +mksession +scrollbind -X11 -dnd +modify_fname +signs -xfontset -ebcdic +mouse +smartindent -xim +emacs_tags -mouseshape -sniff -xsmp +eval +mouse_dec +startuptime -xterm_clipboard +ex_extra +mouse_gpm +statusline -xterm_save +extra_search -mouse_jsbterm -sun_workshop -xpm system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" fall-back for $VIM: "/usr/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -o vim -lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -ldl -L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions iptables version iptables v1.4.21 curl version curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3 wget version GNU Wget 1.15 built on linux-gnu. rsync version rsync version 3.1.0 protocol version 31 gimme version v1.2.0 nvm version 0.33.6 perlbrew version /home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.80 phpenv version rbenv 1.1.1-25-g6aa70b6 rvm version rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] default ruby version ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux] CouchDB version couchdb 1.6.1 ElasticSearch version 5.5.0 Installed Firefox version firefox 56.0.2 MongoDB version MongoDB 3.4.10 PhantomJS version 2.1.1 Pre-installed PostgreSQL versions 9.2.24 9.3.20 9.4.15 9.5.10 9.6.6 RabbitMQ Version 3.6.14 Redis version redis-server 4.0.6 riak version 2.2.3 Pre-installed Go versions 1.7.4 ant version Apache Ant(TM) version 1.9.3 compiled on April 8 2014 mvn version Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z) Maven home: /usr/local/maven-3.5.2 Java version: 1.8.0_151, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-oracle/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.4.0-101-generic", arch: "amd64", family: "unix" gradle version ------------------------------------------------------------ Gradle 4.0.1 ------------------------------------------------------------ Build time: 2017-07-07 14:02:41 UTC Revision: 38e5dc0f772daecca1d2681885d3d85414eb6826 Groovy: 2.4.11 Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015 JVM: 1.8.0_151 (Oracle Corporation 25.151-b12) OS: Linux 4.4.0-101-generic amd64 lein version Leiningen 2.8.1 on Java 1.8.0_151 Java HotSpot(TM) 64-Bit Server VM Pre-installed Node.js versions v4.8.6 v6.12.0 v6.12.1 v8.9 v8.9.1 phpenv versions system 5.6 * 5.6.32 (set by /home/travis/.phpenv/version) 7.0 7.0.25 7.1 7.1.11 hhvm hhvm-stable composer --version Composer version 1.5.2 2017-09-11 16:59:25 Pre-installed Ruby versions ruby-2.2.7 ruby-2.3.4 ruby-2.4.1 removed ‘/etc/apt/sources.list.d/basho_riak.list’ Network availability confirmed. 127.0.0.1 localhost ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters 172.17.0.10 travis-job-rmosolgo-graphql-ruby-364639719.travisci.net travis-job-rmosolgo-graphql-ruby-364639719 W: GPG error: http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.4 Release: The following signatures were invalid: KEYEXPIRED 1515625755 W: The repository 'http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.4 Release' is not signed. W: http://ppa.launchpad.net/couchdb/stable/ubuntu/dists/trusty/Release.gpg: Signature by key 15866BAFD9BCC4F3C1E0DFC7D69548E1C17EAB57 uses weak digest algorithm (SHA1) git.checkout 1.25s$ git clone --depth=50 https://github.com/rmosolgo/graphql-ruby.git rmosolgo/graphql-ruby Cloning into 'rmosolgo/graphql-ruby'... remote: Counting objects: 4091, done. remote: Compressing objects: 100% (1691/1691), done. remote: Total 4091 (delta 2586), reused 3398 (delta 2327), pack-reused 0 Receiving objects: 100% (4091/4091), 2.79 MiB | 10.69 MiB/s, done. Resolving deltas: 100% (2586/2586), done. $ cd rmosolgo/graphql-ruby 0.41s$ git fetch origin +refs/pull/1372/merge: remote: Counting objects: 120, done. remote: Compressing objects: 100% (69/69), done. remote: Total 120 (delta 96), reused 70 (delta 48), pack-reused 0 Receiving objects: 100% (120/120), 17.51 KiB | 8.76 MiB/s, done. Resolving deltas: 100% (96/96), completed with 35 local objects. From https://github.com/rmosolgo/graphql-ruby * branch refs/pull/1372/merge -> FETCH_HEAD $ git checkout -qf FETCH_HEAD services 0.27s$ sudo service postgresql start * Starting PostgreSQL 9.2 database server Setting environment variables from .travis.yml $ export CODECLIMATE_REPO_TOKEN=f5b27b2e25d3f4e199bb2566fb4fd4507144a004c71d4aa33a32c2df5f940333 $ export JRUBY_OPTS="--debug" Disabling Gradle daemon 0.01s$ mkdir -p ~/.gradle && echo "org.gradle.daemon=false" >> ~/.gradle/gradle.properties rvm 272.55s$ rvm use jruby-9.1.16.0 --install --binary --fuzzy curl: (22) The requested URL returned error: 404 Not Found Unknown ruby string (do not know how to handle): jruby-9.1.16.0. Unknown ruby string (do not know how to handle): jruby-9.1.16.0. Required jruby-9.1.16.0 is not installed - installing. curl: (22) The requested URL returned error: 404 Not Found Unknown ruby string (do not know how to handle): jruby-9.1.16.0. Unknown ruby string (do not know how to handle): jruby-9.1.16.0. Searching for binary rubies, this might take some time. Unknown ruby string (do not know how to handle): jruby-9.1.16.0. Unknown ruby string (do not know how to handle): jruby-9.1.16.0. Found remote file https://s3.amazonaws.com/jruby.org/downloads/9.1.16.0/jruby-bin-9.1.16.0.tar.gz Checking requirements for ubuntu. Requirements installation successful. jruby-9.1.16.0 - #configure Unknown ruby string (do not know how to handle): jruby-9.1.16.0. jruby-9.1.16.0 - #download % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 20.4M 100 20.4M 0 0 56.0M 0 --:--:-- --:--:-- --:--:-- 55.9M No checksum for downloaded archive, recording checksum in user configuration. jruby-9.1.16.0 - #validate archive jruby-9.1.16.0 - #extract jruby-9.1.16.0 - #validate binary jruby-9.1.16.0 - #setup jruby-9.1.16.0 - #gemset created /home/travis/.rvm/gems/jruby-9.1.16.0@global Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m jruby-9.1.16.0 - #importing gemset /home/travis/.rvm/gemsets/jruby/global.gems.. jruby-9.1.16.0 - #generating global wrappers........ Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m jruby-9.1.16.0 - #uninstalling gem rubygems-bundler-1.4.4. jruby-9.1.16.0 - #gemset created /home/travis/.rvm/gems/jruby-9.1.16.0 Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m jruby-9.1.16.0 - #importing gemset /home/travis/.rvm/gemsets/default.gems. jruby-9.1.16.0 - #generating default wrappers........ Using /home/travis/.rvm/gems/jruby-9.1.16.0 Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m $ export BUNDLE_GEMFILE=$PWD/gemfiles/rails_5.1.gemfile cache.1 Setting up build cache $ java -Xmx32m -version Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m java version "1.8.0_151" Java(TM) SE Runtime Environment (build 1.8.0_151-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode) $ javac -J-Xmx32m -version Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m javac 1.8.0_151 $ ruby --version Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m jruby 9.1.16.0 (2.3.3) 2018-02-21 8f3f95a Java HotSpot(TM) 64-Bit Server VM 25.151-b12 on 1.8.0_151-b12 +jit [linux-x86_64] $ rvm --version rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] $ bundle --version Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m Bundler version 1.16.1 $ gem --version Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m 2.6.14.1 before_install.1 47.52s$ gem update --system --no-doc Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m Updating rubygems-update Fetching: rubygems-update-2.7.6.gem (100%) Successfully installed rubygems-update-2.7.6 Installing RubyGems 2.7.6 Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m Bundler 1.16.1 installed RubyGems 2.7.6 installed Regenerating binstubs === 2.7.6 / 2018-02-16 Security fixes: * Prevent path traversal when writing to a symlinked basedir outside of the root. Discovered by nmalkin, fixed by Jonathan Claudius and Samuel Giddins. * Fix possible Unsafe Object Deserialization Vulnerability in gem owner. Fixed by Jonathan Claudius. * Strictly interpret octal fields in tar headers. Discoved by plover, fixed by Samuel Giddins. * Raise a security error when there are duplicate files in a package. Discovered by plover, fixed by Samuel Giddins. * Enforce URL validation on spec homepage attribute. Discovered by Yasin Soliman, fixed by Jonathan Claudius. * Mitigate XSS vulnerability in homepage attribute when displayed via `gem server`. Discovered by Yasin Soliman, fixed by Jonathan Claudius. * Prevent Path Traversal issue during gem installation. Discovered by nmalkin. === 2.7.4 Bug fixes: * Fixed leaked FDs. Pull request #2127 by Nobuyoshi Nakada. * Avoid to warnings about gemspec loadings in rubygems tests. Pull request #2125 by SHIBATA Hiroshi. * Fix updater with rubygems-2.7.3 Pull request #2124 by SHIBATA Hiroshi. * Handle environment that does not have `flock` system call. Pull request #2107 by SHIBATA Hiroshi. === 2.7.3 Minor enhancements: * Removed needless version lock. Pull request #2074 by SHIBATA Hiroshi. * Add --[no-]check-development option to cleanup command. Pull request #2061 by Lin Jen-Shin (godfat). * Merge glob pattern using braces. Pull request #2072 by Kazuhiro NISHIYAMA. * Removed warnings of unused variables. Pull request #2084 by SHIBATA Hiroshi. * Call SPDX.org using HTTPS. Pull request #2102 by Olle Jonsson. * Remove multi load warning from plugins documentation. Pull request #2103 by Thibault Jouan. Bug fixes: * Fix test failure on Alpine Linux. Pull request #2079 by Ellen Marie Dash. * Avoid encoding issues by using binread in setup. Pull request #2089 by Mauro Morales. * Fix rake install_test_deps once the rake clean_env does not exist. Pull request #2090 by Lucas Oliveira. * Prevent to delete to "bundler-" prefix gem like bundler-audit. Pull request #2086 by SHIBATA Hiroshi. * Generate .bat files on Windows platform. Pull request #2094 by SHIBATA Hiroshi. * Workaround common options mutation in Gem::Command test. Pull request #2098 by Thibault Jouan. * Check gems dir existence before removing bundler. Pull request #2104 by Thibault Jouan. * Use setup command --regenerate-binstubs option flag. Pull request #2099 by Thibault Jouan. === 2.7.2 Bug fixes: * Added template files to vendoerd bundler. Pull request #2065 by SHIBATA Hiroshi. * Added workaround for non-git environment. Pull request #2066 by SHIBATA Hiroshi. === 2.7.1 (2017-11-03) Bug fixes: * Fix `gem update --system` with RubyGems 2.7+. Pull request #2054 by Samuel Giddins. === 2.7.0 (2017-11-02) Major enhancements: * Update vendored bundler-1.16.0. Pull request #2051 by Samuel Giddins. * Use Bundler for Gem.use_gemdeps. Pull request #1674 by Samuel Giddins. * Add command `signin` to `gem` CLI. Pull request #1944 by Shiva Bhusal. * Add Logout feature to CLI. Pull request #1938 by Shiva Bhusal. Minor enhancements: * Added message to uninstall command for gem that is not installed. Pull request #1979 by anant anil kolvankar. * Add --trust-policy option to unpack command. Pull request #1718 by Nobuyoshi Nakada. * Show default gems for all platforms. Pull request #1685 by Konstantin Shabanov. * Add Travis and Appveyor build status to README. Pull request #1918 by Jun Aruga. * Remove warning `no email specified` when no email. Pull request #1675 by Leigh McCulloch. * Improve -rubygems performance. Pull request #1801 by Samuel Giddins. * Improve the performance of Kernel#require. Pull request #1678 by Samuel Giddins. * Improve user-facing messages by consistent casing of Ruby/RubyGems. Pull request #1771 by John Labovitz. * Improve error message when Gem::RuntimeRequirementNotMetError is raised. Pull request #1789 by Luis Sagastume. * Code Improvement: Inheritance corrected. Pull request #1942 by Shiva Bhusal. * [Source] Autoload fileutils. Pull request #1906 by Samuel Giddins. * Use Hash#fetch instead of if/else in Gem::ConfigFile. Pull request #1824 by Daniel Berger. * Require digest when it is used. Pull request #2006 by Samuel Giddins. * Do not index the doc folder in the `update_manifest` task. Pull request #2031 by Colby Swandale. * Don't use two postfix conditionals on one line. Pull request #2038 by Ellen Marie Dash. * [SafeYAML] Avoid warning when Gem::Deprecate.skip is set. Pull request #2034 by Samuel Giddins. * Update gem yank description. Pull request #2009 by David Radcliffe. * Fix formatting of installation instructions in README. Pull request #2018 by Jordan Danford. * Do not use #quick_spec internally. Pull request #1733 by Jon Moss. * Switch from docs to guides reference. Pull request #1886 by Jonathan Claudius. * Happier message when latest version is already installed. Pull request #1956 by Jared Beck. * Update specification reference docs. Pull request #1960 by Grey Baker. * Allow Gem.finish_resolve to respect already-activated specs. Pull request #1910 by Samuel Giddins. * Update cryptography for Gem::Security. Pull request #1691 by Sylvain Daubert. * Don't output mkmf.log message if compilation didn't fail. Pull request #1808 by Jeremy Evans. * Matches_for_glob - remove root path. Pull request #2010 by ahorek. * Gem::Resolver#search_for update for reliable searching/sorting. Pull request #1993 by MSP-Greg. * Allow local installs with transitive prerelease requirements. Pull request #1990 by Samuel Giddins. * Small style fixes to Installer Set. Pull request #1985 by Arthur Marzinkovskiy. * Setup cmd: Avoid terminating option string w/ dot. Pull request #1825 by Olle Jonsson. * Warn when no files are set. Pull request #1773 by Aidan Coyle. * Ensure `to_spec` falls back on prerelease specs. Pull request #1755 by André Arko. * [Specification] Eval setting default attributes in #initialize. Pull request #1739 by Samuel Giddins. * Sort ordering of sources is preserved. Pull request #1633 by Nathan Ladd. * Retry with :prerelease when no suggestions are found. Pull request #1696 by Aditya Prakash. * [Rakefile] Run `git submodule update --init` in `rake newb`. Pull request #1694 by Samuel Giddins. * [TestCase] Address comments around ui changes. Pull request #1677 by Samuel Giddins. * Eagerly resolve in activate_bin_path. Pull request #1666 by Samuel Giddins. * [Version] Make hash based upon canonical segments. Pull request #1659 by Samuel Giddins. * Add Ruby Together CTA, rearrange README a bit. Pull request #1775 by Michael Bernstein. * Update Contributing.rdoc with new label usage. Pull request #1716 by Lynn Cyrin. * Add --host sample to help. Pull request #1709 by Code Ahss. * Add a helpful suggestion when `gem install` fails due to required_rub…. Pull request #1697 by Samuel Giddins. * Add cert expiration length flag. Pull request #1725 by Luis Sagastume. * Add submodule instructions to manual install. Pull request #1727 by Joseph Frazier. * Allow usage of multiple `--version` operators. Pull request #1546 by James Wen. * Warn when requiring deprecated files. Pull request #1939 by Ellen Marie Dash. Compatibility changes: * Use `-rrubygems` instead of `-rubygems.rb`. Because ubygems.rb is unavailable on Ruby 2.5. Pull request #2028 #2027 #2029 by SHIBATA Hiroshi. * Deprecate Gem::InstallerTestCase#util_gem_bindir and Gem::InstallerTestCase#util_gem_dir. Pull request #1729 by Jon Moss. * Deprecate passing options to Gem::GemRunner. Pull request #1730 by Jon Moss. * Add deprecation for Gem#datadir. Pull request #1732 by Jon Moss. * Add deprecation warning for Gem::DependencyInstaller#gems_to_install. Pull request #1731 by Jon Moss. * Update Code of Conduct to Contributor Covenant v1.4.0. Pull request #1796 by Matej. Bug fixes: * Fix issue for MinGW / MSYS2 builds and testing. Pull request #1876 by MSP-Greg. * Fixed broken links and overzealous URL encoding in gem server. Pull request #1809 by Nicole Orchard. * Fix a typo. Pull request #1722 by Koichi ITO. * Fix error message Gem::Security::Policy. Pull request #1724 by Nobuyoshi Nakada. * Fixing links markdown formatting in README. Pull request #1791 by Piotr Kuczynski. * Fix failing Bundler 1.8.7 CI builds. Pull request #1820 by Samuel Giddins. * Fixed test broken on ruby-head . Pull request #1842 by SHIBATA Hiroshi. * Fix typos with misspell. Pull request #1846 by SHIBATA Hiroshi. * Fix gem open to open highest version number rather than lowest. Pull request #1877 by Tim Pope. * Fix test_self_find_files_with_gemfile to sort expected files. Pull request #1878 by Kazuaki Matsuo. * Fix typos in CONTRIBUTING.rdoc. Pull request #1909 by Mark Sayson. * Fix some small documentation issues in installer. Pull request #1972 by Colby Swandale. * Fix links in Policies document. Pull request #1964 by Alyssa Ross. * Fix NoMethodError on bundler/inline environment. Pull request #2042 by SHIBATA Hiroshi. * Correct comments for Gem::InstallerTestCase#setup. Pull request #1741 by MSP-Greg. * Use File.expand_path for certification and key location. Pull request #1987 by SHIBATA Hiroshi. * Rescue EROFS. Pull request #1417 by Nobuyoshi Nakada. * Fix spelling of 'vulnerability'. Pull request #2022 by Philip Arndt. * Fix metadata link key names. Pull request #1896 by Aditya Prakash. * Fix a typo in uninstall_command.rb. Pull request #1934 by Yasuhiro Horimoto. * Gem::Requirement.create treat arguments as variable-length. Pull request #1830 by Toru YAGI. * Display an explanation when rake encounters an ontological problem. Pull request #1982 by Wilson Bilkovich. * [Server] Handle gems with names ending in `-\d`. Pull request #1926 by Samuel Giddins. * [InstallerSet] Avoid reloading _all_ local gems multiple times during dependency resolution. Pull request #1925 by Samuel Giddins. * Modify the return value of Gem::Version.correct?. Pull request #1916 by Tsukuru Tanimichi. * Validate metadata link keys. Pull request #1834 by Aditya Prakash. * Add changelog to metadata validation. Pull request #1885 by Aditya Prakash. * Replace socket error text message. Pull request #1823 by Daniel Berger. * Raise error if the email is invalid when building cert. Pull request #1779 by Luis Sagastume. * [StubSpecification] Don’t iterate through all loaded specs in #to_spec. Pull request #1738 by Samuel Giddins. ------------------------------------------------------------------------------ RubyGems installed the following executables: /home/travis/.rvm/rubies/jruby-9.1.16.0/bin/jgem /home/travis/.rvm/rubies/jruby-9.1.16.0/bin/jbundle RubyGems system software updated before_install.2 19.08s$ gem install bundler Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m Successfully installed bundler-1.16.1 1 gem installed install.bundler 49.48s$ bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle} Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m Your Gemfile lists the gem algoliasearch-jekyll (>= 0) more than once. You should probably keep only one of them. While it's not a problem now, it could cause errors if you change the version of one of them later. The dependency ruby-prof (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for java but the dependency is only for ruby. To add those platforms to the bundle, run `bundle lock --add-platform ruby`. The dependency sqlite3 (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for java but the dependency is only for ruby. To add those platforms to the bundle, run `bundle lock --add-platform ruby`. The dependency pg (< 1.0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for java but the dependency is only for ruby. To add those platforms to the bundle, run `bundle lock --add-platform ruby`. The dependency pry-stack_explorer (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for java but the dependency is only for ruby. To add those platforms to the bundle, run `bundle lock --add-platform ruby`. Fetching gem metadata from https://rubygems.org/.......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies................................ Using rake 11.3.0 Using minitest 5.9.1 Using thread_safe 0.3.6 (java) Using builder 3.2.3 Using erubi 1.7.1 Using nokogiri 1.8.2 (java) Using crass 1.0.4 Using rack 2.0.4 Using nio4r 2.3.0 (java) Using websocket-extensions 0.1.3 Using mini_mime 1.0.0 Using arel 8.0.0 Using concurrent-ruby 1.0.5 (java) Using jdbc-sqlite3 3.20.1 Using public_suffix 3.0.2 Using httpclient 2.8.3 Using json 1.8.6 (java) Using awesome_print 1.8.0 Using ansi 1.5.0 Using bundler 1.16.1 Using thor 0.20.0 Using ast 2.4.0 Using benchmark-ips 2.7.2 Using io-like 0.3.0 Using ffi 1.9.23 (java) Using docile 1.3.0 Using simplecov-html 0.10.2 Using coderay 1.1.2 Using colorator 1.1.0 Using eventmachine 1.2.5 (java) Using http_parser.rb 0.6.0 (java) Using formatador 0.2.5 Using forwardable-extended 2.6.0 Using graphql 1.8.0.pre10 from source at `../` Using xpath 3.0.0 Using rb-fsevent 0.10.3 Using lumberjack 1.0.13 Using nenv 0.3.0 Using shellany 0.0.1 Using method_source 0.9.0 Using guard-compat 1.2.1 Using parallel 1.12.1 Using powerpack 0.1.1 Using rainbow 3.0.0 Using ruby-progressbar 1.9.0 Using unicode-display_width 1.3.0 Using kramdown 1.16.2 Using liquid 4.0.0 Using mercenary 0.3.6 Using rouge 3.1.1 Using safe_yaml 1.0.4 Using memory_profiler 0.9.10 Using minitest-focus 1.1.2 Using puma 3.11.3 (java) Using racc 1.4.14 (java) Using sprockets 3.7.1 Using rubyzip 1.2.1 Using sequel 5.7.1 Using yard 0.9.12 Using i18n 0.9.5 Using tzinfo 1.2.5 Using loofah 2.2.2 Using rack-test 1.0.0 Using websocket-driver 0.6.5 (java) Using mail 2.7.0 Using addressable 2.5.2 Using algoliasearch 1.19.2 Using appraisal 2.2.0 Using archive-zip 0.11.0 Using childprocess 0.9.0 Using simplecov 0.16.1 Using em-websocket 0.5.1 Using rb-inotify 0.9.10 Using spoon 0.0.6 Using parser 2.5.0.5 Using pathutil 0.16.1 Using minitest-reporters 1.2.0 Using notiffany 0.1.1 Using guard-minitest 2.4.6 Using activesupport 5.1.6 Using rails-html-sanitizer 1.0.4 Using capybara 3.0.1 Using algoliasearch-jekyll 0.5.3 Using chromedriver-helper 1.2.0 Using codeclimate-test-reporter 0.6.0 Using sass-listen 4.0.0 Using selenium-webdriver 3.11.0 Using listen 3.0.8 Using pry 0.11.3 (java) Using rails-dom-testing 2.0.3 Using globalid 0.4.1 Using activemodel 5.1.6 Using rubocop 0.54.0 Using actionview 5.1.6 Using activejob 5.1.6 Using activerecord 5.1.6 Using guard 2.14.2 Using sass 3.5.6 Using jekyll-watch 2.0.0 Using actionpack 5.1.6 Using activerecord-jdbc-adapter 51.0 Using guard-bundler 2.1.0 Using guard-rake 1.0.0 Using guard-rubocop 1.3.0 Using jekyll-sass-converter 1.5.2 Using actioncable 5.1.6 Using actionmailer 5.1.6 Using activerecord-jdbcsqlite3-adapter 51.0 Using jekyll 3.7.3 Using railties 5.1.6 Using sprockets-rails 3.2.1 Using rails 5.1.6 Bundle complete! 35 Gemfile dependencies, 112 gems now installed. Bundled gems are installed into `./vendor/bundle` before_script 0.34s$ psql -c 'create database graphql_ruby_test;' -U postgres $ bundle exec rake Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m I, [2018-04-10T14:51:37.757393 #6175] INFO -- : Reporting coverage data to Code Climate. LoadError: load error: /home/travis/build/rmosolgo/graphql-ruby/spec/support/jazz -- java.lang.NullPointerException: null require at org/jruby/RubyKernel.java:956 block in (root) at /home/travis/build/rmosolgo/graphql-ruby/spec/spec_helper.rb:67 each at org/jruby/RubyArray.java:1735 at /home/travis/build/rmosolgo/graphql-ruby/spec/spec_helper.rb:62 require at org/jruby/RubyKernel.java:956 at /home/travis/build/rmosolgo/graphql-ruby/spec/generators/graphql/enum_generator_spec.rb:1 require at org/jruby/RubyKernel.java:956 block in /home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb at /home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb:10 each at org/jruby/RubyArray.java:1735 block in /home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb at /home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb:9 select at org/jruby/RubyArray.java:2566 at /home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb:4 Coverage = 37.14%. Sending report to https://codeclimate.com for branch master... done. rake aborted! Command failed with status (1): [ruby -I"lib:spec:lib" -I"/home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib" "/home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb" "spec/**/*_spec.rb" ] /home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/exe/rake:27:in `' /home/travis/.rvm/gems/jruby-9.1.16.0/bin/jruby_executable_hooks:15:in `' Tasks: TOP => default => test (See full trace by running task with --trace) The PR does introduce some prepends which call super, which I see in the previous discussion here. I saw the
but it finished successfully. In fact, https://travis-ci.org/rmosolgo/graphql-ruby/jobs/364665606 Let's see how it does... |
Well, another build on the same commit finished first: https://travis-ci.org/rmosolgo/graphql-ruby/jobs/364665568 Here's the console output: java.lang.NullPointerException at org.jruby.ir.runtime.IRRuntimeHelpers.unresolvedSuper(IRRuntimeHelpers.java:1035) at org.jruby.ir.instructions.UnresolvedSuperInstr.interpret(UnresolvedSuperInstr.java:82) at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:360) at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72) at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:84) at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:179) at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:165) at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:202) at org.jruby.RubyClass.finvoke(RubyClass.java:908) at org.jruby.runtime.Helpers.invoke(Helpers.java:442) at org.jruby.RubyBasicObject.callMethod(RubyBasicObject.java:363) at org.jruby.RubyModule.include(RubyModule.java:2640) at org.jruby.RubyModule$INVOKER$i$include_DBG.call(RubyModule$INVOKER$i$include_DBG.gen) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:155) at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:315) at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72) at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:78) at org.jruby.internal.runtime.methods.InterpretedIRBodyMethod.interpretWithBacktrace(InterpretedIRBodyMethod.java:72) at org.jruby.internal.runtime.methods.InterpretedIRBodyMethod.INTERPRET_MODULE(InterpretedIRBodyMethod.java:62) at org.jruby.internal.runtime.methods.InterpretedIRBodyMethod.callInternal(InterpretedIRBodyMethod.java:47) at org.jruby.internal.runtime.methods.InterpretedIRBodyMethod.call(InterpretedIRBodyMethod.java:37) at org.jruby.ir.instructions.ProcessModuleBodyInstr.interpret(ProcessModuleBodyInstr.java:56) at org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:178) at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:104) at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:78) at org.jruby.internal.runtime.methods.InterpretedIRBodyMethod.interpretWithBacktrace(InterpretedIRBodyMethod.java:72) at org.jruby.internal.runtime.methods.InterpretedIRBodyMethod.INTERPRET_MODULE(InterpretedIRBodyMethod.java:62) at org.jruby.internal.runtime.methods.InterpretedIRBodyMethod.callInternal(InterpretedIRBodyMethod.java:47) at org.jruby.internal.runtime.methods.InterpretedIRBodyMethod.call(InterpretedIRBodyMethod.java:37) at org.jruby.ir.instructions.ProcessModuleBodyInstr.interpret(ProcessModuleBodyInstr.java:56) at org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:178) at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:104) at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:107) at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:94) at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:34) at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) at org.jruby.Ruby.runInterpreter(Ruby.java:842) at org.jruby.Ruby.loadFile(Ruby.java:2891) at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:243) at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:34) at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:891) at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:531) at org.jruby.runtime.load.LoadService.require(LoadService.java:402) at org.jruby.RubyKernel.requireCommon(RubyKernel.java:963) at org.jruby.RubyKernel.require19(RubyKernel.java:956) at org.jruby.RubyKernel$INVOKER$s$1$0$require19_DBG.call(RubyKernel$INVOKER$s$1$0$require19_DBG.gen) at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:398) at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:153) at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:315) at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72) at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:127) at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:149) at org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:186) at org.jruby.runtime.BlockBody.yield(BlockBody.java:116) at org.jruby.runtime.Block.yield(Block.java:165) at org.jruby.RubyArray.each(RubyArray.java:1735) at org.jruby.RubyArray$INVOKER$i$0$0$each_DBG.call(RubyArray$INVOKER$i$0$0$each_DBG.gen) at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:536) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:278) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:79) at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:84) at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:429) at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:360) at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72) at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:107) at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:94) at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:34) at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) at org.jruby.Ruby.runInterpreter(Ruby.java:842) at org.jruby.Ruby.loadFile(Ruby.java:2891) at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:243) at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:34) at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:891) at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:531) at org.jruby.runtime.load.LoadService.require(LoadService.java:402) at org.jruby.RubyKernel.requireCommon(RubyKernel.java:963) at org.jruby.RubyKernel.require19(RubyKernel.java:956) at org.jruby.RubyKernel$INVOKER$s$1$0$require19_DBG.call(RubyKernel$INVOKER$s$1$0$require19_DBG.gen) at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:398) at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:155) at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:315) at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72) at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:107) at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:94) at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:34) at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) at org.jruby.Ruby.runInterpreter(Ruby.java:842) at org.jruby.Ruby.loadFile(Ruby.java:2891) at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:243) at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:34) at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:891) at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:531) at org.jruby.runtime.load.LoadService.require(LoadService.java:402) at org.jruby.RubyKernel.requireCommon(RubyKernel.java:963) at org.jruby.RubyKernel.require19(RubyKernel.java:956) at org.jruby.RubyKernel$INVOKER$s$1$0$require19_DBG.call(RubyKernel$INVOKER$s$1$0$require19_DBG.gen) at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:398) at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:155) at home.travis.build.rmosolgo.graphql_minus_ruby.gemfiles.vendor.bundle.jruby.$2_dot_3_dot_0.gems.rake_minus_11_dot_3_dot_0.lib.rake.rake_test_loader.invokeOther1:require(/home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb:10) at home.travis.build.rmosolgo.graphql_minus_ruby.gemfiles.vendor.bundle.jruby.$2_dot_3_dot_0.gems.rake_minus_11_dot_3_dot_0.lib.rake.rake_test_loader.RUBY$block$\=\|home\|travis\|build\|rmosolgo\|graphql-ruby\|gemfiles\|vendor\|bundle\|jruby\|2\,3\,0\|gems\|rake-11\,3\,0\|lib\|rake\|rake_test_loader\,rb$1(/home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb:10) at org.jruby.runtime.CompiledIRBlockBody.yieldDirect(CompiledIRBlockBody.java:156) at org.jruby.runtime.BlockBody.yield(BlockBody.java:114) at org.jruby.runtime.Block.yield(Block.java:165) at org.jruby.RubyArray.each(RubyArray.java:1735) at org.jruby.RubyArray$INVOKER$i$0$0$each_DBG.call(RubyArray$INVOKER$i$0$0$each_DBG.gen) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:308) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:142) at home.travis.build.rmosolgo.graphql_minus_ruby.gemfiles.vendor.bundle.jruby.$2_dot_3_dot_0.gems.rake_minus_11_dot_3_dot_0.lib.rake.rake_test_loader.invokeOther13:each(/home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb:9) at home.travis.build.rmosolgo.graphql_minus_ruby.gemfiles.vendor.bundle.jruby.$2_dot_3_dot_0.gems.rake_minus_11_dot_3_dot_0.lib.rake.rake_test_loader.RUBY$block$\=\|home\|travis\|build\|rmosolgo\|graphql-ruby\|gemfiles\|vendor\|bundle\|jruby\|2\,3\,0\|gems\|rake-11\,3\,0\|lib\|rake\|rake_test_loader\,rb$0(/home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb:9) at org.jruby.runtime.CompiledIRBlockBody.yieldDirect(CompiledIRBlockBody.java:156) at org.jruby.runtime.BlockBody.yield(BlockBody.java:114) at org.jruby.runtime.Block.yield(Block.java:165) at org.jruby.RubyArray.selectCommon(RubyArray.java:2532) at org.jruby.RubyArray.select(RubyArray.java:2566) at org.jruby.RubyArray$INVOKER$i$0$0$select_DBG.call(RubyArray$INVOKER$i$0$0$select_DBG.gen) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:308) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:142) at home.travis.build.rmosolgo.graphql_minus_ruby.gemfiles.vendor.bundle.jruby.$2_dot_3_dot_0.gems.rake_minus_11_dot_3_dot_0.lib.rake.rake_test_loader.invokeOther17:select(/home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb:4) at home.travis.build.rmosolgo.graphql_minus_ruby.gemfiles.vendor.bundle.jruby.$2_dot_3_dot_0.gems.rake_minus_11_dot_3_dot_0.lib.rake.rake_test_loader.RUBY$script(/home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb:4) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.jruby.ir.Compiler$1.load(Compiler.java:94) at org.jruby.Ruby.runScript(Ruby.java:830) at org.jruby.Ruby.runNormally(Ruby.java:749) at org.jruby.Ruby.runNormally(Ruby.java:767) at org.jruby.Ruby.runFromMain(Ruby.java:580) at org.jruby.Main.doRunFromMain(Main.java:417) at org.jruby.Main.internalRun(Main.java:305) at org.jruby.Main.run(Main.java:232) at org.jruby.Main.main(Main.java:204) LoadError: load error: /home/travis/build/rmosolgo/graphql-ruby/spec/support/jazz -- java.lang.NullPointerException: null require at org/jruby/RubyKernel.java:956 block in (root) at /home/travis/build/rmosolgo/graphql-ruby/spec/spec_helper.rb:67 each at org/jruby/RubyArray.java:1735 at /home/travis/build/rmosolgo/graphql-ruby/spec/spec_helper.rb:62 require at org/jruby/RubyKernel.java:956 at /home/travis/build/rmosolgo/graphql-ruby/spec/generators/graphql/enum_generator_spec.rb:1 require at org/jruby/RubyKernel.java:956 block in /home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb at /home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb:10 each at org/jruby/RubyArray.java:1735 block in /home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb at /home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb:9 select at org/jruby/RubyArray.java:2566 at /home/travis/build/rmosolgo/graphql-ruby/gemfiles/vendor/bundle/jruby/2.3.0/gems/rake-11.3.0/lib/rake/rake_test_loader.rb:4 Coverage = 37.03%. Sending report to https://codeclimate.com for branch interface-as-module... done. |
I'm not too sure what to do next, but if you have any guesses for solution/workaround/more debugging, I'm all ears! |
I am running jruby 9.0.5.0 in the official docker image and I just upgraded to rails 5 and devise 4.0.0.rc1 and am working through a bunch of issues, one being that I can not start my app without getting an error such as the one below
As soon as I remove the following line from my User Model
I can start my application but obviously its horribly broken and cant serve the login page as devise isn't initiated properly!
Any help would be much appreciated
The text was updated successfully, but these errors were encountered: