Register / Login  |  Desktop view  |  Jump to bottom of page

tcMenu Designer UI » Library update check failed

Author: zorglups
13/11/2020 23:54:02
I'm running Win10 and therefore installed TcMenu Designer from the Windows store.
The version is 1.7.3

When starting the designer, I get the "Possible error at startup".
Therefore, I go in the settings but:
- I get : Status: Library update check failed
- with a red text: Please update libraries using Arduino Library Manager.

I already tried uninstalling/re-installing or resetting the app but this did not change anything.

The log shows:

2020-11-14 00:50:38.419 +01:00 [INF] Parsing examples
2020-11-14 00:50:38.420 +01:00 [INF] Parsing sketches
2020-11-14 00:50:38.422 +01:00 [INF] Starting to load plugins from C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins
2020-11-14 00:50:38.454 +01:00 [INF] Completed loading plugins without exception from C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins
2020-11-14 00:50:38.467 +01:00 [INF] Loading favourites
2020-11-14 00:50:38.470 +01:00 [INF] Finished loading favourites
2020-11-14 00:50:38.505 +01:00 [INF] Load news items from URL https://www.thecoderscorner.com/tcc/app/getNewsItems
2020-11-14 00:50:38.893 +01:00 [INF] Starting to load plugins from C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins
2020-11-14 00:50:38.927 +01:00 [INF] Loading plugin from C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display
2020-11-14 00:50:38.927 +01:00 [INF] Loading plugin in directory C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display)
2020-11-14 00:50:38.939 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display) dfRobotJoystick.xml
2020-11-14 00:50:38.946 +01:00 [INF] Created plugin dfRobotJoystick.xml with id 7daa6a81-dd09-422e-b83c-bda5045abaef
2020-11-14 00:50:38.947 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display) dfRobotLcd.xml
2020-11-14 00:50:38.955 +01:00 [INF] Created plugin dfRobotLcd.xml with id bcd5fe34-9e9f-4fcb-9edf-f4e3caca0674
2020-11-14 00:50:38.955 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display) i2cLiquidCrystalDisplay.xml
2020-11-14 00:50:38.963 +01:00 [INF] Created plugin i2cLiquidCrystalDisplay.xml with id d4c84106-fa87-4024-b91e-053e17a52b8f
2020-11-14 00:50:38.963 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display) liquidCrystalDisplay.xml
2020-11-14 00:50:38.969 +01:00 [INF] Created plugin liquidCrystalDisplay.xml with id 61f370f4-0294-41cf-8988-1458f242914a
2020-11-14 00:50:38.969 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display) adaArduinoSimpleBuilder.xml
2020-11-14 00:50:38.981 +01:00 [INF] Created plugin adaArduinoSimpleBuilder.xml with id 4dcb12ec-13d8-4466-b8b6-bd575eae4612
2020-11-14 00:50:38.981 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display) adaGfxDisplay.xml
2020-11-14 00:50:38.988 +01:00 [INF] Created plugin adaGfxDisplay.xml with id 7c486068-9879-459f-89ee-9522366524a3
2020-11-14 00:50:38.988 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display) u8g2SimpleBuilder.xml
2020-11-14 00:50:38.999 +01:00 [INF] Created plugin u8g2SimpleBuilder.xml with id fd998437-c4b2-4386-ba88-d0ae7c20620b
2020-11-14 00:50:38.999 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display) u8g2Display.xml
2020-11-14 00:50:39.006 +01:00 [INF] Created plugin u8g2Display.xml with id 8646497b-1427-415f-8020-1260a1fef57d
2020-11-14 00:50:39.006 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display) ssd1306asciiDisplay.xml
2020-11-14 00:50:39.012 +01:00 [INF] Created plugin ssd1306asciiDisplay.xml with id 1ec1b247-cc51-49d7-aa5c-dd0d4530751d
2020-11-14 00:50:39.012 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display) rotaryEncoderInput.xml
2020-11-14 00:50:39.019 +01:00 [INF] Created plugin rotaryEncoderInput.xml with id 6dd87e7d-e751-4912-a70d-91793b1d3d87
2020-11-14 00:50:39.019 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display) upDownSwitchesInput.xml
2020-11-14 00:50:39.026 +01:00 [INF] Created plugin upDownSwitchesInput.xml with id 2a3ae3ba-05f4-4c9c-aad3-3ddc88df9049
2020-11-14 00:50:39.026 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display) analogJoystickInput.xml
2020-11-14 00:50:39.032 +01:00 [INF] Created plugin analogJoystickInput.xml with id 20409bb8-b8a1-4d1d-b632-2cf9b57353e3
2020-11-14 00:50:39.032 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display) adaMbedOled.xml
2020-11-14 00:50:39.039 +01:00 [INF] Created plugin adaMbedOled.xml with id 8a15d500-410f-489d-b3dc-540b05e630ed
2020-11-14 00:50:39.039 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display) noInput.xml
2020-11-14 00:50:39.046 +01:00 [INF] Created plugin noInput.xml with id 89cd7f70-0457-4884-97c2-0db904ccb0ba
2020-11-14 00:50:39.046 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display) noDisplay.xml
2020-11-14 00:50:39.056 +01:00 [INF] Created plugin noDisplay.xml with id cdd0be35-f6ff-40ae-86fc-f9d04a6e8679
2020-11-14 00:50:39.056 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-display (core-display) customDisplay.xml
2020-11-14 00:50:39.063 +01:00 [INF] Created plugin customDisplay.xml with id 8f4821df-c98e-4761-b824-898482df33a5
2020-11-14 00:50:39.066 +01:00 [INF] Loading plugin from C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-remote
2020-11-14 00:50:39.066 +01:00 [INF] Loading plugin in directory C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-remote (core-remote)
2020-11-14 00:50:39.073 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-remote (core-remote) noRemote.xml
2020-11-14 00:50:39.080 +01:00 [INF] Created plugin noRemote.xml with id 2c101fec-1f7d-4ff3-8d2b-992ad41e7fcb
2020-11-14 00:50:39.080 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-remote (core-remote) remoteSerial.xml
2020-11-14 00:50:39.091 +01:00 [INF] Created plugin remoteSerial.xml with id 1e38dc42-672d-4c1c-a393-2c7632bf6c5c
2020-11-14 00:50:39.091 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-remote (core-remote) remoteEthernet.xml
2020-11-14 00:50:39.098 +01:00 [INF] Created plugin remoteEthernet.xml with id 0877131c-e03e-426b-8eaf-228e01f5e7f1
2020-11-14 00:50:39.098 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-remote (core-remote) remoteSerialESP.xml
2020-11-14 00:50:39.105 +01:00 [INF] Created plugin remoteSerialESP.xml with id ba23b2a7-040e-40e2-8fae-d45c82cf450b
2020-11-14 00:50:39.105 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-remote (core-remote) remoteWifiESP.xml
2020-11-14 00:50:39.111 +01:00 [INF] Created plugin remoteWifiESP.xml with id 46c30011-cac6-4598-a7b8-b0630d55daab
2020-11-14 00:50:39.111 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-remote (core-remote) remoteMbedEthernet.xml
2020-11-14 00:50:39.118 +01:00 [INF] Created plugin remoteMbedEthernet.xml with id 27e7a502-330e-4570-9f8e-bd26ac88051f
2020-11-14 00:50:39.118 +01:00 [INF] Attempting to load plugin file C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins\core-remote (core-remote) simhubConnector.xml
2020-11-14 00:50:39.125 +01:00 [INF] Created plugin simhubConnector.xml with id 4123dfc3-5271-4727-81f0-1a21d06b666b
2020-11-14 00:50:39.125 +01:00 [INF] Completed loading plugins without exception from C:\Users\p.hilson\AppData\Local\Packages\TheCodersCorner.comNutric.TcMenuDesigner_ct58ejxq14jb8\LocalState\plugins
2020-11-14 00:50:39.125 +01:00 [ERR] Failed to set visibility of update button
System.NullReferenceException: Object reference not set to an instance of an object.
   at tcMenuDesigner.ArduinoGenerator.ArduinoLibraryInstaller.<ArePluginsUpToDate>d__22.MoveNext() + 0x2ac
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() + 0xf
   at tcMenuDesigner.UWP.MainPage.<SetVisibilityOfUpdateBtn>d__35.MoveNext() + 0x173

