Jump to content

Cannot set properties of null (setting 'readOnly')


bruno65

Recommended Posts

Sometimes i get Ajax error popup with title " 

Cannot set properties of null (setting 'readOnly')

but the detail of the error is not really readable for a human.

How can i find the origin of that kind of bug (on the client side of course) ?

Link to comment
Share on other sites

Inside Chrome browser debugger i always find : c.dom is null 

it happens when i click inside a cell of a inherited grid of TUniDBGrid but I don't find a use-case to reproduce the bug each time 

Note c equals ctor in the debugger but I don't know what it represents 

Link to comment
Share on other sites

It's difficult to create a test-case so far, i don't find specific scenario to repeat the bug every time. I just know that i can reproduce it quite easily (the dom of ctor is null).

But if i can create it i will post it as attached file

Link to comment
Share on other sites

I installed the latest release of uniGUI 1.95.0 build 1575 (trial version) and the bug still happens :

 

Inside browser (Chrome and Edge) debugger i always find : c.dom is null 

it happens when i click inside a cell of a inherited grid of TUniDBGrid but I don't find a use-case to reproduce this bug everytime 

Note c equals ctor in the debugger but I don't know what it represents ? does it come from ExtJS or uniGUI ? 

the same web app with UniGUI 0.99.96 build 1318 + XE3 works fine (but we need to upgrade our web app)

Link to comment
Share on other sites

i stay on the same page which contains à DBGrid

image.thumb.png.285f8f8b145de057b03b3b56067cbf11.png

then i change value in editable cells in the grid or i click in readonly cells in the grid. After a moment i will get the error

image.thumb.png.0e8f7c540ed22c2dcbbfa60af0e7d7e9.png

I check in the Elements tab of Chrome browser and the element with id=08AD_id-inputEl doesn't exist ! 

The DOM of the all page is loaded only once at the beginning, isn't ?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...