Created
September 14, 2016 04:16
-
-
Save grosscol/48d0aba4dd273b9f2d16a74a7e548950 to your computer and use it in GitHub Desktop.
Sufia 7.pre -> Sufia 7.1 Migration Error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):002:0> fs = FileSet.find('gb19f580q') | |
=> #<FileSet id: "gb19f580q", label: "it150815_074300_000.idl", relative_path: "Data/Simulation Output/Ionosphere Output/it150815_...", import_url: nil, part_of: [], resource_type: [], creator: [], contributor: [], description: [], keyword: [], rights: [], publisher: [], date_created: [], subject: [], language: [], identifier: [], based_near: [], related_url: [], bibliographic_citation: [], source: [], head: [], tail: [], depositor: "[email protected]", title: ["it150815_074300_000.idl"], date_uploaded: "2016-04-21 18:49:04", date_modified: "2016-04-21 18:49:04", access_control_id: "10d89226-68ee-4661-afff-9e3056f45e1a", embargo_id: nil, lease_id: nil> | |
irb(main):003:0> fs.original_file | |
=> #<Hydra::PCDM::File uri="http://localhost:8301/fedora/rest/umrdr/gb/19/f5/80/gb19f580q/files/90e50337-8c1a-4482-9842-3eaa9641fc58" > | |
irb(main):004:0> fs.characterization_proxy | |
=> #<Hydra::PCDM::File uri="http://localhost:8301/fedora/rest/umrdr/gb/19/f5/80/gb19f580q/files/90e50337-8c1a-4482-9842-3eaa9641fc58" > | |
irb(main):005:0> fs.characterization_proxy.save | |
=> true | |
irb(main):006:0> fs.characterization_proxy.save | |
Ldp::HttpError: STATUS: 500 java.util.NoSuchElementException | |
at com.google.common.collect.Iterators$1.next(Iterators.java:80) | |
at org.fcrepo.kernel.modeshape.rdf.impl.mappings.PropertyValueIterator.computeNext(PropertyValueIterator.java:68) | |
at org.fcrepo.kernel.modeshape.rdf.impl.mappings.PropertyValueIterator.computeNext(PropertyValueIterator.java:35) | |
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) | |
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) | |
at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43) | |
at com.google.common.collect.Iterators$7.computeNext(Iterators.java:650) | |
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) | |
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) | |
at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43) | |
at com.google.common.collect.Iterators$5.hasNext(Iterators.java:547) | |
at com... | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/ldp-0.5.0/lib/ldp/client/methods.rb:119:in `block in check_for_errors' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/ldp-0.5.0/lib/ldp/client/methods.rb:117:in `tap' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/ldp-0.5.0/lib/ldp/client/methods.rb:117:in `check_for_errors' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/ldp-0.5.0/lib/ldp/client/methods.rb:110:in `block in patch' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:166:in `instrument' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/ldp-0.5.0/lib/ldp/client/methods.rb:102:in `patch' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/active-fedora-10.2.0/lib/active_fedora/caching_connection.rb:29:in `patch' | |
from /l/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/delegate.rb:83:in `method_missing' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/active-fedora-10.2.0/lib/active_fedora/initializing_connection.rb:47:in `patch' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/active-fedora-10.2.0/lib/active_fedora/sparql_insert.rb:11:in `execute' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/active-fedora-10.2.0/lib/active_fedora/with_metadata/metadata_node.rb:47:in `save' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/active-fedora-10.2.0/lib/active_fedora/file.rb:167:in `block in create_or_update' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/active-fedora-10.2.0/lib/active_fedora/file.rb:166:in `tap' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/active-fedora-10.2.0/lib/active_fedora/file.rb:166:in `create_or_update' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/active-fedora-10.2.0/lib/active_fedora/with_metadata.rb:22:in `create_or_update' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/active-fedora-10.2.0/lib/active_fedora/persistence.rb:29:in `save' | |
from (irb):6 | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands/console.rb:110:in `start' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands/console.rb:9:in `start' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:68:in `console' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in `run_command!' | |
from /hydra/umrdr-production/shared/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands.rb:17:in `<top (required)>' | |
from bin/rails:4:in `require' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looking at the tomcat logs: