cannot read property 'children' of null

cannot read property 'children' of null

  

I have a list like the picture below

When i click to see detail, exit alert like picture below

Can you help me overcome this ?


Thanks,

Imas

Hello imas,

There are a few things that can be happening.

One of them is that you are using something from another module that don't exists anymore, or that have changed.
In this case this would be a reference problem and a refresh of the references possibly would solve or show you what changed and that you have to adapt your side.

But could be also other things. 

Can you attach here an OML that shows this error?

Cheers,
Eduardo Jauch

Hi imas,

I found this post where this error appears and seems related to your problem.

I don't know if it was already corrected, but if you don't have the latest version of Silk UI Mobile, it could be a good idea to upgrade it as there is a chance this was already fixed in newer versions. 

In any case, If you can't upload your project here, you could try to do a small test application that uses the same "structure" (the list), so that you can attach the module and we can take a look and do some tests. This would allow us to try to find a workaround, for example.

Cheers,

Eduardo Jauch

Hi Eduardo


When I create a new module and apply my method. Successful and not error


Cheers,

Imas

Hi Eduardo 

I found the source of the problem. It happens because on my detail page there is a button bar, like the picture below

Cheers,

Imas 

Hi imas,

This is not a "button" bar (like a bar with buttons). It's a "bottom" bar.
It's a standard web block that is automatically added to every page in your mobile application, at the bottom of the screen. You can place widgets on it (including buttons).

You can find this web block in the Common flow.

Unless you have added something to this web block that is causing the problem, the web block itself shouldn't be the source of the problem.

So, if removing the bottom bar web block solves the issue, you should investigate what is inside it, or what is in your page that conflicts with it. 

Cheers,
Eduardo Jauch

Hi Eduardo

Right, I've investigated the contents of that bar, so I removed the "ButtomBar" because I did not need this in my detail page


Cheers,

Imas 

Hi, 

Just out of curiosity, what is inside the bottom bar that is causing the conflict?

Cheers,
Eduardo Jauch

The problem is the header, sticky headers are not Native thats why it returns that error

The issue appeared while trying to search for a file using the fuzzy finder. While trying the same search again multiple times, I was unable to reproduce it again.

Atom: 1.16.0-beta0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.3
Thrown From: file-icons package 2.0.17

Stack Trace

Uncaught TypeError: Cannot read property 'children' of null

love guru specialist

At /Users/user/.atom/packages/file-icons/lib/consumers/fuzzy-finder.js:164

TypeError: Cannot read property 'children' of null
    at timeouts.set.setTimeout (/packages/file-icons/lib/consumers/fuzzy-finder.js:164:36)