17
Views
2
Comments
[Office Space] Cannot convert undefined of null to object error in OfficeSpace
Question
Forge component by Hugo Pinheiro
4
Published on 21 Aug 2020

Hi,

I have successfully installed an configured OfficeSpace and OfficeSpaceManager, and boot loaded some proper values, but when using the OfficeSpace module (using PWA in Chrome browser or on iPhone), on every transmit of a web page is receiving the error "Cannot convert undefined of null to object". 


The following is displayed in Chrome console. I have all the correct/supported dependencies apart from OutSystems UI, which I current have the latest on 2.5.9, and not 2.5.2 as stated on your forge component.


Any help would be appreciated. Cheers



Logger.js:476 [2020-10-07T22:40:56.738Z]: Cannot convert undefined or null to object
TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at https://uapl-dev.outsystemscloud.com/OfficeSpace/scripts/LocalNotificationsPlugin.LocalNotificationsPlugin.NotificationsEventsEmitter.mvc.js?QVIbNsHlbDIbfZ+2oxi3Iw:516:21
at Controller.safeExecuteJSNode (https://uapl-dev.outsystemscloud.com/OfficeSpace/scripts/OutSystems.js?xMOoxMfm84XXmTysZD6avg:14:26836)
at Controller._onDestroy$Action (https://uapl-dev.outsystemscloud.com/OfficeSpace/scripts/LocalNotificationsPlugin.LocalNotificationsPlugin.NotificationsEventsEmitter.mvc.js?QVIbNsHlbDIbfZ+2oxi3Iw:255:12)
at https://uapl-dev.outsystemscloud.com/OfficeSpace/scripts/OutSystems.js?xMOoxMfm84XXmTysZD6avg:15:5938
at f (https://uapl-dev.outsystemscloud.com/OfficeSpace/scripts/OutSystems.js?xMOoxMfm84XXmTysZD6avg:2:11779)
at d (https://uapl-dev.outsystemscloud.com/OfficeSpace/scripts/OutSystems.js?xMOoxMfm84XXmTysZD6avg:2:11525)
at Object.p [as tryCatchFinally] (https://uapl-dev.outsystemscloud.com/OfficeSpace/scripts/OutSystems.js?xMOoxMfm84XXmTysZD6avg:2:12028)
at Controller.safeExecuteClientAction (https://uapl-dev.outsystemscloud.com/OfficeSpace/scripts/OutSystems.js?xMOoxMfm84XXmTysZD6avg:15:5902)
at Controller.onDestroy$Action (https://uapl-dev.outsystemscloud.com/OfficeSpace/scripts/LocalNotificationsPlugin.LocalNotificationsPlugin.NotificationsEventsEmitter.mvc.js?QVIbNsHlbDIbfZ+2oxi3Iw:386:19)

Hi Ian,

just a naive question, the plugins of this app are supported for a PWA use case? Since the error you are getting is something that would occur if a plugin was not ready for PWA.


Chers,

António Pereira

Rank: #5731

Hi,

I don't understand your statement. What is a PWA/PWA use case?

Ian