java.lang.NullPointerException: getSurface(...) must not be null
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 18/100
Línea de trabajo
The crash comes from the null check on the surface passed into GenericFromFile, which is built from an OpenGlView added to a parent view at runtime. Start with how GenericFromFile receives and validates that surface, then check when the OpenGlView's surface is actually created and whether it can be null at that moment. Done would mean the file push no longer crashes when the view is not yet ready. This needs Android view lifecycle knowledge and the thread has no agreed fix, so treat it as a hard first issue.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
When I use GenericFromFile and push local files, I get
java.lang.NullPointerException: getSurface(...) must not be null
I can confirm that I have implemented the method according to the steps in the document,
surfaceView = OpenGlView(context!!)
bindingFloatWindow?.frameSurfaceView?.addView(surfaceView)
genericFromFile = GenericFromFile(openGlView, this, this, this)
It sometimes works, but sometimes it doesn't, and the above error will appear
- Lenguaje dominante
- Kotlin
- Estrellas
- 3k
- Forks
- 946
- Merge medio
- 5 d 1 h
- PR fusionados (30 d)
- 6
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de pedroSG94/RootEncoder
-
Scheme-less stream URLs throw NullPointerException instead of URISyntaxExceptionPosiblemente ocupada @blihio la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
pedroSG94/RootEncoder#2218 ·
Los mantenedores suelen responder en 3 días
-
Nullable GIF input causes NullPointerException in GifStreamObject.loadPosiblemente ocupada @blihio la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
pedroSG94/RootEncoder#2216 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
pedroSG94/RootEncoder#2213 ·
Los mantenedores suelen responder en 3 días
-
WHIP client can't connect to `a=ice-lite` + `a=setup:passive` servers (e.g. Cloudflare Stream)Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 43/100
pedroSG94/RootEncoder#2220 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
pedroSG94/RootEncoder#2207 · 1 reacción ·
Los mantenedores suelen responder en 3 días
Todos los issues de pedroSG94/RootEncoder
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
openbase/planetsudo.engine#107 ·
Los mantenedores suelen responder en 1 día
-
native-cpu: -Wreturn-type in skainet_row_threads.c:150 (worker fn has no return)Posiblemente ocupada @Doomguy-BFG9000 la tomó hoy. Abiertogood first issue size:xs skill:native
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
SKaiNET-developers/SKaiNET#1358 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
IBRAHIMDANS/i18nSupportPlus#577 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
PostHog/posthog-kmp#100 ·
Los mantenedores suelen responder en 2 días
-
Toronto time zone missingAbiertofeature request needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
FossifyOrg/Clock#521 ·
Los mantenedores suelen responder en 1 día