-
-
Notifications
You must be signed in to change notification settings - Fork 162
Open
Description
Stack trace:
[WARN] Error processing request: [NoMethodError] undefined method `start_with?' for nil:NilClass
[WARN] /home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/api_map.rb:375:in `get_methods'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/api_map.rb:517:in `get_method_stack'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/source/chain/call.rb:61:in `block in resolve'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/complex_type/type_methods.rb:219:in `each_unique_type'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/complex_type.rb:98:in `block in each_unique_type'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/complex_type.rb:97:in `each'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/complex_type.rb:97:in `each_unique_type'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/source/chain/call.rb:59:in `each'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/source/chain/call.rb:59:in `flat_map'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/source/chain/call.rb:59:in `resolve'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/source/chain.rb:132:in `define'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/source_map/clip.rb:22:in `define'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/library.rb:197:in `block in definitions_at'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/library.rb:195:in `synchronize'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/library.rb:195:in `definitions_at'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/library.rb:258:in `block (2 levels) in references_from'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/library.rb:257:in `select!'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/library.rb:257:in `block in references_from'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/library.rb:255:in `each'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/library.rb:255:in `references_from'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/language_server/host.rb:583:in `references_from'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/language_server/message/text_document/document_highlight.rb:6:in `process'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/language_server/host.rb:104:in `receive'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/language_server/host/message_worker.rb:69:in `tick'
/home/phillipdavis/.rvm/gems/ruby-3.2.8/gems/solargraph-0.57.0/lib/solargraph/language_server/host/message_worker.rb:59:in `block in start'
Happened on this line of code, where self
is a module:
}.register(self).then(&CommandList.method(:register))
But also, it happened right on startup, so possible that the code under cursor is irrelevant.
Metadata
Metadata
Assignees
Labels
No labels