Glance in app??

I got this error in ERA:

Error Name: Illegal Access (out Of Bounds)
Occurrences: 1
First Occurrence: 2020-12-22
Last Occurrence: 2020-12-22
Devices:
fēnix® 6 Pro / 6 Sapphire / 6 Pro Solar / 6 Pro Dual Power / quatix® 6: 13.10
App Versions: 2.8.2
Languages: eng
Backtrace:
GRouteLoaderApp.getGlanceView:77

It's occurring in getGlanceView() for an app (not a widget).

I didn't thing glances existed for apps (so, I'm confused as to why getGlanceView() is being called).

Anybody know what the problem is?

(:glance)
function getGlanceView()
{
if(WatchUi has :GlanceView)
{
return [ new MyGlanceView(), new MyGlanceViewDelegate() ]; // Line 77
}
return null;
}

It shouldn't matter but MyGlanceView/MyGlanceViewDelegate are defined as following (because there isn't any glances).

class MyGlanceView extends WatchUi.View
{
    function initialize()
    {
        View.initialize();    	         
    }
    
    function onUpdate(dc)
    {
    	if(dc instanceof Toybox.Graphics.Dc)
    	{
			dc.setColor(Graphics.COLOR_BLACK,Graphics.COLOR_BLACK);
			dc.clear();
			dc.setColor(Graphics.COLOR_GREEN,Graphics.COLOR_TRANSPARENT);
	
			dc.drawText(dc.getWidth()/2, 5, Graphics.FONT_TINY,WatchUi.loadResource(Rez.Strings.AppName), Graphics.TEXT_JUSTIFY_CENTER);
		}
    } 
}

class MyGlanceViewDelegate extends WatchUi.BehaviorDelegate
{
    function initialize()
    {
        BehaviorDelegate.initialize();
    }
}