Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • J jruby-maven-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The TorqueBox Project
  • jruby-maven-plugins
  • Issues
  • #107
Closed
Open
Issue created Jul 15, 2020 by Charles Oliver Nutter@headius

Marshal data too short accessing mavengems

This seems to be a recent issue, possibly related to some unknown update to rubygems.org:

[INFO] --- maven-jar-plugin:3.0.0:jar (default-jar) @ jruby-stdlib ---
[INFO] Building jar: /Users/headius/projects/jruby/lib/target/jruby-stdlib-9.2.13.0-SNAPSHOT.jar
[INFO] 
[INFO] -----------------------< org.jruby:jruby-tests >------------------------
[INFO] Building JRuby Integration Tests 9.2.13.0-SNAPSHOT                 [4/4]
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from mavengems: mavengem:http://rubygems.org/rubygems/rspec/3.9.0/rspec-3.9.0.pom
ArgumentError: marshal data too short
          load at org/jruby/RubyMarshal.java:147
  marshal_load at uri:classloader:/nexus/rubygems_helper.rb:58
    initialize at uri:classloader:/nexus/dependency_data_impl.rb:33
Downloading from central: https://repo.maven.apache.org/maven2/rubygems/rspec/3.9.0/rspec-3.9.0.pom

This happens during JRuby's build using mvn package -Pbootstrap which downloads and installs additional gems for local development purposes.

The URL in question is clearly not something that rubygems.org supports, and produces a page with the only content as "404 Not Found" when accessed.

Perhaps this page's content is being used as the pom? Or used as some RubyGems data that it tries to marshal and fails?

This is preventing all JRuby CI builds from working. I wiped out my local .m2/repository and could reproduce locally as well.

Assignee
Assign to
Time tracking