chenejac / VIVOTestMigration

0 stars 0 forks source link

VIVO-1967: Erros in logs when opening individual page #1850

Closed chenejac closed 3 years ago

chenejac commented 3 years ago

Georgy Litvinov (Migrated from VIVO-1967) said:

Errors appear when person page is viewed.

Affects 1.12 alpha

chenejac commented 3 years ago

Benjamin Gross said:

Interesting error message...

2021-03-01 09:59:39,018 ERROR [IndividualResponseBuilder] Data retrieval for individual lead to error java.lang.UnsupportedOperationException: Can we ignore this? at edu.cornell.mannlib.vitro.webapp.rdfservice.filter.FilteredResultSet.nextBinding(FilteredResultSet.java:56)
....

Being thrown from here:

[https://github.com/vivo-project/Vitro/blob/936305be2a6a5bbb63381561e241997d9cbcc261/api/src/main/java/edu/cornell/mannlib/vitro/webapp/rdfservice/filter/FilteredResultSet.java#L55]

 

chenejac commented 3 years ago

Georgy Litvinov said:

SPARQL data query at edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter.doQueryOnRDFService(SparqlQueryDataGetter.java:193

PREFIX obo: http://purl.obolibrary.org/obo/ PREFIX vcard: http://www.w3.org/2006/vcard/ns# SELECT DISTINCT ?vIndividual WHERE { http://vivo.mydomain.edu/individual/n6708 obo:ARG_2000028 ?vIndividual .

?vIndividual vcard:hasName ?vName .

?vName vcard:givenName ?firstName .

?vName vcard:familyName ?lastName .

}

 

 

chenejac commented 3 years ago

Brian Lowe said:

Vitro pull request: https://github.com/vivo-project/Vitro/pull/215

chenejac commented 3 years ago

Georgy Litvinov said:

With PR215, no errors appear in the logs.