2020-11-14 00:50:39.677 +01:00 [INF] Loaded URL, now parsing news
2020-11-14 00:50:39.677 +01:00 [INF] Read all news items successfully
2020-11-14 00:50:43.392 +01:00 [INF] Started refreshing library information
2020-11-14 00:50:43.392 +01:00 [ERR] Exception during resolve libraries in up to date check
System.NullReferenceException: Object reference not set to an instance of an object.
   at tcMenuDesigner.ArduinoGenerator.ArduinoLibraryInstaller.<AreLibrariesUpToDate>d__24.MoveNext() + 0x2da

2020-11-14 00:50:43.392 +01:00 [INF] AboutViewModel update to Library update check failed
2020-11-14 00:50:43.392 +01:00 [ERR] Unable to find library versions
System.NullReferenceException: Object reference not set to an instance of an object.
   at tcMenuDesigner.ArduinoGenerator.ArduinoLibraryInstaller.<ArePluginsUpToDate>d__22.MoveNext() + 0x2ac
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() + 0xf
   at tcMenuDesigner.UWP.ViewModels.SettingsViewModel.<RefreshLibraryStatus>d__43.MoveNext() + 0x389

2020-11-14 00:50:43.415 +01:00 [INF] Started refreshing library information
2020-11-14 00:50:43.415 +01:00 [ERR] Exception during resolve libraries in up to date check
System.NullReferenceException: Object reference not set to an instance of an object.
   at tcMenuDesigner.ArduinoGenerator.ArduinoLibraryInstaller.<AreLibrariesUpToDate>d__24.MoveNext() + 0x2da

2020-11-14 00:50:43.415 +01:00 [INF] AboutViewModel update to Library update check failed
2020-11-14 00:50:43.415 +01:00 [ERR] Unable to find library versions
System.NullReferenceException: Object reference not set to an instance of an object.
   at tcMenuDesigner.ArduinoGenerator.ArduinoLibraryInstaller.<ArePluginsUpToDate>d__22.MoveNext() + 0x2ac
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() + 0xf
   at tcMenuDesigner.UWP.ViewModels.SettingsViewModel.<RefreshLibraryStatus>d__43.MoveNext() + 0x389

2020-11-14 00:50:46.953 +01:00 [INF] Showing directory picker with default , scope 
2020-11-14 00:50:53.522 +01:00 [INF] Directory chosen successfully: C:\Users\p.hilson\Documents\Arduino
2020-11-14 00:50:58.950 +01:00 [INF] Core dirs changed to Windows.Storage.StorageFolder, Windows.Storage.StorageFolder
2020-11-14 00:50:58.951 +01:00 [INF] Parsing examples
2020-11-14 00:50:58.958 +01:00 [INF] Traversing directory C:\Users\p.hilson\Documents\Arduino\libraries\tcMenu\examples (examples)
2020-11-14 00:50:59.019 +01:00 [INF] Found EMF, create project for analogDfRobot.emf
2020-11-14 00:50:59.063 +01:00 [INF] Found EMF, create project for colorTftEthernet.emf
2020-11-14 00:50:59.109 +01:00 [INF] Found EMF, create project for esp32SimHub.emf
2020-11-14 00:50:59.148 +01:00 [INF] Found EMF, create project for Greenhouse.emf
2020-11-14 00:50:59.186 +01:00 [INF] Found EMF, create project for keyboardEthernetShield.emf
2020-11-14 00:50:59.223 +01:00 [INF] Found EMF, create project for nano33ble.emf
2020-11-14 00:50:59.259 +01:00 [INF] Found EMF, create project for securitySystem.emf
2020-11-14 00:50:59.296 +01:00 [INF] Found EMF, create project for remoteControlSerial.emf
2020-11-14 00:50:59.329 +01:00 [INF] Found EMF, create project for simpleU8g2.emf
2020-11-14 00:50:59.365 +01:00 [INF] Found EMF, create project for takeOverDisplay.emf
2020-11-14 00:50:59.398 +01:00 [INF] Found EMF, create project for unoSsd1306Ascii.emf
2020-11-14 00:50:59.415 +01:00 [INF] Parsing sketches
2020-11-14 00:50:59.415 +01:00 [INF] Traversing directory C:\Users\p.hilson\Documents\Arduino (Arduino)
2020-11-14 00:50:59.443 +01:00 [INF] Found EMF, create project for ArdWino.emf
2020-11-14 00:50:59.467 +01:00 [INF] No EMF file in project C:\Users\p.hilson\Documents\Arduino\discover_fake_DS18B20.ino (discover_fake_DS18B20.ino)
2020-11-14 00:50:59.490 +01:00 [INF] No EMF file in project C:\Users\p.hilson\Documents\Arduino\ESP3D (ESP3D)
2020-11-14 00:50:59.520 +01:00 [INF] No EMF file in project C:\Users\p.hilson\Documents\Arduino\jtag2updi (jtag2updi)
2020-11-14 00:50:59.529 +01:00 [INF] No EMF file in project C:\Users\p.hilson\Documents\Arduino\libraries (libraries)
2020-11-14 00:50:59.580 +01:00 [INF] No EMF file in project C:\Users\p.hilson\Documents\Arduino\Repetier-Firmware-4-Davinci-master (Repetier-Firmware-4-Davinci-master)
2020-11-14 00:50:59.586 +01:00 [INF] No EMF file in project C:\Users\p.hilson\Documents\Arduino\TAOSocket (TAOSocket)
2020-11-14 00:50:59.594 +01:00 [INF] Found EMF, create project for TcMenuTest.emf
2020-11-14 00:50:59.605 +01:00 [INF] Loading favourites
2020-11-14 00:50:59.607 +01:00 [INF] Finished loading favourites
2020-11-14 00:50:59.607 +01:00 [ERR] Failed to set visibility of update button
System.NullReferenceException: Object reference not set to an instance of an object.
   at tcMenuDesigner.ArduinoGenerator.ArduinoLibraryInstaller.<ArePluginsUpToDate>d__22.MoveNext() + 0x2ac
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() + 0xf
   at tcMenuDesigner.UWP.MainPage.<SetVisibilityOfUpdateBtn>d__35.MoveNext() + 0x173

