BIMserver icon indicating copy to clipboard operation
BIMserver copied to clipboard

"ClassCastException" "org.bimserver.models.ifc2x3tc1.Tristate cannot be cast to java.lang.Boolean"

Open motjokk opened this issue 6 years ago • 4 comments

Issue on Bimserver v. 1.5.~~62~~ 162 request using JSON.

getting requestType: "BOOLEAN" of "Pset_SpaceCommon" Property: "HandicapAccessible" Bimserver threw "ClassCastException" "org.bimserver.models.ifc2x3tc1.Tristate cannot be cast to java.lang.Boolean"

This seems to be the same issue as #971

motjokk avatar Aug 13 '19 13:08 motjokk

You mention another issue which indeed looks like the same problem. In that issue the problem is reported to be fixed. The BIMserver version mentioned in that issue is 1.5.125 and you are using 1.5.62, don't you think it's only logical that it's not fixed in 1.5.62?

rubendel avatar Aug 13 '19 15:08 rubendel

oh, I see the mistake. I mean 1.5.162.

motjokk avatar Aug 13 '19 16:08 motjokk

This could still be a bug, but more info is needed, which API method are you calling?

rubendel avatar Nov 08 '19 15:11 rubendel

Hi,

I am calling the getBooleanAttribute method, from LowLevelInterface.

motjokk avatar Nov 09 '19 10:11 motjokk