Skip to content

Java::JavaUtilConcurrent::ExecutionException copying branches in fetchLite #4

@ryanfb

Description

@ryanfb

From papyri/sosol#39:

copy_branch_from_repo(approved/2016/07/07/SB_10_10511, DDbDP_Editorial_Board/pheilpor/SB_10_10511, /srv/data/papyri.info/sosol/repo/boards/DDbDP Editorial Board.git, /srv/data/papyri.info/sosol/repo/users/james.cowey.git)
Java::JavaUtilConcurrent::ExecutionException: java.lang.Exception: Error executing git --git-dir=/srv/data/papyri.info/sosol/repo/boards/DDbDP Editorial Board.git ls-tree d5596b72d160d5e26d2e95fc7df0149e4a5143bf | git --git-dir=/srv/data/papyri.info/sosol/repo/users/james.cowey.git mktree --missing
        from java.util.concurrent.FutureTask.report(java/util/concurrent/FutureTask.java:122)
        from java.util.concurrent.FutureTask.get(java/util/concurrent/FutureTask.java:188)
        from clojure.core$deref_future.invoke(core.clj:2180)
        from clojure.core$deref_future.invoke(clojure/core.clj:2180)
        from clojure.core$future_call$reify__6320.deref(core.clj:6420)
        from clojure.core$future_call$reify__6320.deref(clojure/core.clj:6420)
        from clojure.core$deref.invoke(core.clj:2200)
        from clojure.core$deref.invoke(clojure/core.clj:2200)
        from clojure.core$map$fn__4245.invoke(core.clj:2557)
        from clojure.core$map$fn__4245.invoke(clojure/core.clj:2557)
        from clojure.lang.LazySeq.sval(clojure/lang/LazySeq.java:40)
        from clojure.lang.LazySeq.seq(clojure/lang/LazySeq.java:56)
        from clojure.lang.RT.seq(clojure/lang/RT.java:484)
        from clojure.core$seq.invoke(core.clj:133)
        from clojure.core$seq.invoke(clojure/core.clj:133)
        from clojure.core$dorun.invoke(core.clj:2855)
... 2 levels...
        from gitwrapper.utils$_fetchLite.invoke(gitwrapper/utils.clj:215)
        from java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:606)
        from RUBY.copy_branch_from_repo(/srv/data/papyri.info/sosol/editor/app/models/repository.rb:219)
        from RUBY.copy_to_owner(/srv/data/papyri.info/sosol/editor/app/models/publication.rb:1346)
        from RUBY.send_to_finalizer(/srv/data/papyri.info/sosol/editor/app/models/publication.rb:803)
        from RUBY.evaluate((irb):90)
        from org.jruby.RubyKernel.eval(org/jruby/RubyKernel.java:1101)
        from org.jruby.RubyKernel.loop(org/jruby/RubyKernel.java:1501)
        from org.jruby.RubyKernel.catch(org/jruby/RubyKernel.java:1264)
        from org.jruby.RubyKernel.catch(org/jruby/RubyKernel.java:1264)
        from RUBY.start(/home/rfb11/.rbenv/versions/jruby-1.7.12/lib/ruby/gems/shared/gems/railties-3.2.18/lib/rails/commands/console.rb:47)
        from RUBY.start(/home/rfb11/.rbenv/versions/jruby-1.7.12/lib/ruby/gems/shared/gems/railties-3.2.18/lib/rails/commands/console.rb:8)
        from RUBY.(root)(/home/rfb11/.rbenv/versions/jruby-1.7.12/lib/ruby/gems/shared/gems/railties-3.2.18/lib/rails/commands.rb:41)
        from org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1065)
        from script.rails.(root)(script/rails:6)
        from script.rails.(root)(script/script/rails:6)irb(main):091:0>

If I manually copy the branch (in the users/james.cowey.git repo), it succeeds:

sudo -u tomcat git fetch boards/DDbDP_Editorial_Board approved/2016/07/07/SB_10_10511:DDbDP_Editorial_Board/pheilpor/SB_10_10511

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions