ROSConnection.cs:854

Abierto
#412 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
20/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
csharp, unity
Área
networking

Línea de trabajo

Start with Runtime/TcpConnector/RosTopicState.cs around line 260, then trace the callback from ROSConnection.cs around lines 531, 796, and 854. Reproduce the reported connection attempt if possible and inspect the null state at connection establishment. Done means the connection no longer fails with the reported NullReferenceException.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Describe the bug
connection fails

Console logs / stack traces
Connection to 172.23.24.185:10000 failed - System.NullReferenceException: Object reference not set to an instance of an object
  at Unity.Robotics.ROSTCPConnector.RosTopicState.OnConnectionEstablished (System.Net.Sockets.NetworkStream stream) [0x0005d] in C:\Users\MXH\test_objects_uav_1218\Library\PackageCache\com.unity.robotics.ros-tcp-connector@c27f00c6cf\Runtime\TcpConnector\RosTopicState.cs:260 
  at Unity.Robotics.ROSTCPConnector.ROSConnection.OnConnectionStartedCallback (System.Net.Sockets.NetworkStream stream) [0x00041] in C:\Users\MXH\test_objects_uav_1218\Library\PackageCache\com.unity.robotics.ros-tcp-connector@c27f00c6cf\Runtime\TcpConnector\ROSConnection.cs:531 
  at Unity.Robotics.ROSTCPConnector.ROSConnection+d__115.MoveNext () [0x0010c] in C:\Users\MXH\test_objects_uav_1218\Library\PackageCache\com.unity.robotics.ros-tcp-connector@c27f00c6cf\Runtime\TcpConnector\ROSConnection.cs:796 
UnityEngine.Debug:Log (object)
Unity.Robotics.ROSTCPConnector.ROSConnection/d__115:MoveNext () (at C:/Users/MXH/test_objects_uav_1218/Library/PackageCache/com.unity.robotics.ros-tcp-connector@c27f00c6cf/Runtime/TcpConnector/ROSConnection.cs:854)
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

Environment (please complete the following information, where applicable):

  • Unity Version: [e.g. Unity 2020.3.48f1c1]
Lenguaje dominante
C#
Estrellas
2.6k
Forks
473
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Unity-Technologies/Unity-Robotics-Hub

Todos los issues de Unity-Technologies/Unity-Robotics-Hub

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.