AgnellusX1/TravelEX

Unable to Add Multiple Memories at once

Closed this issue · 0 comments

Unable to Add Multiple Memories at once, App needs to be restated again to do so

Logcat

The following NoSuchMethodError was thrown while handling a gesture:
The getter 'locality' was called on null.
Receiver: null
Tried calling: locality

When the exception was thrown, this was the stack: 
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1      _AddState.addAdventure (package:travel_ex/screens/add.dart:87:38)
#2      _AddState.build.<anonymous closure> (package:travel_ex/screens/add.dart:189:27)
#3      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:985:20)
#4      _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:1101:38)
...
Handler: "onTap"
Recognizer: TapGestureRecognizer#9076e
  debugOwner: GestureDetector
  state: possible
  won arena
  finalPosition: Offset(228.2, 576.7)
  finalLocalPosition: Offset(97.0, 22.7)
  button: 1
  sent tap down

Possible Error : The Location data is generated only once, it is unable to retrieve the data again
locality variable is empty, that should contain information from geocoder