2020-11-14 00:51:09.451 +01:00 [INF] Loading news in about dialog
2020-11-14 00:51:09.451 +01:00 [INF] Load news items from URL https://www.thecoderscorner.com/tcc/app/getNewsItems
2020-11-14 00:51:09.999 +01:00 [INF] Loaded URL, now parsing news
2020-11-14 00:51:10.000 +01:00 [INF] Read all news items successfully
2020-11-14 00:51:10.000 +01:00 [INF] Finished loading news in about dialog

Author: davetcc
14/11/2020 14:23:26
Hi there, many thanks for reporting this. We should never throw a null pointer exception, so there's something most certainly wrong that needs our attention.

I can see that you have set the Arduino and libraries directory from the logs so it is not that.

Just to help us work out what the situation is, could you send me the library version as shown in the settings panel. This will confirm that you have the dependent libraries that are needed. (IoAbstraction, LiquidCrystalIO and TaskManagerIO). These should have been installed by Arduino IDE automatically, when you got tcMenu library from library manager.

As part of every release we normally test starting from a clean install, but it's not possible to cover every possible case.

We'll see if we can re-create this scenario on a Windows 10 box and feed back. It sounds like you were able to create it over and over.


Author: davetcc
14/11/2020 14:25:31
BTW the Arduino libraries missing warning should not stop you from generating code, but if there are genuinely any missing libraries then the code may not compile in Arduino.

Author: davetcc
24/11/2020 11:33:46
Many thanks for reporting this, it was a difficult one to track down, but we think we found it.

In short, we load the latest online version file based on a timestamp, we used Hours on a timespan comparison instead of TotalHours, so it depended on what time of the day you started the designer, you must have been close to midnight in UTC, which admittedly I've not tried!

This will be released in the next version of the designer in the next few days, both for Windows 10 and MacOS. I'll write another update here once it's on the Windows store.

Dave.

Author: davetcc
27/11/2020 10:29:21
This is now live on both Windows 10 and MacOS. Thanks Again for reporting.




Register / Login  |  Desktop view  |  Jump to top of page