Custom map style json

When using a custom map style json i get this debug info:

** [DEBUG] {}[ParseStyle]: LayerSet: GpsRadius does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**[DEBUG] {}[ParseStyle]: LayerSet: Position does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**[DEBUG] {}[ParseStyle]: LayerSet: Chevron does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

** [DEBUG] {}[ParseStyle]: LayerSet: EndRoute does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**[DEBUG] {}[ParseStyle]: LayerSet: StartRoute does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

** [DEBUG] {}[ParseStyle]: LayerSet: Route does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

For reading the documentation it states that it is important to set this layers but if not present they will be taken from default layer, which it does. So i added this in the custom json:

"sources" : {
"tomtom-gpsradius": {
      "type": "geojson",
      "data": {
        "type": "FeatureCollection",
        "features": [
          {
            "type": "Feature",
            "geometry": {
              "type": "Point",
              "coordinates": [
                0,
                0
              ]
            }
          }
        ]
      }
    },
}
"layers": {
{
       "id": "tomtom-gpsradius-layer",
       "type": "circle",
       "layout": {
         "visibility": "none"
       },
       "paint": {
         "circle-radius": 0,
         "circle-color": [
           "case",
           [
             "has",
             "dimmed"
           ],
           "rgba(128, 128, 128, 0.3)",
           "rgba(0, 162, 189, 0.3)"
         ],
         "circle-pitch-alignment": "map"
       },
       "source": "tomtom-gpsradius"
     },
}

But i get the same DEBUG info:

** [DEBUG] {}[ParseStyle]: LayerSet: GpsRadius does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

Also when loading style json i get this error:

**[ERROR][InvalidMapReference] Exception thrown in ~GPSIndicator**

How can i solve this problem?