question

GetMyDriver avatar image
GetMyDriver asked

Fire TV App Builder Suddenly Stopped Working. What is happening here? See Logs

07-24 00:42:09.274 7880-7963/? E/NavigatorModelParser: Navigator parsing failed!!! 
    com.fasterxml.jackson.core.JsonParseException: Unexpected close marker ']': expected '}' (for ROOT starting at [Source: ]{"config": {"showRelatedContent": true,"useCategoryAsDefaultRelatedContent": true,"searchAlgo": "basic","enableCEA608": false,"enableRecentRow": true,"maxNumberOfRecentItems": 5},"branding": {"globalTheme": "AppTheme","lightFont" : "Roboto Light","boldFont" : "Roboto Bold","regularFont" : "Roboto Regular"},"globalRecipes": [{"categories": {"dataLoader": "recipes/LightCastDataLoaderRecipe1.json","dynamicParser": "recipes/LightCastCategoriesRecipe.json"},"contents": {"dataLoader": "recipes/LightCastDataLoaderRecipe1.json","dynamicParser": "recipes/LightCastContentsRecipe.json"}},{"categories": {"name": "Hardcoded Category Name"},"contents": {"dataLoader": "recipes/LightCastDataLoaderRecipe1.json","dynamicParser": "recipes/LightCastAllContentsRecipe.json"}}],"graph": {"com.amazon.android.tv.tenfoot.ui.activities.SplashActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_SPLASH_SCREEN"},"com.amazon.android.tv.tenfoot.ui.activities.ContentBrowseActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_HOME_SCREEN"},"com.amazon.android.tv.tenfoot.ui.activities.ContentDetailsActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_DETAILS_SCREEN"},"com.amazon.android.tv.tenfoot.ui.activities.ContentSearchActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_SEARCH_SCREEN"},"com.amazon.android.uamp.ui.PlaybackActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_RENDERER_SCREEN"}}}; line: 1, column: 0])
     at [Source: ]{"config": {"showRelatedContent": true,"useCategoryAsDefaultRelatedContent": true,"searchAlgo": "basic","enableCEA608": false,"enableRecentRow": true,"maxNumberOfRecentItems": 5},"branding": {"globalTheme": "AppTheme","lightFont" : "Roboto Light","boldFont" : "Roboto Bold","regularFont" : "Roboto Regular"},"globalRecipes": [{"categories": {"dataLoader": "recipes/LightCastDataLoaderRecipe1.json","dynamicParser": "recipes/LightCastCategoriesRecipe.json"},"contents": {"dataLoader": "recipes/LightCastDataLoaderRecipe1.json","dynamicParser": "recipes/LightCastContentsRecipe.json"}},{"categories": {"name": "Hardcoded Category Name"},"contents": {"dataLoader": "recipes/LightCastDataLoaderRecipe1.json","dynamicParser": "recipes/LightCastAllContentsRecipe.json"}}],"graph": {"com.amazon.android.tv.tenfoot.ui.activities.SplashActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_SPLASH_SCREEN"},"com.amazon.android.tv.tenfoot.ui.activities.ContentBrowseActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_HOME_SCREEN"},"com.amazon.android.tv.tenfoot.ui.activities.ContentDetailsActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_DETAILS_SCREEN"},"com.amazon.android.tv.tenfoot.ui.activities.ContentSearchActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_SEARCH_SCREEN"},"com.amazon.android.uamp.ui.PlaybackActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_RENDERER_SCREEN"}}}; line: 1, column: 2]
        at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1576)
        at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:533)
        at com.fasterxml.jackson.core.base.ParserBase._reportMismatchedEndMarker(ParserBase.java:521)
        at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:599)
        at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3742)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3687)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2714)
        at com.amazon.android.navigator.NavigatorModelParser.parse(NavigatorModelParser.java:47)
        at com.amazon.android.navigator.Navigator.<init>(Navigator.java:148)
        at com.amazon.android.navigator.Navigator.<init>(Navigator.java:138)
        at com.amazon.android.contentbrowser.ContentBrowser.<init>(ContentBrowser.java:572)
        at com.amazon.android.contentbrowser.ContentBrowser.getInstance(ContentBrowser.java:736)
        at com.amazon.android.tv.tenfoot.ui.activities.SplashActivity$1.doInBackground(SplashActivity.java:114)
        at com.amazon.android.tv.tenfoot.ui.activities.SplashActivity$1.doInBackground(SplashActivity.java:109)
        at android.os.AsyncTask$2.call(AsyncTask.java:305)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
        at java.lang.Thread.run(Thread.java:761)
