GLSurfaceView report EGL_BAD_SURFACE error

Hello, I want to integrate OpenXR on Android platform
I use GLSurfaceView in the Java layer, GLSurfaceView have inited EGL environment in GLThread, this all in Java layer.
And I use OpenXR in native code, use eglGetCurrentContext to get EGLContext, use eglGetCurrentDisplay to get EGLDisplay, they all look fine, but when after onDrawFrame, GLSurfaceView report an EGL_BAD_SURFACE error, GLThread is blocked,draw frame only call once. can anyone help me?