evn error in search widget

3 views
Skip to first unread message

Bohms, H.M. (Michel)

unread,
Dec 2, 2017, 2:49:54 PM12/2/17
to topbrai...@googlegroups.com

An internal error has been reported by the SWP engine of TopBraid Live.??Summary: [java.lang.Integer cannot be cast to java.math.BigDecimal]??Details: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal?? at java.math.BigDecimal.compareTo(BigDecimal.java:220)?? at org.topbraidlive.swp.functions.swa.PredicatesInGroupPFunction$2.compare(PredicatesInGroupPFunction.java:208)?? at org.topbraidlive.swp.functions.swa.PredicatesInGroupPFunction$2.compare(PredicatesInGroupPFunction.java:1)?? at java.util.TimSort.countRunAndMakeAscending(TimSort.java:360)?? at java.util.TimSort.sort(TimSort.java:220)?? at java.util.Arrays.sort(Arrays.java:1512)?? at java.util.ArrayList.sort(ArrayList.java:1454)?? at org.topbraidlive.swp.functions.swa.PredicatesInGroupPFunction.sortPredicates(PredicatesInGroupPFunction.java:201)?? at org.topbraidlive.swp.functions.swa.PredicatesInGroupPFunction.exec(PredicatesInGroupPFunction.java:158)?? at org.apache.jena.sparql.pfunction.Pro

 

Any idea welcome,

Michel

 

Havent seen it before, only after adding shapes involving inversePath I think.

 

Did I make a mistake here? I have:

 

  sh:property [

      rdf:type sh:PropertyShape ;

      sh:path kebo:advantage ;

      sh:datatype rdf:HTML ;

      sh:group kebo:AttributesAndRelationships ;

      sh:name "advantage" ;

      sh:order "7"^^xsd:decimal ;

    ] ;

 

Another thing I adde was a decimal order (maybe related?):

 

  sh:property [

      rdf:type sh:PropertyShape ;

      sh:path kebo:externalExpertise ;

      sh:datatype rdf:HTML ;

      sh:group kebo:AttributesAndRelationships ;

      sh:name "externalExpertise" ;

      sh:order 23.1 ;

    ] ;

 

 

 

 

Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist

+31888663107
+31630381220
michel...@tno.nl

Location

 

This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.

 

 

 

 

Bohms, H.M. (Michel)

unread,
Dec 2, 2017, 3:01:42 PM12/2/17
to topbrai...@googlegroups.com

When I renumbered, loosing the order=23.1, it seems the error disappears

So I guess related to handling/comparing in search widget of decimal orders with actual decimal places.

--
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 topbraid-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Holger Knublauch

unread,
Dec 3, 2017, 10:18:26 PM12/3/17
to topbrai...@googlegroups.com
Thanks, this was a glitch in the comparison code with xsd:decimal sh:order values. This will be fixed in 5.5.

Holger
Reply all
Reply to author
Forward
0 new messages