# Impossible to add a tile viewer to the table

**URL:** <https://community.datagrok.ai/t/impossible-to-add-a-tile-viewer-to-the-table/479>\
**Category:** Issues\
**Created:** [December 11, 2020, 9:31am UTC](https://community.datagrok.ai/t/impossible-to-add-a-tile-viewer-to-the-table/479 "2020-12-11T09:31:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![olesia.nefedova](https://community.datagrok.ai/letter_avatar_proxy/v4/letter/o/a8b319/32.png) [@olesia.nefedova](https://community.datagrok.ai/u/olesia.nefedova)\
**Post date:** [December 11, 2020, 9:31am UTC](https://community.datagrok.ai/t/impossible-to-add-a-tile-viewer-to-the-table/479/1 "2020-12-11T09:31:01Z")

</div>

Hi team, for some reason we can’t add a tile viewer to our table. It fails with an error:

```
isolate_helper.dart:480 Uncaught TypeError: Cannot read property 'toLowerCase' of null
```

---

<div class="post-metadata">

**Author:** ![alex.paramonov](https://community.datagrok.ai/user_avatar/community.datagrok.ai/alex.paramonov/32/9_2.png) [@alex.paramonov](https://community.datagrok.ai/u/alex.paramonov)\
**Post date:** [December 11, 2020, 9:32am UTC](https://community.datagrok.ai/t/impossible-to-add-a-tile-viewer-to-the-table/479/2 "2020-12-11T09:32:30Z")

</div>

Hi. Do you have the stacktrace?

---

<div class="post-metadata">

**Author:** ![olesia.nefedova](https://community.datagrok.ai/letter_avatar_proxy/v4/letter/o/a8b319/32.png) [@olesia.nefedova](https://community.datagrok.ai/u/olesia.nefedova)\
**Post date:** [December 11, 2020, 12:59pm UTC](https://community.datagrok.ai/t/impossible-to-add-a-tile-viewer-to-the-table/479/3 "2020-12-11T12:59:18Z")

</div>

Yes, I do:

```
Uncaught TypeError: Cannot read property 'toLowerCase' of null
    at eRE.$1 (js_string.dart:166)
    at Object.ng (utils.dart:366)
    at Object.dart.dd (xp.dart:318)
    at cSG.$0 (xp.dart:631)
    at cPN.aa (iterable.dart:520)
    at e8a.dart.e8a.$1 (xp.dart:631)
    at W1.yR (sketch_field.dart:47)
    at chE.aej (sketch_element_handler.dart:49)
    at chE.aei (login.dart.js_1.part.js?80774:36208)
    at Ko.dart.Ko.aIP (tile_viewer_core.dart:24)
    at Object.eval (eval at b2Y (js_helper.dart:2942), <anonymous>:3:34)
    at Dy.Nn (virtual_item_view.dart:84)
    at Dy.dart.Dy.avu (virtual_item_view.dart:142)
    at cCP.dart.cCP.$0 (virtual_item_view.dart:61)
    at cs8.dart.cs8.$0 (isolate_helper.dart:1393)
    at eJM.$0 (js_helper.dart:2454)
    at Lq.GQ (isolate_helper.dart:474)
    at Object.E_ (isolate_helper.dart:59)
    at dart.eJL (js_helper.dart:2454)
    at js_helper.dart:2476
```

---

<div class="post-metadata">

**Author:** ![alex.paramonov](https://community.datagrok.ai/user_avatar/community.datagrok.ai/alex.paramonov/32/9_2.png) [@alex.paramonov](https://community.datagrok.ai/u/alex.paramonov)\
**Post date:** [December 11, 2020, 1:01pm UTC](https://community.datagrok.ai/t/impossible-to-add-a-tile-viewer-to-the-table/479/4 "2020-12-11T13:01:30Z")

</div>

Briefly looked in – it seems that some table doesn’t have a name.  
Just set .name to all the tables you open.

We will fix it on our side to avoid this exception, thanks!

---

<div class="post-metadata">

**Author:** ![olesia.nefedova](https://community.datagrok.ai/letter_avatar_proxy/v4/letter/o/a8b319/32.png) [@olesia.nefedova](https://community.datagrok.ai/u/olesia.nefedova)\
**Post date:** [December 11, 2020, 1:20pm UTC](https://community.datagrok.ai/t/impossible-to-add-a-tile-viewer-to-the-table/479/5 "2020-12-11T13:20:34Z")

</div>

Thank you!

But our table has a name, I’ve just checked using `grok.shell.v.table.name` and `grok.shell.v.name` and `grok.shell.v.dataFrame.name`. All of them return the name.

---

<div class="post-metadata">

**Author:** ![alex.paramonov](https://community.datagrok.ai/user_avatar/community.datagrok.ai/alex.paramonov/32/9_2.png) [@alex.paramonov](https://community.datagrok.ai/u/alex.paramonov)\
**Post date:** [December 11, 2020, 1:22pm UTC](https://community.datagrok.ai/t/impossible-to-add-a-tile-viewer-to-the-table/479/6 "2020-12-11T13:22:37Z")

</div>

Not yours but one of the opened tables.  
That’s a bug that DG allows a table without a name to be added to xp.tables

---

<div class="post-metadata">

**Author:** ![nico.pulver.novartis.com](https://community.datagrok.ai/letter_avatar_proxy/v4/letter/n/76d3ee/32.png) [@nico.pulver.novartis.com](https://community.datagrok.ai/u/nico.pulver.novartis.com)\
**Post date:** [January 20, 2021, 1:35pm UTC](https://community.datagrok.ai/t/impossible-to-add-a-tile-viewer-to-the-table/479/7 "2021-01-20T13:35:52Z")

</div>

Alex, do you know if this will already be fixed as part of the DG update we planned to do in the next few weeks?

---

<div class="post-metadata">

**Author:** ![alex.paramonov](https://community.datagrok.ai/user_avatar/community.datagrok.ai/alex.paramonov/32/9_2.png) [@alex.paramonov](https://community.datagrok.ai/u/alex.paramonov)\
**Post date:** [January 22, 2021, 11:09am UTC](https://community.datagrok.ai/t/impossible-to-add-a-tile-viewer-to-the-table/479/8 "2021-01-22T11:09:01Z")

</div>

Hi Nico, Sorry for delay, I have a ticket for that, will do it within a couple of days
