Room boundaries to polycurve problem

hi,
I got this warning when try to join the boundaries.
I tried to set the tolerance of byjoinedcurves but still not work.
I got null for some boundaries.

I found that room which contains error…
is it unsolvable by not re-model the model?