Flutter Web: “JSNoSuchMethodError” when wifi disabled - Cannot read properties of undefined (reading ‘maps’)

Steps to reproduce

start the app
turn off wifi
open the dialog/popup with GoogleMap widget

Expected results
not crash just because a network request fails
Actual results
It's throwing an exception
The following JSNoSuchMethodError was thrown building GoogleMap(dirty, dependencies: [Directionality], state: _GoogleMapState#1f2e8):
TypeError: Cannot read properties of undefined (reading 'maps')
Code sample
Code sample
class LocationMap extends StatefulWidget {
  final LatLng? selectedLocation;

  const LocationMap({
    Key? key,
    this.selectedLocation,
  }) : super(key: key);

  @override
  State<LocationMap> createState() => _LocationMapState();
}

class _LocationMapState extends State<LocationMap> {
  GoogleMapController? mapController;

  @override
  Widget build(BuildContext context) {
    LatLng initialCameraPosition = widget.selectedLocation;

     if (mapController != null && widget.selectedLocation != null) {
       mapController!.animateCamera(CameraUpdate.newCameraPosition(
         CameraPosition(
           target: widget.selectedLocation!,
           zoom: 11.0,
         ),
       ));
     }

    return Card(
       child: GoogleMap(
         onMapCreated: (controller) {
           mapController = controller;
         },
         initialCameraPosition: CameraPosition(
           target: initialCameraPosition,
           zoom: 11.0,
         ),
         markers: widget.selectedLocation != null
             ? {
           Marker(
             markerId: MarkerId('selectedLocation'),
             position: widget.selectedLocation!,
           ),
         }
             : {},
       ),
     );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
======== Exception caught by widgets library =======================================================
The following JSNoSuchMethodError was thrown building GoogleMap(dirty, dependencies: [Directionality], state: _GoogleMapState#1f2e8):
TypeError: Cannot read properties of undefined (reading 'maps')

The relevant error-causing widget was:
  GoogleMap GoogleMap:file:///Users/anastasia_wartell/rwsecure-flutter/lib/screens/components/location_input/location_map.dart:41:15
When the exception was thrown, this was the stack:
packages/google_maps_flutter_web/src/convert.dart 100:30                          _gmapTypeIDForPluginType
packages/google_maps_flutter_web/src/convert.dart 43:25                           _configurationAndStyleToGmapsOptions
packages/google_maps_flutter_web/src/google_maps_controller.dart 173:32           init
packages/google_maps_flutter_web/src/google_maps_flutter_web.dart 311:8           <fn>
packages/google_maps_flutter_web/src/google_maps_flutter_web.dart 311:8           buildViewWithConfiguration
packages/google_maps_flutter/src/google_map.dart 321:47                           build
packages/flutter/src/widgets/framework.dart 5409:27                               build
packages/flutter/src/widgets/framework.dart 5297:15                               performRebuild
packages/flutter/src/widgets/framework.dart 5462:11                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5453:11                               [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5462:11                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5453:11                               [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5462:11                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5453:11                               [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5462:11                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5453:11                               [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5462:11                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5453:11                               [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 6569:36                               inflateWidget
packages/flutter/src/widgets/framework.dart 6581:32                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 6569:36                               inflateWidget
packages/flutter/src/widgets/framework.dart 6581:32                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5462:11                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5453:11                               [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5462:11                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5453:11                               [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5462:11                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5453:11                               [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5462:11                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5453:11                               [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 6569:36                               inflateWidget
packages/flutter/src/widgets/framework.dart 6581:32                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5462:11                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5453:11                               [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5462:11                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5453:11                               [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5462:11                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5453:11                               [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5462:11                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5453:11                               [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 6434:14                               mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/framework.dart 5322:16                               performRebuild
packages/flutter/src/widgets/framework.dart 5016:7                                rebuild
packages/flutter/src/widgets/framework.dart 5279:5                                [_firstBuild]
packages/flutter/src/widgets/framework.dart 5273:5                                mount
packages/flutter/src/widgets/framework.dart 4182:15                               inflateWidget
packages/flutter/src/widgets/framework.dart 3707:18                               updateChild
packages/flutter/src/widgets/layout_builder.dart 135:18                           layoutCallback
packages/flutter/src/widgets/framework.dart 2719:19                               buildScope
packages/flutter/src/widgets/layout_builder.dart 153:5                            [_layout]
packages/flutter/src/rendering/object.dart 2604:59                                <fn>
packages/flutter/src/rendering/object.dart 1059:15                                [_enableMutationsToDirtySubtrees]
packages/flutter/src/rendering/object.dart 2604:7                                 invokeLayoutCallback
packages/flutter/src/widgets/layout_builder.dart 228:7                            rebuildIfNecessary
packages/flutter/src/widgets/layout_builder.dart 313:5                            performLayout
packages/flutter/src/rendering/object.dart 2493:7                                 layout
packages/flutter/src/rendering/box.dart 2382:11                                   layout
packages/flutter/src/rendering/shifted_box.dart 1291:7                            performLayout
packages/flutter/src/rendering/object.dart 2493:7                                 layout
packages/flutter/src/rendering/box.dart 2382:11                                   layout
packages/flutter/src/rendering/shifted_box.dart 238:5                             performLayout
packages/flutter/src/rendering/object.dart 2493:7                                 layout
packages/flutter/src/rendering/box.dart 2382:11                                   layout
packages/flutter/src/rendering/proxy_box.dart 104:21                              <fn>
packages/flutter/src/rendering/object.dart 2493:7                                 layout
packages/flutter/src/rendering/box.dart 2382:11                                   layout
packages/flutter/src/rendering/proxy_box.dart 104:21                              <fn>
packages/flutter/src/rendering/object.dart 2493:7                                 layout
packages/flutter/src/rendering/box.dart 2382:11                                   layout
packages/flutter/src/rendering/proxy_box.dart 104:21                              <fn>
packages/flutter/src/rendering/object.dart 2493:7                                 layout
packages/flutter/src/rendering/box.dart 2382:11                                   layout
packages/flutter/src/rendering/proxy_box.dart 104:21                              <fn>
packages/flutter/src/rendering/object.dart 2493:7                                 layout
packages/flutter/src/rendering/box.dart 2382:11                                   layout
packages/flutter/src/rendering/proxy_box.dart 104:21                              <fn>
packages/flutter/src/rendering/object.dart 2493:7                                 layout
packages/flutter/src/rendering/box.dart 2382:11                                   layout
packages/flutter/src/rendering/proxy_box.dart 104:21                              <fn>
packages/flutter/src/rendering/object.dart 2493:7                                 layout
packages/flutter/src/rendering/box.dart 2382:11                                   layout
packages/flutter/src/rendering/proxy_box.dart 104:21                              <fn>
packages/flutter/src/rendering/proxy_box.dart 3732:13                             performLayout
packages/flutter/src/rendering/object.dart 2493:7                                 layout
packages/flutter/src/rendering/box.dart 2382:11                                   layout
packages/flutter/src/rendering/proxy_box.dart 104:21                              <fn>
packages/flutter/src/rendering/object.dart 2493:7                                 layout
packages/flutter/src/rendering/box.dart 2382:11                                   layout
packages/flutter/src/widgets/overlay.dart 838:14                                  performLayout
packages/flutter/src/rendering/object.dart 2332:7                                 [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 1013:17                                flushLayout
packages/flutter/src/rendering/binding.dart 494:19                                drawFrame
packages/flutter/src/widgets/binding.dart 918:13                                  drawFrame
packages/flutter/src/rendering/binding.dart 360:5                                 [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1297:15                               [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1227:9                                handleDrawFrame
packages/flutter/src/scheduler/binding.dart 1085:5                                [_handleDrawFrame]
dart-sdk/lib/async/zone.dart 1399:13                                              _rootRun
dart-sdk/lib/async/zone.dart 1301:19                                              run
dart-sdk/lib/async/zone.dart 1209:7                                               runGuarded
lib/_engine/engine/platform_dispatcher.dart 1306:9                                invoke
lib/_engine/engine/platform_dispatcher.dart 278:5                                 invokeOnDrawFrame
lib/_engine/engine/initialization.dart 185:45                                     <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 574:37  _checkAndCall
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 579:39  dcall
====================================================================================================

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.13.7, on macOS 14.3 23D56 darwin-arm64, locale en-US)
    • Flutter version 3.13.7 on channel stable at /.../.../flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2f708eb839 (5 months ago), 2023-10-09 09:58:08 -0500
    • Engine revision a794cf2681
    • Dart version 3.1.3
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /.../.../Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 76.3.4
    • Dart plugin version 232.9559.10

[✓] VS Code (version 1.84.2)
    • VS Code at /.../.../.../Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 14.3 23D56 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 122.0.6261.129

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Hi @wartelski
I check the issue using package's example but the error is different, with net::ERR_CONNECTION_CLOSED instead.
What is your current maps package version? (the latest version is google_maps_flutter: ^2.6.0)
Could you also try this on the latest Flutter stable 3.19.3?

Hi @huycozy
Thank you for checking the issue.
It's hard to catch the error sometimes, but after updating to the latest stable Flutter version, it seems like it's fine now. If I will get the error again, I will let you know. Thanks.

Glad to know it. Since the issue doesn't occur currently, I will close the issue. But once you see it appear again, please write in the comments and I will reopen this.

Getting this error regularly on flutter master for this web app, when running flutter run -d chrome.
The following JSNoSuchMethodError was thrown building MainApp(dirty):
TypeError: Cannot read properties of undefined (reading 'appTheme')

The relevant error-causing widget was:
  MainApp MainApp:file:///Users/polinach/_/open-field-language/website/lib/main.dart:20:16

When the exception was thrown, this was the stack:
packages/ofl_web/main.dart 30:14                                         build
packages/flutter/src/widgets/framework.dart 5687:22                      build
packages/flutter/src/widgets/framework.dart 5617:15                      performRebuild
packages/flutter/src/widgets/framework.dart 5333:7                       rebuild
packages/flutter/src/widgets/framework.dart 5599:5                       [_firstBuild]
packages/flutter/src/widgets/framework.dart 5593:5                       mount
packages/flutter/src/widgets/framework.dart 4468:15                      inflateWidget
packages/flutter/src/widgets/framework.dart 3963:18                      updateChild
packages/flutter/src/widgets/framework.dart 5642:16                      performRebuild
packages/flutter/src/widgets/framework.dart 5333:7                       rebuild
packages/flutter/src/widgets/framework.dart 5599:5                       [_firstBuild]
packages/flutter/src/widgets/framework.dart 5593:5                       mount
packages/flutter/src/widgets/framework.dart 4468:15                      inflateWidget
packages/flutter/src/widgets/framework.dart 3963:18                      updateChild
packages/flutter/src/widgets/framework.dart 5642:16                      performRebuild
packages/flutter/src/widgets/framework.dart 5780:11                      performRebuild
packages/flutter/src/widgets/framework.dart 5333:7                       rebuild
packages/flutter/src/widgets/framework.dart 5599:5                       [_firstBuild]
packages/flutter/src/widgets/framework.dart 5771:11                      [_firstBuild]
packages/flutter/src/widgets/framework.dart 5593:5                       mount
packages/flutter/src/widgets/framework.dart 4468:15                      inflateWidget
packages/flutter/src/widgets/framework.dart 3963:18                      updateChild
packages/flutter/src/widgets/framework.dart 5642:16                      performRebuild
packages/flutter/src/widgets/framework.dart 5333:7                       rebuild
packages/flutter/src/widgets/framework.dart 5599:5                       [_firstBuild]
packages/flutter/src/widgets/framework.dart 5593:5                       mount
packages/flutter/src/widgets/framework.dart 4468:15                      inflateWidget
packages/flutter/src/widgets/framework.dart 3963:18                      updateChild
packages/flutter/src/widgets/framework.dart 5642:16                      performRebuild
packages/flutter/src/widgets/framework.dart 5780:11                      performRebuild
packages/flutter/src/widgets/framework.dart 5333:7                       rebuild
packages/flutter/src/widgets/framework.dart 5599:5                       [_firstBuild]
packages/flutter/src/widgets/framework.dart 5771:11                      [_firstBuild]
packages/flutter/src/widgets/framework.dart 5593:5                       mount
packages/flutter/src/widgets/framework.dart 4468:15                      inflateWidget
packages/flutter/src/widgets/framework.dart 3963:18                      updateChild
packages/flutter/src/widgets/framework.dart 5642:16                      performRebuild
packages/flutter/src/widgets/framework.dart 5780:11                      performRebuild
packages/flutter/src/widgets/framework.dart 5333:7                       rebuild
packages/flutter/src/widgets/framework.dart 5599:5                       [_firstBuild]
packages/flutter/src/widgets/framework.dart 5771:11                      [_firstBuild]
packages/flutter/src/widgets/framework.dart 5593:5                       mount
packages/flutter/src/widgets/framework.dart 4468:15                      inflateWidget
packages/flutter/src/widgets/framework.dart 3963:18                      updateChild
packages/flutter/src/widgets/framework.dart 5642:16                      performRebuild
packages/flutter/src/widgets/framework.dart 5333:7                       rebuild
packages/flutter/src/widgets/framework.dart 5599:5                       [_firstBuild]
packages/flutter/src/widgets/framework.dart 5593:5                       mount
packages/flutter/src/widgets/framework.dart 4468:15                      inflateWidget
packages/flutter/src/widgets/framework.dart 3963:18                      updateChild
packages/flutter/src/widgets/framework.dart 5642:16                      performRebuild
packages/flutter/src/widgets/framework.dart 5780:11                      performRebuild
packages/flutter/src/widgets/framework.dart 5333:7                       rebuild
packages/flutter/src/widgets/framework.dart 5599:5                       [_firstBuild]
packages/flutter/src/widgets/framework.dart 5771:11                      [_firstBuild]
packages/flutter/src/widgets/framework.dart 5593:5                       mount
packages/flutter/src/widgets/framework.dart 4468:15                      inflateWidget
packages/flutter/src/widgets/framework.dart 3963:18                      updateChild
packages/flutter/src/widgets/framework.dart 5642:16                      performRebuild
packages/flutter/src/widgets/framework.dart 5333:7                       rebuild
packages/flutter/src/widgets/framework.dart 5599:5                       [_firstBuild]
packages/flutter/src/widgets/framework.dart 5593:5                       mount
packages/flutter/src/widgets/framework.dart 4468:15                      inflateWidget
packages/flutter/src/widgets/framework.dart 3963:18                      updateChild
packages/flutter/src/widgets/framework.dart 5642:16                      performRebuild
packages/flutter/src/widgets/framework.dart 5333:7                       rebuild
packages/flutter/src/widgets/framework.dart 5599:5                       [_firstBuild]
packages/flutter/src/widgets/framework.dart 5593:5                       mount
packages/flutter/src/widgets/framework.dart 4468:15                      inflateWidget
packages/flutter/src/widgets/framework.dart 3963:18                      updateChild
packages/flutter/src/widgets/view.dart 441:16                            [_updateChild]
packages/flutter/src/widgets/view.dart 464:5                             mount
packages/flutter/src/widgets/framework.dart 4468:15                      inflateWidget
packages/flutter/src/widgets/framework.dart 3963:18                      updateChild
packages/flutter/src/widgets/framework.dart 5642:16                      performRebuild
packages/flutter/src/widgets/framework.dart 5333:7                       rebuild
packages/flutter/src/widgets/framework.dart 5599:5                       [_firstBuild]
packages/flutter/src/widgets/framework.dart 5593:5                       mount
packages/flutter/src/widgets/framework.dart 4468:15                      inflateWidget
packages/flutter/src/widgets/framework.dart 3963:18                      updateChild
packages/flutter/src/widgets/framework.dart 5642:16                      performRebuild
packages/flutter/src/widgets/framework.dart 5780:11                      performRebuild
packages/flutter/src/widgets/framework.dart 5333:7                       rebuild
packages/flutter/src/widgets/framework.dart 5599:5                       [_firstBuild]
packages/flutter/src/widgets/framework.dart 5771:11                      [_firstBuild]
packages/flutter/src/widgets/framework.dart 5593:5                       mount
packages/flutter/src/widgets/framework.dart 4468:15                      inflateWidget
packages/flutter/src/widgets/framework.dart 3963:18                      updateChild
packages/flutter/src/widgets/binding.dart 1605:16                        [_rebuild]
packages/flutter/src/widgets/binding.dart 1574:5                         mount
packages/flutter/src/widgets/binding.dart 1527:16                        <fn>
packages/flutter/src/widgets/framework.dart 3038:11                      buildScope
packages/flutter/src/widgets/binding.dart 1526:12                        attach
packages/flutter/src/widgets/binding.dart 1265:26                        attachToBuildOwner
packages/flutter/src/widgets/binding.dart 1247:5                         attachRootWidget
packages/flutter/src/widgets/binding.dart 1233:7                         <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 48:11  internalCallback

Flutter 3.23.0-14.0.pre.75 • channel master • git@github.com:flutter/flutter.git
Framework • revision 38af6be9fb (5 days ago) • 2024-06-29 13:06:24 -0700
Engine • revision ad1343cfb9
Tools • Dart 3.5.0 (build 3.5.0-315.0.dev) • DevTools 2.36.0

Refresh of chrome helps sometimes

I re-checked the original issue (using maps plugin and disabling internet) with the latest package version google_maps_flutter: ^2.7.0 but only see network error on browser console:
POST https://maps.googleapis.com/$rpc/google.internal.maps.mapsjs.v1.MapsJsInternalService/GetViewportInfo net::ERR_INTERNET_DISCONNECTED

However, I can reproduce the issue with sample code @polina-c provided on Flutter master channel without needing to disable the internet.
I don't see the issue on Flutter stable 3.22.2 and on a simple Flutter project. The 2nd sample code is a complex project but the stack trace may be enough to investigate further, labeling the issue for others input.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.22.2 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (3 weeks ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode15.4.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] VS Code (version 1.90.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0

[✓] Connected device (3 available)
    • iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop) • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome                                   • web-javascript • Google Chrome 126.0.6478.127

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.23.0-14.0.pre.145, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.23.0-14.0.pre.145 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ac74e26a70 (2 hours ago), 2024-07-04 21:46:34 -0400
    • Engine revision 1f0f950ea0
    • Dart version 3.5.0 (build 3.5.0-323.0.dev)
    • DevTools version 2.37.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode15.4.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] VS Code (version 1.90.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.92.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 126.0.6478.127

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

When checking https://github.com/flutter/flutter/issues/152844 on a simple app (counter app) on Flutter beta channel 3.24.0-0.2.pre, I see a similar error appearing randomly (sometime the error appears, sometime not):
TypeError: Cannot read properties of undefined (reading 'Symbol(_privateNames)')

TypeError: Cannot read properties of undefined (reading 'Colors')

@huycozy do you see the issue in master? I know there was a fix added to how things are loaded that might not have landed in the beta preview:

https://github.com/flutter/engine/pull/53718

@ditman I don't see this issue on master 3.24.0-1.0.pre.460 anymore.

This is fixed in master and will be fixed in stable once these cherrypicks land: https://github.com/flutter/flutter/issues/152953

This branch should be reopened, because, I am getting the Exception:
═╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following JSNoSuchMethodError was thrown building MyApp(dirty):
TypeError: Cannot read properties of undefined (reading 'Colors') for the demo Counter Application.
Flutter's Version is :
Flutter is already up to date on channel stable
Flutter 3.24.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 80c2e84975 (3 weeks ago) • 2024-07-30 23:06:49 +0700
Engine • revision b8800d88be
Tools • Dart 3.5.0 • DevTools 2.37.2

Hello,
after updating flutter to 3.24 I started to get a bunch of errors after starting the app (Flutter Web). Before the update, everything was working perfectly, and I didn't make any significant changes in my code, so I think it's connected with the update. It seems like the issue is mainly with loading packages, but I could be mistaken.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.5 23F79 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.1.4)
[✓] VS Code (version 1.84.2)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

Errors:
Error: google_fonts was unable to load font SourceSans3-Regular because the following exception occurred:
TypeError: Cannot read properties of undefined (reading 'SynchronousFuture$')
If troubleshooting doesn't solve the problem, please file an issue at https://github.com/material-foundation/flutter-packages/issues/new/choose.

Another one:
======== Exception caught by widgets library =======================================================
The following JSNoSuchMethodError was thrown building _FocusInheritedScope:
TypeError: Cannot read properties of undefined (reading 'SynchronousFuture$')

The relevant error-causing widget was:
  MaterialApp MaterialApp:file:///.../.../.../lib/main.dart:79:28
When the exception was thrown, this was the stack:
packages/flutter_gen/gen_l10n/app_localizations.dart 756:12              load
packages/flutter/src/widgets/localizations.dart 57:48                    _loadAll
packages/flutter/src/widgets/localizations.dart 590:8                    load
packages/flutter/src/widgets/localizations.dart 554:5                    initState
packages/flutter/src/widgets/framework.dart 5748:55                      [_firstBuild]
packages/flutter/src/widgets/framework.dart 5593:5                       mount
packages/flutter/src/widgets/framework.dart 4468:15                      inflateWidget
packages/flutter/src/widgets/framework.dart 3963:18                      updateChild

Every time I rerun the app, there are new errors

======== Exception caught by widgets library =======================================================
The following JSNoSuchMethodError was thrown building _FocusInheritedScope:
TypeError: Cannot read properties of undefined (reading 'Intl')

The relevant error-causing widget was:
  MaterialApp MaterialApp:file:///.../.../.../lib/main.dart:79:28
When the exception was thrown, this was the stack:
packages/flutter_gen/gen_l10n/app_localizations.dart 64:60               new
packages/flutter_gen/gen_l10n/app_localizations_en.dart 7:48             new
packages/flutter_gen/gen_l10n/app_localizations.dart 771:23              lookupAppLocalizations
packages/flutter_gen/gen_l10n/app_localizations.dart 756:48              load
packages/flutter/src/widgets/localizations.dart 57:48                    _loadAll
packages/flutter/src/widgets/localizations.dart 590:8                    load
packages/flutter/src/widgets/localizations.dart 554:5                    initState
packages/flutter/src/widgets/framework.dart 5748:55                      [_firstBuild]
packages/flutter/src/widgets/framework.dart 5593:5                       mount
packages/flutter/src/widgets/framework.dart 4468:15                      inflateWidget
packages/flutter/src/widgets/framework.dart 3963:18                      updateChild
packages/flutter/src/widgets/framework.dart 6900:14                      mount
packages/flutter/src/widgets/framework.dart 4468:15                      inflateWidget
packages/flutter/src/widgets/framework.dart 3957:20                      updateChild
...

Sometimes the app is just loading forever and nothing happens, then I see it in the browser
Uncaught TypeError: Cannot read properties of undefined (reading 'Nested')
    at load__packages__provider__src__provider_dart (provider.dart.lib.js:230:63)
    at Object.execCb (require.js:1696:33)
    at Module.check (require.js:883:51)
    at Module.<anonymous> (require.js:1139:34)
    at require.js:134:23
    at require.js:1189:21
    at each (require.js:59:31)
    at Module.emit (require.js:1188:17)
    at Module.check (require.js:938:30)
    at Module.<anonymous> (require.js:1139:34)
    at require.js:134:23
    at require.js:1189:21
    at each (require.js:59:31)
    at Module.emit (require.js:1188:17)
    at Module.check (require.js:938:30)
    at Module.<anonymous> (require.js:1139:34)
    at require.js:134:23
    at require.js:1189:21
    at each (require.js:59:31)
    at Module.emit (require.js:1188:17)
    at Module.check (require.js:938:30)
    at Module.<anonymous> (require.js:1139:34)
    at require.js:134:23
    at require.js:1189:21
    at each (require.js:59:31)
    at Module.emit (require.js:1188:17)
    at Module.check (require.js:938:30)
    at Module.<anonymous> (require.js:1139:34)
    at require.js:134:23
    at require.js:1189:21
    at each (require.js:59:31)
    at Module.emit (require.js:1188:17)
    at Module.check (require.js:938:30)
    at Module.enable (require.js:1176:22)
    at Module.init (require.js:788:26)
    at callGetModule (require.js:1203:63)
    at Object.completeLoad (require.js:1590:21)
    at HTMLScriptElement.onScriptLoad (require.js:1717:29)

or this
  Uncaught TypeError: Cannot read properties of undefined (reading 'Symbol(_privateNames)')
   at dart.privateName (dart_sdk.js:56:24)
   at load__packages__graphql_flutter__src__widgets__graphql_provider_dart (graphql_provider.dart.lib.js:87:29)
   at Object.execCb (require.js:1696:33)
   at Module.check (require.js:883:51)
   at Module.<anonymous> (require.js:1139:34)
   at require.js:134:23
   at require.js:1189:21
   at each (require.js:59:31)
   at Module.emit (require.js:1188:17)
   at Module.check (require.js:938:30)
   at Module.enable (require.js:1176:22)
   at Module.init (require.js:788:26)
   at callGetModule (require.js:1203:63)
   at Object.completeLoad (require.js:1590:21)
   at HTMLScriptElement.onScriptLoad (require.js:1717:29)

And I also was getting errors provided above with Colors
Only after rerunning the app ~3-4 times, it's starting to work without the errors. Could you please help with the issue because it's really frustrating. Thank you.

@huycozy could you please check ^^^

Is this related or should I file a separate ticket for this variant?
Uncaught TypeError: Cannot read properties of undefined (reading 'load')
at (index):207:30
We've run into similar issue. We recently tried upgrading our project from 3.19.5 to 3.24.0, but unfortunately when trying to implement update to deprecation in index.html for:
Warning: In index.html:189: "FlutterLoader.loadEntrypoint" is deprecated. Use "FlutterLoader.load" instead. See https://docs.flutter.dev/platform-integration/web/initialization for more details.
by changing:
...
_flutter.loader.loadEntrypoint({
...
to
...
_flutter.FlutterLoader.load({
...
Unfortunately causes issue with page just hanging on load, and only thing shown is in browser dev tool console:
Uncaught TypeError: Cannot read properties of undefined (reading 'load')
at (index):207:30
This goes away if I revert back to _flutter.loader.loadEntrypoint({.
Here is info with 3.24.0:
flutter doctor -v
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.5 23F79 darwin-arm64, locale en-US)
• Flutter version 3.24.0 on channel stable at /Users/williamrobinson/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 80c2e84975 (3 weeks ago), 2024-07-30 23:06:49 +0700
• Engine revision b8800d88be
• Dart version 3.5.0
• DevTools version 2.37.2
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/williamrobinson/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/williamrobinson/Library/Android/sdk
• ANDROID_SDK_ROOT = /Users/williamrobinson/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15F31d
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
[✓] VS Code (version 1.90.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.94.0
[✓] Connected device (2 available)
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 14.5 23F79 darwin-arm64
• Chrome (web)                    • chrome                • web-javascript • Google Chrome 127.0.6533.120
[✓] Network resources
• All expected network resources are available.
• No issues found!
And downgrading to 3.22.3 did not help (even after clean and rebuild), still same error:
run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.3, on macOS 14.5 23F79 darwin-arm64 (Rosetta), locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.90.2)
[✓] Connected device (2 available)
[✓] Network resources
Suggestions?

@wartelski @hawkewebtpa Flutter stable hotfix 3.24.1 is just released. Please upgrade and retry.

@huycozy  I tried the upgrade to 3.24.1, and still no joy. Created new ticket about the issue in case it is a different variant, with the details here:  https://github.com/flutter/flutter/issues/153941


fix python setuptools install error

hey I fixed the setuptools within this package and had to add a different source in the repos with a fork of the twist stamper package because that's affected as well. we can do a PR for the original twist_stamper fork another time

Thanks! If you don't mind, pls open a PR for that twist_stamper branch!


az vm image accept-terms failing

This is an autogenerated template. Please review and update as needed.
Describe the bug
Command Name
az vm image accept-terms
Errors:
:confused:

Error occurred in request., RetryError: HTTPSConnectionPool(host='management.azure.com', port=443): Max retries exceeded with url: /subscriptions/<subId>/providers/Microsoft.MarketplaceOrdering/offerTypes/virtualmachine/publishers/checkpoint/offers/check-point-vsec-r80/plans/sg-byol/agreements/current?api-version=2015-06-01 (Caused by ResponseError('too many 500 error responses',))Traceback (most recent call last):
  File "/usr/lib64/az/lib/python2.7/site-packages/knack/cli.py", line 206, in invoke
    cmd_result = self.invocation.execute(args)
  File "/usr/lib64/az/lib/python2.7/site-packages/azure/cli/core/commands/__init__.py", line 326, in execute
    raise ex
ClientRequestError: Error occurred in request., RetryError: HTTPSConnectionPool(host='management.azure.com', port=443): Max retries exceeded with url: /subscriptions/<subId>/providers/Microsoft.MarketplaceOrdering/offerTypes/virtualmachine/publishers/checkpoint/offers/check-point-vsec-r80/plans/sg-byol/agreements/current?api-version=2015-06-01 (Caused by ResponseError('too many 500 error responses',))

To Reproduce:
Steps to reproduce the behavior. Note: Command arguments have been redacted.

Fill in additional info here
Run: az vm image accept-terms --plan sg-byol --offer check-point-vsec-r80 --publish checkpoint --subscription <subId>

Expected Behavior
A clear and concise description of what you expected to happen.
Environment Summary
Linux-3.10.0-862.11.6.el7.x86_64-x86_64-with-centos-7.5.1804-Core
Python 2.7.5
Shell: bash

azure-cli                         2.0.62 *

Additional Context
Add any other context about the problem here.

I just tried this command out and it succeeded:
$ az vm image accept-terms --plan sg-byol --offer check-point-vsec-r80 --publish checkpoint --query "{accepted:accepted, name:name, plan:plan, privacyPolicyLink:privacyPolicyLink, product:product, type:type}"
{
  "accepted": true,
  "name": "sg-byol",
  "plan": "sg-byol",
  "privacyPolicyLink": "http://www.checkpoint.com/privacy",
  "product": "check-point-vsec-r80",
  "type": "Microsoft.MarketplaceOrdering/offertypes"
}

This seems like a (temporary) service side error similar to #9089
Have you retried the command? @ranokarno

@adewaleo , yes issue resolved.
I will proceed to close this ticket now


HBASE-23303 Add security headers to REST server/info page

I created the SecurityHeadersFilter in hbase-http project to share with hbase-rest and to replace and extend the original ClickjackingPreventionFilter.
X-Frame-Options remains configurable while the others are hardcoded now.
X-Content-Type-Options: nosniff - Prevents the browser from doing MIME-type sniffing.
X-XSS-Protection: 1; mode=block - Browser feature that stops pages from loading when they detect reflected cross-site scripting (XSS) attacks. mode=block means that rather than sanitizing the page, the browser will prevent rendering of the page if an attack is detected.
X-Frame-Options - Simply controls whether the page can be displayed in a frame. DENY completely rejects, SAMEORIGIN allows for the same domain.
Strict-Transport-Security - Force the browser to use HTTPS transport only for loading the page.

Added HSTS header too in the latest commit.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 33s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+0 :ok:
mvndep
0m 36s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m 12s
master passed

+1 :green_heart:
compile
0m 54s
master passed

+1 :green_heart:
checkstyle
0m 34s
master passed

+1 :green_heart:
shadedjars
4m 38s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 41s
master passed

+0 :ok:
spotbugs
0m 52s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
1m 28s
master passed

-0 :warning:
patch
1m  8s
Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 16s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
5m  0s
the patch passed

+1 :green_heart:
compile
0m 53s
the patch passed

+1 :green_heart:
javac
0m 53s
the patch passed

-1 :x:
checkstyle
0m 18s
hbase-rest: The patch generated 1 new + 15 unchanged - 1 fixed = 16 total (was 16)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m 37s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
15m 35s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 40s
the patch passed

+1 :green_heart:
findbugs
1m 42s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 13s
hbase-http in the patch passed.

+1 :green_heart:
unit
4m 20s
hbase-rest in the patch passed.

+1 :green_heart:
asflicense
0m 26s
The patch does not generate ASF License warnings.

56m 24s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/843

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 5e02d2d52953 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-843/out/precommit/personality/provided.sh

git revision
master / a3efa5911d

Default Java
1.8.0_181

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/1/artifact/out/diff-checkstyle-hbase-rest.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/1/testReport/

Max. process+thread count
1923 (vs. ulimit of 10000)

modules
C: hbase-http hbase-rest U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 33s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+0 :ok:
mvndep
0m 39s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m 16s
master passed

+1 :green_heart:
compile
0m 54s
master passed

+1 :green_heart:
checkstyle
0m 34s
master passed

+1 :green_heart:
shadedjars
4m 38s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 42s
master passed

+0 :ok:
spotbugs
0m 51s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
1m 28s
master passed

-0 :warning:
patch
1m  7s
Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 15s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
5m  1s
the patch passed

+1 :green_heart:
compile
0m 53s
the patch passed

+1 :green_heart:
javac
0m 53s
the patch passed

-1 :x:
checkstyle
0m 19s
hbase-rest: The patch generated 1 new + 15 unchanged - 1 fixed = 16 total (was 16)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
5m  2s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
17m 45s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 40s
the patch passed

+1 :green_heart:
findbugs
1m 42s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 13s
hbase-http in the patch passed.

+1 :green_heart:
unit
4m 22s
hbase-rest in the patch passed.

+1 :green_heart:
asflicense
0m 26s
The patch does not generate ASF License warnings.

59m 21s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/843

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 659cc6da0e4f 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-843/out/precommit/personality/provided.sh

git revision
master / b5e8727617

Default Java
1.8.0_181

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/2/artifact/out/diff-checkstyle-hbase-rest.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/2/testReport/

Max. process+thread count
1897 (vs. ulimit of 10000)

modules
C: hbase-http hbase-rest U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/2/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 34s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+0 :ok:
mvndep
0m 35s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m 17s
master passed

+1 :green_heart:
compile
0m 52s
master passed

+1 :green_heart:
checkstyle
0m 35s
master passed

+1 :green_heart:
shadedjars
4m 38s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 41s
master passed

+0 :ok:
spotbugs
0m 50s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
1m 25s
master passed

-0 :warning:
patch
1m  6s
Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 15s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 51s
the patch passed

+1 :green_heart:
compile
0m 53s
the patch passed

+1 :green_heart:
javac
0m 53s
the patch passed

+1 :green_heart:
checkstyle
0m 14s
The patch passed checkstyle in hbase-http

+1 :green_heart:
checkstyle
0m 18s
hbase-rest: The patch generated 0 new + 15 unchanged - 1 fixed = 15 total (was 16)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m 35s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
15m 33s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 39s
the patch passed

+1 :green_heart:
findbugs
1m 40s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 12s
hbase-http in the patch passed.

+1 :green_heart:
unit
4m 25s
hbase-rest in the patch passed.

+1 :green_heart:
asflicense
0m 25s
The patch does not generate ASF License warnings.

56m  4s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/843

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux db268b4699f6 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-843/out/precommit/personality/provided.sh

git revision
master / b5e8727617

Default Java
1.8.0_181

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/3/testReport/

Max. process+thread count
1904 (vs. ulimit of 10000)

modules
C: hbase-http hbase-rest U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/3/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@petersomogyi PTAL.

@petersomogyi I added some more details to the description of the PR. What's your concern exactly? Would you please be more specific?
There's one more though that I'm planning to add (sorry @brfrn169 you already reviewed) to be complete:
Content-Security-Policy: default-src https: data: 'unsafe-inline' 'unsafe-eval'
which

Controls resources the user agent is allowed to load for a given page.

@petersomogyi @brfrn169 Sorry for messing things up. I added one more important security header to the patch and also made a small refactoring for setting up parameters at a common place.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
3m 24s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+0 :ok:
mvndep
0m 33s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m 47s
master passed

+1 :green_heart:
compile
0m 52s
master passed

+1 :green_heart:
checkstyle
0m 30s
master passed

+1 :green_heart:
shadedjars
4m 56s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 37s
master passed

+0 :ok:
spotbugs
0m 53s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
1m 28s
master passed

-0 :warning:
patch
1m  7s
Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
5m 26s
the patch passed

+1 :green_heart:
compile
0m 51s
the patch passed

+1 :green_heart:
javac
0m 51s
the patch passed

-1 :x:
checkstyle
0m 13s
hbase-http: The patch generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)

+1 :green_heart:
checkstyle
0m 16s
hbase-rest: The patch generated 0 new + 15 unchanged - 1 fixed = 15 total (was 16)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
5m  4s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
17m 19s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 36s
the patch passed

+1 :green_heart:
findbugs
1m 45s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 19s
hbase-http in the patch passed.

+1 :green_heart:
unit
6m  6s
hbase-rest in the patch passed.

+1 :green_heart:
asflicense
0m 22s
The patch does not generate ASF License warnings.

64m 44s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/843

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux cab7b5ff5719 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-843/out/precommit/personality/provided.sh

git revision
master / 54ad797abb

Default Java
1.8.0_181

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/4/artifact/out/diff-checkstyle-hbase-http.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/4/testReport/

Max. process+thread count
2001 (vs. ulimit of 10000)

modules
C: hbase-http hbase-rest U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/4/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@brfrn169 @busbey In the latest commit I added back ClickjackingPreventionFilter to avoid renaming the class. Instead I added SecurityHeadersFilter as a new filter.
To keep HTTP-friendliness for both services default values of HSTS and CSP headers are empty which means that headers will not be added to the response. Rather than hardcoding magic values I made both headers configurable.
X-Content-Type-Options and X-XSS-Protection still have some meaningful defaults and not configurable at the moment.
Currently I'm looking for a nice way to add some unit tests.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 40s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+0 :ok:
mvndep
0m 38s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m 20s
master passed

+1 :green_heart:
compile
1m  0s
master passed

+1 :green_heart:
checkstyle
0m 31s
master passed

+1 :green_heart:
shadedjars
4m 43s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 40s
master passed

+0 :ok:
spotbugs
0m 53s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
1m 30s
master passed

-0 :warning:
patch
1m  9s
Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 16s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
5m  5s
the patch passed

+1 :green_heart:
compile
0m 58s
the patch passed

+1 :green_heart:
javac
0m 58s
the patch passed

-1 :x:
checkstyle
0m 19s
hbase-rest: The patch generated 1 new + 6 unchanged - 10 fixed = 7 total (was 16)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m 40s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
15m 55s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 39s
the patch passed

+1 :green_heart:
findbugs
1m 48s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 12s
hbase-http in the patch passed.

+1 :green_heart:
unit
4m 29s
hbase-rest in the patch passed.

+1 :green_heart:
asflicense
0m 24s
The patch does not generate ASF License warnings.

57m 31s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/5/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/843

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 6c7f670d342f 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-843/out/precommit/personality/provided.sh

git revision
master / 5e34a59d90

Default Java
1.8.0_181

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/5/artifact/out/diff-checkstyle-hbase-rest.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/5/testReport/

Max. process+thread count
1960 (vs. ulimit of 10000)

modules
C: hbase-http hbase-rest U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/5/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 10s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+0 :ok:
mvndep
0m 37s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m 16s
master passed

+1 :green_heart:
compile
0m 55s
master passed

+1 :green_heart:
checkstyle
0m 35s
master passed

+1 :green_heart:
shadedjars
4m 40s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 40s
master passed

+0 :ok:
spotbugs
0m 53s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
1m 28s
master passed

-0 :warning:
patch
1m  9s
Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 15s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 59s
the patch passed

+1 :green_heart:
compile
0m 53s
the patch passed

+1 :green_heart:
javac
0m 53s
the patch passed

+1 :green_heart:
checkstyle
0m 15s
The patch passed checkstyle in hbase-http

+1 :green_heart:
checkstyle
0m 18s
hbase-rest: The patch generated 0 new + 5 unchanged - 11 fixed = 5 total (was 16)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m 36s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
15m 46s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 40s
the patch passed

+1 :green_heart:
findbugs
1m 40s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 25s
hbase-http in the patch passed.

+1 :green_heart:
unit
8m 57s
hbase-rest in the patch passed.

+1 :green_heart:
asflicense
0m 26s
The patch does not generate ASF License warnings.

62m 15s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/6/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/843

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 0b937f5fd473 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-843/out/precommit/personality/provided.sh

git revision
master / 6d251efa04

Default Java
1.8.0_181

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/6/testReport/

Max. process+thread count
1808 (vs. ulimit of 10000)

modules
C: hbase-http hbase-rest U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/6/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Unit tests have been added in the latest commit.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 10s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 1 new or modified test files.

_ master Compile Tests _

+0 :ok:
mvndep
0m 35s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m 12s
master passed

+1 :green_heart:
compile
0m 52s
master passed

+1 :green_heart:
checkstyle
0m 35s
master passed

+1 :green_heart:
shadedjars
4m 39s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 41s
master passed

+0 :ok:
spotbugs
0m 53s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
1m 27s
master passed

-0 :warning:
patch
1m  8s
Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 15s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 57s
the patch passed

+1 :green_heart:
compile
0m 54s
the patch passed

+1 :green_heart:
javac
0m 54s
the patch passed

+1 :green_heart:
checkstyle
0m 15s
The patch passed checkstyle in hbase-http

+1 :green_heart:
checkstyle
0m 17s
hbase-rest: The patch generated 0 new + 5 unchanged - 11 fixed = 5 total (was 16)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m 39s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
15m 49s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 40s
the patch passed

+1 :green_heart:
findbugs
1m 42s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 26s
hbase-http in the patch passed.

+1 :green_heart:
unit
8m 42s
hbase-rest in the patch passed.

+1 :green_heart:
asflicense
0m 25s
The patch does not generate ASF License warnings.

61m 56s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/7/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/843

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 4b618066ff30 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-843/out/precommit/personality/provided.sh

git revision
master / 6d251efa04

Default Java
1.8.0_181

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/7/testReport/

Max. process+thread count
1725 (vs. ulimit of 10000)

modules
C: hbase-http hbase-rest U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/7/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Sorry. In my very latest commit, I added unit tests to hbase-http project too.
Patch is now complete, I'm not adding more stuff.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 34s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 2 new or modified test files.

_ master Compile Tests _

+0 :ok:
mvndep
0m 35s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m 10s
master passed

+1 :green_heart:
compile
0m 53s
master passed

+1 :green_heart:
checkstyle
0m 34s
master passed

+1 :green_heart:
shadedjars
4m 36s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 40s
master passed

+0 :ok:
spotbugs
0m 53s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
1m 27s
master passed

-0 :warning:
patch
1m  8s
Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 15s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 55s
the patch passed

+1 :green_heart:
compile
0m 54s
the patch passed

+1 :green_heart:
javac
0m 54s
the patch passed

+1 :green_heart:
checkstyle
0m 15s
The patch passed checkstyle in hbase-http

+1 :green_heart:
checkstyle
0m 17s
hbase-rest: The patch generated 0 new + 5 unchanged - 11 fixed = 5 total (was 16)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m 36s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
15m 39s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 40s
the patch passed

+1 :green_heart:
findbugs
1m 40s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 14s
hbase-http in the patch passed.

+1 :green_heart:
unit
4m 25s
hbase-rest in the patch passed.

+1 :green_heart:
asflicense
0m 26s
The patch does not generate ASF License warnings.

56m 12s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/8/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/843

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux c02c5c6ab67c 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-843/out/precommit/personality/provided.sh

git revision
master / 9c82a65b29

Default Java
1.8.0_181

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/8/testReport/

Max. process+thread count
2225 (vs. ulimit of 10000)

modules
C: hbase-http hbase-rest U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-843/8/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


import Swift code into Godot project (opposite thing)

Is it possible to embed a native iOS project into iOS Godot project

Use SwiftGodotKit, the companion module

@migueldeicaza from its readme:
SwiftGodotKit provides a way of embedding Godot into an existing Swift application and driving Godot from Swift, without having to use an extension.

But I need vice versa to embed that Swift application into Godot Xcode project

Ah then this is the module you want.