07-24 00:42:09.279 7880-7963/? E/Navigator: Error traversing the graph nodes. 
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.Map com.amazon.android.navigator.NavigatorModel.getGraph()' on a null object reference
        at com.amazon.android.navigator.Navigator.<init>(Navigator.java:151)
        at com.amazon.android.navigator.Navigator.<init>(Navigator.java:138)
        at com.amazon.android.contentbrowser.ContentBrowser.<init>(ContentBrowser.java:572)
        at com.amazon.android.contentbrowser.ContentBrowser.getInstance(ContentBrowser.java:736)
        at com.amazon.android.tv.tenfoot.ui.activities.SplashActivity$1.doInBackground(SplashActivity.java:114)
        at com.amazon.android.tv.tenfoot.ui.activities.SplashActivity$1.doInBackground(SplashActivity.java:109)
        at android.os.AsyncTask$2.call(AsyncTask.java:305)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
        at java.lang.Thread.run(Thread.java:761)
07-24 00:42:09.294 7880-7963/? E/NavigatorModelParser: Navigator parsing failed!!! 
    com.fasterxml.jackson.core.JsonParseException: Unexpected close marker ']': expected '}' (for ROOT starting at [Source: ]{"config": {"showRelatedContent": true,"useCategoryAsDefaultRelatedContent": true,"searchAlgo": "basic","enableCEA608": false,"enableRecentRow": true,"maxNumberOfRecentItems": 5},"branding": {"globalTheme": "AppTheme","lightFont" : "Roboto Light","boldFont" : "Roboto Bold","regularFont" : "Roboto Regular"},"globalRecipes": [{"categories": {"dataLoader": "recipes/LightCastDataLoaderRecipe1.json","dynamicParser": "recipes/LightCastCategoriesRecipe.json"},"contents": {"dataLoader": "recipes/LightCastDataLoaderRecipe1.json","dynamicParser": "recipes/LightCastContentsRecipe.json"}},{"categories": {"name": "Hardcoded Category Name"},"contents": {"dataLoader": "recipes/LightCastDataLoaderRecipe1.json","dynamicParser": "recipes/LightCastAllContentsRecipe.json"}}],"graph": {"com.amazon.android.tv.tenfoot.ui.activities.SplashActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_SPLASH_SCREEN"},"com.amazon.android.tv.tenfoot.ui.activities.ContentBrowseActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_HOME_SCREEN"},"com.amazon.android.tv.tenfoot.ui.activities.ContentDetailsActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_DETAILS_SCREEN"},"com.amazon.android.tv.tenfoot.ui.activities.ContentSearchActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_SEARCH_SCREEN"},"com.amazon.android.uamp.ui.PlaybackActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_RENDERER_SCREEN"}}}; line: 1, column: 0])
     at [Source: ]{"config": {"showRelatedContent": true,"useCategoryAsDefaultRelatedContent": true,"searchAlgo": "basic","enableCEA608": false,"enableRecentRow": true,"maxNumberOfRecentItems": 5},"branding": {"globalTheme": "AppTheme","lightFont" : "Roboto Light","boldFont" : "Roboto Bold","regularFont" : "Roboto Regular"},"globalRecipes": [{"categories": {"dataLoader": "recipes/LightCastDataLoaderRecipe1.json","dynamicParser": "recipes/LightCastCategoriesRecipe.json"},"contents": {"dataLoader": "recipes/LightCastDataLoaderRecipe1.json","dynamicParser": "recipes/LightCastContentsRecipe.json"}},{"categories": {"name": "Hardcoded Category Name"},"contents": {"dataLoader": "recipes/LightCastDataLoaderRecipe1.json","dynamicParser": "recipes/LightCastAllContentsRecipe.json"}}],"graph": {"com.amazon.android.tv.tenfoot.ui.activities.SplashActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_SPLASH_SCREEN"},"com.amazon.android.tv.tenfoot.ui.activities.ContentBrowseActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_HOME_SCREEN"},"com.amazon.android.tv.tenfoot.ui.activities.ContentDetailsActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_DETAILS_SCREEN"},"com.amazon.android.tv.tenfoot.ui.activities.ContentSearchActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_SEARCH_SCREEN"},"com.amazon.android.uamp.ui.PlaybackActivity": {"verifyScreenAccess": false,"verifyNetworkConnection": true,"onAction": "CONTENT_RENDERER_SCREEN"}}}; line: 1, column: 2]
        at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1576)
        at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:533)
        at com.fasterxml.jackson.core.base.ParserBase._reportMismatchedEndMarker(ParserBase.java:521)
        at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:599)
        at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3742)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3687)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2714)
        at com.amazon.android.navigator.NavigatorModelParser.parse(NavigatorModelParser.java:47)
        at com.amazon.android.contentbrowser.ContentLoader.<init>(ContentLoader.java:103)
        at com.amazon.android.contentbrowser.ContentLoader.getInstance(ContentLoader.java:153)
        at com.amazon.android.contentbrowser.ContentBrowser.<init>(ContentBrowser.java:575)
        at com.amazon.android.contentbrowser.ContentBrowser.getInstance(ContentBrowser.java:736)
        at com.amazon.android.tv.tenfoot.ui.activities.SplashActivity$1.doInBackground(SplashActivity.java:114)
        at com.amazon.android.tv.tenfoot.ui.activities.SplashActivity$1.doInBackground(SplashActivity.java:109)
        at android.os.AsyncTask$2.call(AsyncTask.java:305)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
        at java.lang.Thread.run(Thread.java:761)
