Question for 3D refinement

Hello, I am using the bisection module in my 3D AMR test. I have encounter the following error:


NgException Traceback (most recent call last)
Cell In[112], line 30
28 while errUH1>0.001 and Iter<4 and DoF_i<1E6:
29 Iter += 1
—> 30 mesh.Refine()
32 SolveBVP()
33 CalcError()

NgException: vi0 not found

The output shows:
Mesh bisection
Bisection done
p0 not found
i = 2678
newest_vertex = 2
trig_creation_verts[i] = 306 47 584 763
pnodes = 49 119

Could you please let me know what should I do in order to perform the refinement correctly? Thank you!