daitss/core — Issue #580: E20070723_AAAAFP d1refresh error NoMethodError
Author: lydiam
Created: 2011-11-28 17:06:16+00:00
State: open

E20070723_AAAAFP snafu-ed with the following message from common.log, which appears to be more informative than the snafu message:

Nov 28 11:18:34 fclnx30 Core[21479]: INFO fda.fcla.edu: Rack: 128.227.228.196 - - [28/Nov/2011 11:18:34] "GET /workspace/E20070723_AAAAFP " 200 4402 0.0076
Nov 28 11:18:34 fclnx30 Core[21479]: INFO fda.fcla.edu: Rack: 128.227.228.196 - - [28/Nov/2011 11:18:34] "GET /stylesheet.css " 200 1999 0.0010
Nov 28 11:18:38 fclnx30 Describe[6209]: INFO describe.darchive.fcla.edu: transforming JHOVE output to DocMD
Nov 28 11:18:38 fclnx30 Describe[6209]: ERROR describe.darchive.fcla.edu: running into exception running into exception NoMethodError 'undefined method `content' fo
r nil:NilClass' while processing 47 bytes of input while processing sip-files/Dissertation_B_Bodmann.pdf
Nov 28 11:18:38 fclnx30 Describe[6209]: ERROR describe.darchive.fcla.edu: /opt/web-services/sites/describe/current/lib/format/formatbase.rb:76:in `extract' /opt/web
-services/sites/describe/current/lib/RJhove.rb:60:in `send' /opt/web-services/sites/describe/current/lib/RJhove.rb:60:in `extractAll' /opt/web-services/sites/descri
be/current/lib/RJhove.rb:50:in `each' /opt/web-services/sites/describe/current/lib/RJhove.rb:50:in `extractAll' ./describe.rb:234:in `description' ./describe.rb:164
:in `GET /describe' /opt/web-services/sites/describe/shared/bundle/ruby/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1151:in `call' /opt/web-services/sites/describe/s
hared/bundle/ruby/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1151:in `compile!' /opt/web-services/sites/describe/shared/bundle/ruby/1.8/gems/sinatra-1.2.6/lib/sinat
ra/base.rb:724:in `instance_eval' /opt/web-services/sites/describe/shared/bundle/ruby/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `route_eval' /opt/web-servic
es/sites/describe/shared/bundle/ruby/1.8/
Nov 28 11:18:38 fclnx30 Describe[6209]: INFO describe.darchive.fcla.edu: Rack: 127.0.0.1 - - [28/Nov/2011 11:18:38] "GET /describe HTTP/1.1" 500 5183 1.1457

The stacktrace from the snafu:

Mon Nov 28 11:26:07 -0500 2011
message

500 "Internal Server Error"

trace

/opt/ruby-1.8.7-p352/lib/ruby/1.8/net/http.rb:2105:in `error!'
/opt/web-services/sites/core/releases/20111121170438/lib/daitss/proc/datafile/describe.rb:125:in `ask_description_service'
/opt/web-services/sites/core/releases/20111121170438/lib/daitss/proc/datafile/describe.rb:16:in `describe!'
/opt/web-services/sites/core/releases/20111121170438/lib/daitss/proc/wip/preserve.rb:21:in `preserve'
/opt/web-services/sites/core/releases/20111121170438/lib/daitss/proc/wip/journal.rb:16:in `step'
/opt/web-services/sites/core/releases/20111121170438/lib/daitss/proc/wip/preserve.rb:20:in `preserve'
/opt/web-services/sites/core/releases/20111121170438/lib/daitss/proc/wip/preserve.rb:18:in `each'
/opt/web-services/sites/core/releases/20111121170438/lib/daitss/proc/wip/preserve.rb:18:in `preserve'
/opt/web-services/sites/core/releases/20111121170438/lib/daitss/proc/wip/d1_refresh.rb:18:in `d1refresh'
/opt/web-services/sites/core/releases/20111121170438/lib/daitss/proc/wip/process.rb:82:in `send'
/opt/web-services/sites/core/releases/20111121170438/lib/daitss/proc/wip/process.rb:82:in `spawn'
/opt/web-services/sites/core/releases/20111121170438/lib/daitss/proc/wip/process.rb:66:in `fork'
/opt/web-services/sites/core/releases/20111121170438/lib/daitss/proc/wip/process.rb:66:in `spawn'
./bin/pulse:161:in `start_wips'
./bin/pulse:158:in `each'
./bin/pulse:158:in `start_wips'
./bin/pulse:188
./bin/pulse:186:in `loop'
./bin/pulse:186