Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

store_sync_spec fails sometimes

#2
  1)
  NoMethodError in 'Store that syncs documents in should fast-forward document if applicable'
  undefined method `[]' for nil:NilClass
  /Users/yrashk/Development/strokedb/lib/volumes/skiplist_volume.rb:95:in `read_node'
  /Users/yrashk/Development/strokedb/lib/volumes/skiplist_volume.rb:39:in `node_next'
  /Users/yrashk/Development/strokedb/lib/data_structures/simple_skiplist.rb:98:in `find_nearest_node'
  /Users/yrashk/Development/strokedb/lib/data_structures/simple_skiplist.rb:202:in `find'
  /Users/yrashk/Development/strokedb/lib/stores/file_storage.rb:16:in `find'
  /Users/yrashk/Development/strokedb/lib/stores/memory_storage.rb:16:in `find'
  /Users/yrashk/Development/strokedb/lib/stores/store.rb:20:in `find'
  /Users/yrashk/Development/strokedb/lib/document/meta.rb:229:in `find_meta_doc'
  /Users/yrashk/Development/strokedb/lib/document/meta.rb:213:in `make_document'
  /Users/yrashk/Development/strokedb/lib/document/meta.rb:198:in `document'
  /Users/yrashk/Development/strokedb/lib/document/meta.rb:196:in `map'
  /Users/yrashk/Development/strokedb/lib/document/meta.rb:196:in `document'
  /Users/yrashk/Development/strokedb/lib/document/document.rb:110:in `add_meta'
  /Users/yrashk/Development/strokedb/lib/document/document.rb:614:in `initialize_slots'
  /Users/yrashk/Development/strokedb/lib/document/document.rb:614:in `each'
  /Users/yrashk/Development/strokedb/lib/document/document.rb:614:in `initialize_slots'
  /Users/yrashk/Development/strokedb/lib/document/document.rb:598:in `do_initialize'
  /Users/yrashk/Development/strokedb/lib/document/document.rb:167:in `initialize'
  /Users/yrashk/Development/strokedb/lib/document/meta.rb:111:in `new'
  /Users/yrashk/Development/strokedb/lib/document/meta.rb:111:in `new'
  /Users/yrashk/Development/strokedb/lib/document/meta.rb:116:in `create!'
  /Users/yrashk/Development/strokedb/lib/stores/store.rb:76:in `document'
  /Users/yrashk/Development/strokedb/lib/sync/store_sync.rb:21:in `sync!'
  ./spec/sync/store_sync_spec.rb:44:

Reported by Yurii Rashkovskii · April 27th, 2008 @ 07:46 AM

State: new
Milestone: none
Assigned to: nobody

Activity

  1. Yurii Rashkovskii
    Yurii Rashkovskii

    "That appears to be a spec bug (store was not synced, and autosync was trying to sync everything on files already engaged in the next subsequent example)"

    It was fixed though it appears that it is still a problem

    April 27th, 2008 @ 07:47 AM

  2. Yurii Rashkovskii
    Yurii Rashkovskii
    • Title changed from Sometimes store_sync_spec fails (not every time) to store_sync_spec fails sometimes

    April 27th, 2008 @ 08:02 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.