Skip to content
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

superclass mismatch for class Digest #135

Closed
plentz opened this issue Dec 12, 2012 · 5 comments
Closed

superclass mismatch for class Digest #135

plentz opened this issue Dec 12, 2012 · 5 comments

Comments

@plentz
Copy link

plentz commented Dec 12, 2012

I'm getting this weird message using jruby(1.7.1) + winrm, but it looks like it's a problem with httpclient

cc @zenchild

superclass mismatch for class Digest
org/jruby/RubyKernel.java:1027:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/rubyntlm-0.1.1/lib/net/ntlm.rb:1:in `(root)'
org/jruby/RubyKernel.java:1027:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/rubyntlm-0.1.1/lib/net/ntlm.rb:47:in `(root)'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/httpclient-2.2.0.2/lib/httpclient/auth.rb:1:in `(root)'
org/jruby/RubyKernel.java:1027:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/httpclient-2.2.0.2/lib/httpclient/auth.rb:16:in `HTTPClient'
org/jruby/RubyKernel.java:1027:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/httpclient-2.2.0.2/lib/httpclient/auth.rb:13:in `(root)'
org/jruby/RubyKernel.java:1027:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/httpclient-2.2.0.2/lib/httpclient.rb:1:in `(root)'
org/jruby/RubyKernel.java:1027:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/httpclient-2.2.0.2/lib/httpclient.rb:19:in `(root)'
org/jruby/RubyArray.java:1612:in `each'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/winrm-1.1.2/lib/winrm/soap_provider.rb:1:in `(root)'
org/jruby/RubyArray.java:1612:in `each'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/winrm-1.1.2/lib/winrm/soap_provider.rb:19:in `(root)'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/winrm-1.1.2/lib/winrm.rb:1:in `(root)'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1/gems/winrm-1.1.2/lib/winrm.rb:29:in `(root)'
org/jruby/RubyKernel.java:1027:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:1:in `(root)'
org/jruby/RubyKernel.java:1046:in `load'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in `require'
/var/lib/jenkins/.rvm/gems/jruby-1.7.1@global/gems/bundler-1.2.3/lib/bundler.rb:128:in `require'
/var/lib/jenkins/jobs/bestsales (jruby) (stable branch)/workspace/config/application.rb:7:in `(root)'
/var/lib/jenkins/jobs/bestsales (jruby) (stable branch)/workspace/Rakefile:1:in `(root)'
/var/lib/jenkins/jobs/bestsales (jruby) (stable branch)/workspace/Rakefile:4:in `(root)'
org/jruby/RubyKernel.java:1046:in `load'
org/jruby/RubyKernel.java:1066:in `eval'
/var/lib/jenkins/.rvm//gems/jruby-1.7.1/bin/ruby_noexec_wrapper:14:in `(root)'
@nahi
Copy link
Owner

nahi commented Dec 12, 2012

Interesting. Please show me the result when you invoke jruby with "-Xdebug.loadService.timing=true"?

@plentz
Copy link
Author

plentz commented Dec 13, 2012

@nahi here it is https://gist.github.com/4277447.

@plentz
Copy link
Author

plentz commented Dec 17, 2012

I just realized something: the problem could be caused by config.threadsafe!. I will try to look deeper.

@plentz
Copy link
Author

plentz commented Dec 17, 2012

confirmed: the problem only happens with thread-safety turned on.

@nahi
Copy link
Owner

nahi commented Nov 3, 2014

I close this dated ticket since it seems like JRuby's threading issue.

@nahi nahi closed this as completed Nov 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants