I believe there is a bug in internal_netconn_tcp_server_socket_callback. When processing a NETCONN_EVT_RCVPLUS event and server is not NULL. it will iterate over the accept_socket array. accept_handler can be NULL at this time, however the loop does not check for that. This caused an exception when porting WICED to a new environment.