{"action":"created","issue":{"url":"https://api.github.com/repos/projecthydra/sufia/issues/1972","repository_url":"https://api.github.com/repos/projecthydra/sufia","labels_url":"https://api.github.com/repos/projecthydra/sufia/issues/1972/labels{/name}","comments_url":"https://api.github.com/repos/projecthydra/sufia/issues/1972/comments","events_url":"https://api.github.com/repos/projecthydra/sufia/issues/1972/events","html_url":"https://github.com/projecthydra/sufia/issues/1972","id":153091141,"number":1972,"title":"Clicking on creator causes 500 internal server error","user":{"login":"relaxing","id":885475,"avatar_url":"https://avatars.githubusercontent.com/u/885475?v=3","gravatar_id":"","url":"https://api.github.com/users/relaxing","html_url":"https://github.com/relaxing","followers_url":"https://api.github.com/users/relaxing/followers","following_url":"https://api.github.com/users/relaxing/following{/other_user}","gists_url":"https://api.github.com/users/relaxing/gists{/gist_id}","starred_url":"https://api.github.com/users/relaxing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relaxing/subscriptions","organizations_url":"https://api.github.com/users/relaxing/orgs","repos_url":"https://api.github.com/users/relaxing/repos","events_url":"https://api.github.com/users/relaxing/events{/privacy}","received_events_url":"https://api.github.com/users/relaxing/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/projecthydra/sufia/labels/bug","name":"bug","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/projecthydra/sufia/milestones/11","html_url":"https://github.com/projecthydra/sufia/milestones/7.0.0","labels_url":"https://api.github.com/repos/projecthydra/sufia/milestones/11/labels","id":1459995,"number":11,"title":"7.0.0","description":"","creator":{"login":"mjgiarlo","id":131982,"avatar_url":"https://avatars.githubusercontent.com/u/131982?v=3","gravatar_id":"","url":"https://api.github.com/users/mjgiarlo","html_url":"https://github.com/mjgiarlo","followers_url":"https://api.github.com/users/mjgiarlo/followers","following_url":"https://api.github.com/users/mjgiarlo/following{/other_user}","gists_url":"https://api.github.com/users/mjgiarlo/gists{/gist_id}","starred_url":"https://api.github.com/users/mjgiarlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjgiarlo/subscriptions","organizations_url":"https://api.github.com/users/mjgiarlo/orgs","repos_url":"https://api.github.com/users/mjgiarlo/repos","events_url":"https://api.github.com/users/mjgiarlo/events{/privacy}","received_events_url":"https://api.github.com/users/mjgiarlo/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":145,"state":"open","created_at":"2015-12-14T19:17:36Z","updated_at":"2016-05-05T03:05:41Z","due_on":"2016-05-14T07:00:00Z","closed_at":null},"comments":0,"created_at":"2016-05-04T19:08:12Z","updated_at":"2016-05-05T03:27:12Z","closed_at":null,"body":"### Descriptive summary\r\n\r\nSufia HEAD commit 224101238189fbbf1ac5eb133c78f19d163eeae1\r\n\r\nSolr parameters: {\"facet.field\"=>[\"resource_type_sim\", \"creator_sim\", \"tag_sim\", \"subject_sim\", \"language_sim\", \"based_near_sim\", \"publisher_sim\", \"file_format_sim\"], \"facet.query\"=>[], \"facet.pivot\"=>[], \"fq\"=>[\"edit_access_group_ssim:public OR discover_access_group_ssim:public OR read_access_group_ssim:public OR edit_access_group_ssim:registered OR discover_access_group_ssim:registered OR read_access_group_ssim:registered OR edit_access_person_ssim:a@b.net OR discover_access_person_ssim:a@b.net OR read_access_person_ssim:a@b.net\", \"(_query_:\\\"{!field f=has_model_ssim}GenericWork\\\" OR _query_:\\\"{!field f=has_model_ssim}Collection\\\")\", \"edit_access_group_ssim:public OR discover_access_group_ssim:public OR read_access_group_ssim:public OR edit_access_group_ssim:registered OR discover_access_group_ssim:registered OR read_access_group_ssim:registered OR edit_access_person_ssim:a@b.net OR discover_access_person_ssim:a@b.net OR read_access_person_ssim:a@b.net\"], \"hl.fl\"=>[], \"qt\"=>\"search\", \"rows\"=>10, \"qf\"=>\"title_tesim name_tesim\", \"spellcheck.dictionary\"=>\"creator\", \"q\"=>\"{!qf=creator_tesim pf=creator_tesim}asdfsdfa\", \"spellcheck.q\"=>\"asdfsdfa\", \"facet\"=>true, \"f.resource_type_sim.facet.limit\"=>6, \"f.creator_sim.facet.limit\"=>6, \"f.tag_sim.facet.limit\"=>6, \"f.subject_sim.facet.limit\"=>6, \"f.language_sim.facet.limit\"=>6, \"f.based_near_sim.facet.limit\"=>6, \"f.publisher_sim.facet.limit\"=>6, \"f.file_format_sim.facet.limit\"=>6, \"sort\"=>\"score desc, system_create_dtsi desc\"}\r\nCompleted 500 Internal Server Error in 34ms (ActiveRecord: 0.9ms)\r\n\r\nBlacklight::Exceptions::InvalidRequest - RSolr::Error::Http - 500 Internal Server Error\r\nError: {'responseHeader'=>{'status'=>500,'QTime'=>11,'params'=>{'facet.field'=>['resource_type_sim','creator_sim','tag_sim','subject_sim','language_sim','based_near_sim','publisher_sim','file_format_sim'],'qt'=>'search','spellcheck.dictionary'=>'creator','user_query'=>'{!qf=creator_tesim pf=creator_tesim}asdfsdfa','f.language_sim.facet.limit'=>'6','f.file_format_sim.facet.limit'=>'6','f.based_near_sim.facet.limit'=>'6','f.publisher_sim.facet.limit'=>'6','fq'=>['edit_access_group_ssim:public OR discover_access_group_ssim:public OR read_access_group_ssim:public OR edit_access_group_ssim:registered OR discover_access_group_ssim:registered OR read_access_group_ssim:registered OR edit_access_person_ssim:a@b.net OR discover_access_person_ssim:a@b.net OR read_access_person_ssim:a@b.net','(_query_:\"{!field f=has_model_ssim}GenericWork\" OR _query_:\"{!field f=has_model_ssim}Collection\")','edit_access_group_ssim:public OR discover_access_group_ssim:public OR read_access_group_ssim:public OR edit_access_group_ssim:registered OR discover_access_group_ssim:registered OR read_access_group_ssim:registered OR edit_access_person_ssim:a@b.net OR discover_access_person_ssim:a@b.net OR read_access_person_ssim:a@b.net'],'f.resource_type_sim.facet.limit'=>'6','sort'=>'score desc, system_create_dtsi desc','rows'=>'10','f.creator_sim.facet.limit'=>'6','f.tag_sim.facet.limit'=>'6','q'=>'{!lucene}_query_:\"{!dismax v=$user_query}\" _query_:\"{!join from=id to=file_set_ids_ssim}{!dismax v=$user_query}\"','spellcheck.q'=>'asdfsdfa','defType'=>'dismax','qf'=>'title_tesim name_tesim','wt'=>'ruby','facet'=>'true','f.subject_sim.facet.limit'=>'6'}},'response'=>{'numFound'=>0,'start'=>0,'maxScore'=>0.0,'docs'=>[]},'facet_counts'=>{'facet_queries'=>{},'facet_fields'=>{'resource_type_sim'=>[],'creator_sim'=>[],'tag_sim'=>[],'subject_sim'=>[],'language_sim'=>[],'based_near_sim'=>[],'publisher_sim'=>[],'file_format_sim'=>[]},'facet_ranges'=>{},'facet_intervals'=>{},'facet_heatmaps'=>{}},'error'=>{'trace'=>'java.lang.NullPointerException\r\n\tat org.apache.solr.handler.component.SpellCheckComponent.process(SpellCheckComponent.java:153)\r\n\tat org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:287)\r\n\tat org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:155)\r\n\tat org.apache.solr.core.SolrCore.execute(SolrCore.java:2033)\r\n\tat org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:652)\r\n\tat org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:460)\r\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:229)\r\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:184)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)\r\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)\r\n\r\n### Expected behavior\r\n\r\n### Actual behavior\r\n\r\n### Steps to reproduce the behavior\r\n\r\n1. From the works show page\r\n2. Click \"creator\" from the Metadata table\r\n\r\n\r\n### Related work\r\n\r\nLink to related tickets or prior related work here.\r\n"},"comment":{"url":"https://api.github.com/repos/projecthydra/sufia/issues/comments/217069814","html_url":"https://github.com/projecthydra/sufia/issues/1972#issuecomment-217069814","issue_url":"https://api.github.com/repos/projecthydra/sufia/issues/1972","id":217069814,"user":{"login":"mjgiarlo","id":131982,"avatar_url":"https://avatars.githubusercontent.com/u/131982?v=3","gravatar_id":"","url":"https://api.github.com/users/mjgiarlo","html_url":"https://github.com/mjgiarlo","followers_url":"https://api.github.com/users/mjgiarlo/followers","following_url":"https://api.github.com/users/mjgiarlo/following{/other_user}","gists_url":"https://api.github.com/users/mjgiarlo/gists{/gist_id}","starred_url":"https://api.github.com/users/mjgiarlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjgiarlo/subscriptions","organizations_url":"https://api.github.com/users/mjgiarlo/orgs","repos_url":"https://api.github.com/users/mjgiarlo/repos","events_url":"https://api.github.com/users/mjgiarlo/events{/privacy}","received_events_url":"https://api.github.com/users/mjgiarlo/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T03:27:12Z","updated_at":"2016-05-05T03:27:12Z","body":"The link to creators looks like this in the works show page: `/catalog?q=Prof.+Bootsy+Collins&search_field=creator`\r\n\r\n`/catalog?f%5Bcreator_sim%5D%5B%5D=Prof.+Bootsy+Collins`\r\n\r\n\r\n```\r\nSolr parameters: {\"facet.field\"=>[\"human_readable_type_sim\", \"resource_type_sim\", \"creator_sim\", \"tag_sim\", \"subject_sim\", \"language_sim\", \"based_near\r\n_sim\", \"publisher_sim\", \"file_format_sim\"], \"facet.query\"=>[], \"facet.pivot\"=>[], \"fq\"=>[\"edit_access_group_ssim:public OR discover_access_group_ssim:\r\npublic OR read_access_group_ssim:public OR edit_access_group_ssim:registered OR discover_access_group_ssim:registered OR read_access_group_ssim:regist\r\nered OR edit_access_person_ssim:mjgiarlo@stanford.edu OR discover_access_person_ssim:mjgiarlo@stanford.edu OR read_access_person_ssim:mjgiarlo@stanfor\r\nd.edu\"], \"hl.fl\"=>[], \"qt\"=>\"search\", \"rows\"=>10, \"qf\"=>\"title_tesim name_tesim\", \"spellcheck.dictionary\"=>\"creator\", \"q\"=>\"{!qf=creator_tesim pf=crea\r\ntor_tesim}Prof. Bootsy Collins\", \"spellcheck.q\"=>\"Prof. Bootsy Collins\", \"facet\"=>true, \"f.resource_type_sim.facet.limit\"=>6, \"f.creator_sim.facet.lim\r\nit\"=>6, \"f.tag_sim.facet.limit\"=>6, \"f.subject_sim.facet.limit\"=>6, \"f.language_sim.facet.limit\"=>6, \"f.based_near_sim.facet.limit\"=>6, \"f.publisher_s\r\nim.facet.limit\"=>6, \"f.file_format_sim.facet.limit\"=>6, \"sort\"=>\"score desc, system_create_dtsi desc\"}\r\nSolr parameters: {\"facet.field\"=>[\"human_readable_type_sim\", \"resource_type_sim\", \"creator_sim\", \"tag_sim\", \"subject_sim\", \"language_sim\", \"based_near\r\n_sim\", \"publisher_sim\", \"file_format_sim\"], \"facet.query\"=>[], \"facet.pivot\"=>[], \"fq\"=>[\"edit_access_group_ssim:public OR discover_access_group_ssim:\r\npublic OR read_access_group_ssim:public OR edit_access_group_ssim:registered OR discover_access_group_ssim:registered OR read_access_group_ssim:regist\r\nered OR edit_access_person_ssim:mjgiarlo@stanford.edu OR discover_access_person_ssim:mjgiarlo@stanford.edu OR read_access_person_ssim:mjgiarlo@stanfor\r\nd.edu\", \"(_query_:\\\"{!field f=has_model_ssim}GenericWork\\\" OR _query_:\\\"{!field f=has_model_ssim}Collection\\\")\", \"edit_access_group_ssim:public OR dis\r\ncover_access_group_ssim:public OR read_access_group_ssim:public OR edit_access_group_ssim:registered OR discover_access_group_ssim:registered OR read_\r\naccess_group_ssim:registered OR edit_access_person_ssim:mjgiarlo@stanford.edu OR discover_access_person_ssim:mjgiarlo@stanford.edu OR read_access_pers\r\non_ssim:mjgiarlo@stanford.edu\"], \"hl.fl\"=>[], \"qt\"=>\"search\", \"rows\"=>10, \"qf\"=>\"title_tesim name_tesim\", \"spellcheck.dictionary\"=>\"creator\", \"q\"=>\"{!\r\nqf=creator_tesim pf=creator_tesim}Prof. Bootsy Collins\", \"spellcheck.q\"=>\"Prof. Bootsy Collins\", \"facet\"=>true, \"f.resource_type_sim.facet.limit\"=>6, \r\n\"f.creator_sim.facet.limit\"=>6, \"f.tag_sim.facet.limit\"=>6, \"f.subject_sim.facet.limit\"=>6, \"f.language_sim.facet.limit\"=>6, \"f.based_near_sim.facet.l\r\nimit\"=>6, \"f.publisher_sim.facet.limit\"=>6, \"f.file_format_sim.facet.limit\"=>6, \"sort\"=>\"score desc, system_create_dtsi desc\"}\r\nCompleted 500 Internal Server Error in 235ms (ActiveRecord: 23.1ms)\r\n\r\nBlacklight::Exceptions::InvalidRequest - RSolr::Error::Http - 500 Internal Server Error\r\nError: {'responseHeader'=>{'status'=>500,'QTime'=>20,'params'=>{'facet.field'=>['human_readable_type_sim','resource_type_sim','creator_sim','tag_sim',\r\n'subject_sim','language_sim','based_near_sim','publisher_sim','file_format_sim'],'qt'=>'search','spellcheck.dictionary'=>'creator','user_query'=>'{!qf\r\n=creator_tesim pf=creator_tesim}Prof. Bootsy Collins','f.language_sim.facet.limit'=>'6','f.file_format_sim.facet.limit'=>'6','f.based_near_sim.facet.l\r\nimit'=>'6','f.publisher_sim.facet.limit'=>'6','fq'=>['edit_access_group_ssim:public OR discover_access_group_ssim:public OR read_access_group_ssim:pub\r\nlic OR edit_access_group_ssim:registered OR discover_access_group_ssim:registered OR read_access_group_ssim:registered OR edit_access_person_ssim:mjgi\r\narlo@stanford.edu OR discover_access_person_ssim:mjgiarlo@stanford.edu OR read_access_person_ssim:mjgiarlo@stanford.edu','(_query_:\"{!field f=has_mode\r\nl_ssim}GenericWork\" OR _query_:\"{!field f=has_model_ssim}Collection\")','edit_access_group_ssim:public OR discover_access_group_ssim:public OR read_acc\r\ness_group_ssim:public OR edit_access_group_ssim:registered OR discover_access_group_ssim:registered OR read_access_group_ssim:registered OR edit_acces\r\ns_person_ssim:mjgiarlo@stanford.edu OR discover_access_person_ssim:mjgiarlo@stanford.edu OR read_access_person_ssim:mjgiarlo@stanford.edu'],'f.resourc\r\ne_type_sim.facet.limit'=>'6','sort'=>'score desc, system_create_dtsi desc','rows'=>'10','f.creator_sim.facet.limit'=>'6','f.tag_sim.facet.limit'=>'6',\r\n'q'=>'{!lucene}_query_:\"{!dismax v=$user_query}\" _query_:\"{!join from=id to=file_set_ids_ssim}{!dismax v=$user_query}\"','spellcheck.q'=>'Prof. Bootsy \r\nCollins','defType'=>'dismax','qf'=>'title_tesim name_tesim','wt'=>'ruby','facet'=>'true','f.subject_sim.facet.limit'=>'6'}},'response'=>{'numFound'=>0\r\n,'start'=>0,'maxScore'=>0.0,'docs'=>[]},'facet_counts'=>{'facet_queries'=>{},'facet_fields'=>{'human_readable_type_sim'=>[],'resource_type_sim'=>[],'c\r\nreator_sim'=>[],'tag_sim'=>[],'subject_sim'=>[],'language_sim'=>[],'based_near_sim'=>[],'publisher_sim'=>[],'file_format_sim'=>[]},'facet_ranges'=>{},\r\n'facet_intervals'=>{},'facet_heatmaps'=>{}},'error'=>{'trace'=>'java.lang.NullPointerException\r\n        at org.apache.solr.handler.component.SpellCheckComponent.process(SpellCheckComponent.java:153)\r\n        at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:287)\r\n        at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:155)\r\n        at org.apache.solr.core.SolrCore.execute(SolrCore.java:2033)\r\n        at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:652)\r\n        at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:460)\r\n        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:229)\r\n        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:184)\r\n        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)\r\n        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)\r\n\r\nURI: http://127.0.0.1:8983/solr/hydra-development/select?wt=ruby&qt=search&facet.field=human_readable_type_sim&facet.field=resource_type_sim&facet.fie\r\nld=creator_sim&facet.field=tag_sim&facet.field=subject_sim&facet.field=language_sim&facet.field=based_near_sim&facet.field=publisher_sim&facet.field=f\r\nile_format_sim&&&fq=edit_access_group_ssim%3Apublic+OR+discover_access_group_ssim%3Apublic+OR+read_access_group_ssim%3Apublic+OR+edit_access_group_ssi\r\nm%3Aregistered+OR+discover_access_group_ssim%3Aregistered+OR+read_access_group_ssim%3Aregistered+OR+edit_access_person_ssim%3Amjgiarlo%40stanford.edu+\r\nOR+discover_access_person_ssim%3Amjgiarlo%40stanford.edu+OR+read_access_person_ssim%3Amjgiarlo%40stanford.edu&fq=%28_query_%3A%22%7B%21field+f%3Dhas_m\r\nodel_ssim%7DGenericWork%22+OR+_query_%3A%22%7B%21field+f%3Dhas_model_ssim%7DCollection%22%29&fq=edit_access_group_ssim%3Apublic+OR+discover_access_gro\r\nup_ssim%3Apublic+OR+read_access_group_ssim%3Apublic+OR+edit_access_group_ssim%3Aregistered+OR+discover_access_group_ssim%3Aregistered+OR+read_access_g\r\nroup_ssim%3Aregistered+OR+edit_access_person_ssim%3Amjgiarlo%40stanford.edu+OR+discover_access_person_ssim%3Amjgiarlo%40stanford.edu+OR+read_access_pe\r\nrson_ssim%3Amjgiarlo%40stanford.edu&&rows=10&qf=title_tesim+name_tesim&spellcheck.dictionary=creator&q=%7B%21lucene%7D_query_%3A%22%7B%21dismax+v%3D%2\r\n4user_query%7D%22+_query_%3A%22%7B%21join+from%3Did+to%3Dfile_set_ids_ssim%7D%7B%21dismax+v%3D%24user_query%7D%22&spellcheck.q=Prof.+Bootsy+Collins&fa\r\ncet=true&f.resource_type_sim.facet.limit=6&f.creator_sim.facet.limit=6&f.tag_sim.facet.limit=6&f.subject_sim.facet.limit=6&f.language_sim.facet.limit=\r\n6&f.based_near_sim.facet.limit=6&f.publisher_sim.facet.limit=6&f.file_format_sim.facet.limit=6&sort=score+desc%2C+system_create_dtsi+desc&defType=dism\r\nax&user_query=%7B%21qf%3Dcreator_tesim+pf%3Dcreator_tesim%7DProf.+Bootsy+Collins\r\n\r\nBacktrace: /home/mjg/.rvm/gems/ruby-2.3.1@sufia/gems/rsolr-1.1.1/lib/rsolr/client.rb:288:in `adapt_response'\r\n/home/mjg/.rvm/gems/ruby-2.3.1@sufia/gems/rsolr-1.1.1/lib/rsolr/client.rb:189:in `execute'\r\n/home/mjg/.rvm/gems/ruby-2.3.1@sufia/gems/rsolr-1.1.1/lib/rsolr/client.rb:175:in `send_and_receive'\r\n/home/mjg/.rvm/gems/ruby-2.3.1@sufia/gems/blacklight-6.1.0/lib/blacklight/solr/repository.rb:39:in `block in send_and_receive'\r\n/home/mjg/.rvm/gems/ruby-2.3.1@sufia/gems/activesupport-4.2.6/lib/active_support/benchmarkable.rb:41:in `block in benchmark'\r\n/home/mjg/.rvm/gems/ruby-2.3.1@sufia/gems/activesupport-4.2.6/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'\r\n/home/mjg/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'\r\n/home/mjg/.rvm/gems/ruby-2.3.1@sufia/gems/activesupport-4.2.6/lib/active_support/core_ext/benchmark.rb:12:in `ms'\r\n/home/mjg/.rvm/gems/ruby-2.3.1@sufia/gems/activesupport-4.2.6/lib/active_support/benchmarkable.rb:41:in `benchmark'\r\n/home/mjg/.rvm/gems/ruby-2.3.1@sufia/gems/blacklight-6.1.0/lib/blacklight/solr/repository.rb:37:in `send_and_receive'\r\n/home/mjg/.rvm/gems/ruby-2.3.1@sufia/gems/blacklight-6.1.0/lib/blacklight/solr/repository.rb:23:in `search':\r\n  blacklight (6.1.0) lib/blacklight/solr/repository.rb:50:in `rescue in send_and_receive'\r\n  blacklight (6.1.0) lib/blacklight/solr/repository.rb:37:in `send_and_receive'\r\n  blacklight (6.1.0) lib/blacklight/solr/repository.rb:23:in `search'\r\n  blacklight (6.1.0) app/controllers/concerns/blacklight/search_helper.rb:64:in `search_results'\r\n  blacklight (6.1.0) app/controllers/concerns/blacklight/catalog.rb:25:in `index'\r\n```"}}