Have a very simple little ontology with some shapes that all displays and 
behaves as expected in the UI for an ontology asset until I turn on 
"problems and suggestions", then some (but not all) classes throw a 
exception report on focus.

problems and suggestions on the graph claims to generate some results but 
fails to present.

digging into the underlying graphql queries if fails on the field 
"focusNode { uri label }"

with the following ("best practice" completely opaque NPE  :-)  ):

Exception while fetching data (/graphReport/profile) : null


java.lang.NullPointerException
at 
org.topbraid.shaclx.graphql.query.engine.ResultsSupport.lambda$2(ResultsSupport.java:89)
at 
graphql.execution.ExecutionStrategy.fetchField(ExecutionStrategy.java:222)

I ran SHACL validation on the shapes in TBC- no issues. 

class it fails on look like this:

:X
  a owl:Class ;
  a sh:NodeShape ;
  rdfs:comment "a comment" ;
  rdfs:isDefinedBy  : ;
  rdfs:label "A label" ;
  rdfs:subClassOf :Y;
.

where :Y is another class that looks exactly the same and doesnt have a 
problem...

The set of classes available in graphql - querying the meta-shapes includes 
all the classes.

The available classes select box  in the graphql link on the export tab has 
only one I can discover (:Z a sibling of :X) 

GraphQL allows me to search on that one but not the others 

if i hack the query 
http://localhost:8083/tbl/graphql/surveylineobs/%3AOccupationObservation 
then it seems happy to query for instances (none as expected - but no 
errors)

am i missing something obvious? 

are there other diagnostic approaches I can use?

Can we entreat as users never to be faced with  NPEs and always to indicate 
what thing raised the error.. 




-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/30861cac-3982-470d-9d0d-cef4d76f721dn%40googlegroups.com.

Reply via email to