Closed desb42 closed 4 years ago
Cool. Instructions look simple enough.
I'm working on the Wikidata Lexeme issue #771 , but will add this to In Progress queue.
Thanks!
Fixed with the commit above. No tests, but changes are simple enough. Thanks again for the outline!
Over time, some entries in www.wikidata.org have been deleted, but references to them remain
Examples are: Q50
www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples
and P5660fr.wikipedia.org/wiki/Wikipédia:Ateliers_Bases/Recherche
These references, when referred to cause NullPointerException
I have identified two places where a reference is expected but not handled if it does not exist
400_xowa\src\gplx\xowa\mediawiki\extensions\Wikibase\client\includes\dataAccess\scribunto\Wbase_entity_accessor.java Line 36 checks for an entity (or null) Line 55 tries to use this entity - but its null and blows up Adding at line 42
stops the error
similarly 400_xowa\src\gplx\xowa\mediawiki\extensions\Wikibase\lib\includes\Store\XomwEntityRetrievingTermLookup.java Line 26 checks for an entity (or null) Line 27 tries to use this entity - but its null and blows up Adding at line 27
stops the error