The server is sending you invalid network data which would crash the standard client, indicating a serious issue with the server. Do you see any errors in console?
Also, are you saying that you're using one type of server engine with the data pack of a different server? If so, this is likely the cause and it's (probably) not going to be easy or worth trying to fix.