Skip to content

Exception caught by gesture #1

@JoergSH

Description

@JoergSH

When I touch the pad Ball doesn't move I get following Problem:

D/ViewRootImpl@9bf0ff2[MainActivity](25051): ViewPostIme pointer 0

======== Exception caught by gesture ===============================================================
The following _TypeError was thrown while handling a gesture:
Null check operator used on a null value

When the exception was thrown, this was the stack: 
#0      JoystickView.build.<anonymous closure>.<anonymous closure> (package:control_pad_plus/views/joystick_view.dart:111:60)
#1      DragGestureRecognizer._checkStart.<anonymous closure> (package:flutter/src/gestures/monodrag.dart:497:53)
#2      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:275:24)
#3      DragGestureRecognizer._checkStart (package:flutter/src/gestures/monodrag.dart:497:7)
#4      DragGestureRecognizer.acceptGesture (package:flutter/src/gestures/monodrag.dart:420:7)
#5      GestureArenaManager._resolveByDefault (package:flutter/src/gestures/arena.dart:268:25)
#6      GestureArenaManager._tryToResolveArena.<anonymous closure> (package:flutter/src/gestures/arena.dart:248:31)
(elided 2 frames from dart:async)
Handler: "onStart"
Recognizer: PanGestureRecognizer#026c8
  debugOwner: GestureDetector
  start behavior: start
====================================================================================================
D/ViewRootImpl@9bf0ff2[MainActivity](25051): ViewPostIme pointer 1
I/flutter (25051): STOP

What goes wrong? I use latest Android Studio Giraffe | 2022.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions