Thanks, this was a glitch in the comparison code with xsd:decimal sh:order values. This will be fixed in 5.5.

Holger


On 3/12/2017 6:01, Bohms, H.M. (Michel) wrote:

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….

        

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

        

T +31888663107
M +31630381220
E [email protected] <mailto:[email protected]>

        

Location <https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=%213m1%214b1%214m5%213m4%211s0x47c5b58c52869997:0x56681566be3b8c88%218m2%213d52.000788%214d4.376707>

<http://www.tno.nl/>

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.


*From:*[email protected] [mailto:[email protected]] *On Behalf Of *Bohms, H.M. (Michel)
*Sent:* Saturday, December 2, 2017 8:50 PM
*To:* [email protected]
*Subject:* [topbraid-users] evn error in search widget

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

Haven’t 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

        

T +31888663107
M +31630381220
E [email protected] <mailto:[email protected]>

        

Location <https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=%213m1%214b1%214m5%213m4%211s0x47c5b58c52869997:0x56681566be3b8c88%218m2%213d52.000788%214d4.376707>

<http://www.tno.nl/>

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.


--
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] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
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] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

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

Reply via email to