07-24 00:42:09.302 7880-7963/? I/com.amazon.dataloader.datadownloader.AObjectCreator: Creating instance of com.amazon.dataloader.datadownloader.BasicHttpBasedDataDownloader
07-24 00:42:09.309 7880-7964/? I/OpenGLRenderer: Initialized EGL, version 1.4
07-24 00:42:09.310 7880-7963/? I/com.amazon.dataloader.datadownloader.AObjectCreator: Creating instance of com.amazon.dataloader.datadownloader.BasicFileBasedUrlGenerator
07-24 00:42:09.344 7880-7963/? E/SplashActivity: Failed to put data in cache for recipe 
    java.lang.NullPointerException: Attempt to invoke virtual method 'com.amazon.android.navigator.NavigatorModel$Branding com.amazon.android.navigator.NavigatorModel.getBranding()' on a null object reference
        at com.amazon.android.contentbrowser.ContentBrowser.getLightFontPath(ContentBrowser.java:915)
        at com.amazon.android.contentbrowser.helper.FontManager.configureFonts(FontManager.java:52)
        at com.amazon.android.contentbrowser.ContentBrowser.onAllModulesLoaded(ContentBrowser.java:747)
        at com.amazon.android.tv.tenfoot.ui.activities.SplashActivity$1.doInBackground(SplashActivity.java:119)
        at com.amazon.android.tv.tenfoot.ui.activities.SplashActivity$1.doInBackground(SplashActivity.java:109)
        at android.os.AsyncTask$2.call(AsyncTask.java:305)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
        at java.util.concurrent.ThreadPoolExecut
		
fire tvfire app builder
10 |3000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Levon@Amazon avatar image
Levon@Amazon answered

Hi Richard,

Can you please check that your Navigator.json file is formatted correctly? The logs seem to be complaining that it can't parse the Navigator because of an error in the JSON. Thanks!

10 |3000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.