Exception Thrown on Page Refresh

Posted by: peter_murray on 25 October 2019, 3:51 pm EST

    • Post Options:
    • Link

    Posted 25 October 2019, 3:51 pm EST

    In our application, when a specific page containing an implementation of the flex grid component is refreshed, this exception is thrown, and the cause for it is unknown to us.

    Nothing is broken and the application is behaving as expected, but the cause of this error is unknown. Any insight on why this is happening and possible fixes for it would be appreciated.

  • Posted 25 October 2019, 3:52 pm EST

    Forgot to include the exception. See below.

    ERROR TypeError: Cannot read property ‘getAttribute’ of null

    at FlexGridComponent.t._getDefaultRowHeight (wijmo.grid.js:13)
    
    at FlexGridComponent.t.refresh (wijmo.grid.js:13)
    
    at wijmo.js:13
    
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)
    
    at Object.onInvokeTask (core.js:17290)
    
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420)
    
    at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188)
    
    at push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask (zone.js:496)
    
    at ZoneTask.invoke (zone.js:485)
    
    at timer (zone.js:2054)
    
  • Posted 28 October 2019, 12:25 am EST

    Hi Peter,

    Thank you for the information, however we are unable to reproduce this behavior at our end, could you please share a sample implementation which reproduces this behavior so that we can investigate this further,

  • Posted 29 October 2019, 9:38 am EST

    Hi,

    I’ve been working on getting you a demo but the problem has been difficult to reproduce in said demo. Will update here when I have more information.

  • Posted 30 October 2019, 2:19 am EST

    Hi,

    Thank you for keeping us posted.

  • Posted 30 October 2019, 1:28 pm EST

    Hello again,

    It turns out the exception was being caused by something unrelated to wijmo. We’re all set!

  • Posted 30 October 2019, 11:27 pm EST

    Glad to know you were able to resolve the issue. If there’s anything related to Wijmo we can help you with then please let us know

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels