CMDBuild Forum

Error on sorting subtypes

When I try to sort on Subtype i get the following error:
“org.cmdbuild.dao.DaoException: error processing query ordering = [{“property”:”_type",“direction”:“ASC”}], caused by: java.lang.NullPointerException: select element not found for name =< _type >"

Is this a bug in CMDBuild 3.2?

Hi, to be sure I understand your issue, are you trying to reorder a list of cards from a superclass via UI by clicking on the column “Subtype” and that error is generated? Or are you manually performing a rest request with the query parameter?

Yes, I’m trying to reorder a list of cards from a superclass via UI by clicking on the column “Subtype”.

Hi, okay I can confirm that it’s a known bug of the version 3.2 of CMDBuild, in the 3.2.1 version (available on sourceforge) this issue has already been solved, thanks for the report.

1 Like

Thanks. Update time, then :grinning: