ckan / ckan/ckanext-spatial

java.lang.NumberFormatException: Invalid shift value in prefixCoded string (is encoded value really an INT?

Open
#222 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
XSLT
Stars
136
Forks
207
PR merge metrics
No merged PRs in 30d

Description

Using Jetty9 and newest Solr Version which is included in Ubuntu 18.04
When I search for a Dataset via the MapWidget i get this Error:

> java.lang.NumberFormatException: Invalid shift value in prefixCoded string (is encoded value really an INT?

> INFO: [] webapp=/solr path=/select/ params={mm=2<-1+5<80%25&facet.field=organization&facet.field=groups&facet.field=tags&facet.field=res_format&facet.field=license_id&bf=div(mul(mul(max(0,sub(min(23.90625,maxx),max(1.40625,minx))),max(0,sub(min(58.8137417157,maxy),max(35.4606699515,miny)))),2),add(525.444114695,mul(sub(maxy,miny),sub(maxx,minx))))&fl=id+validated_data_dict&start=0&sort=score+desc,+metadata_modified+desc&fq=&fq={!frange+incl%3Dfalse+l%3D0+u%3D1}div(mul(mul(max(0,sub(min(23.90625,maxx),max(1.40625,minx))),max(0,sub(min(58.8137417157,maxy),max(35.4606699515,miny)))),2),add(525.444114695,mul(sub(maxy,miny),sub(maxx,minx))))&fq=%2Bsite_id:"default"&fq=%2Bstate:active&rows=21&fq_list={!frange+incl%3Dfalse+l%3D0+u%3D1}div(mul(mul(max(0,sub(min(23.90625,maxx),max(1.40625,minx))),max(0,sub(min(58.8137417157,maxy),max(35.4606699515,miny)))),2),add(525.444114695,mul(sub(maxy,miny),sub(maxx,minx))))&facet.limit=50&q=*:*&tie=0.1&defType=edismax&qf=name^4+title^4+tags^2+groups^2+text&facet.mincount=1&wt=json&facet=true} status=500 QTime=9

Contributor guide

No contributing guide indexed for this repository

Research direction

Begin with the MapWidget search request and the logged /select parameters; reproduce the failure with the reported Jetty 9 and Solr versions. Trace which field or query component produces the invalid prefix-coded value, then document a verified fix or compatibility requirement and confirm the request no longer returns status 500.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.