# Crash with ContactsService since upgrade

**URL:** <https://discourse.nodered.org/t/crash-with-contactsservice-since-upgrade/44986>\
**Category:** General\
**Created:** [30 April 2021 12:16 UTC](https://discourse.nodered.org/t/crash-with-contactsservice-since-upgrade/44986 "2021-04-30T12:16:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arfy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/arfy/32/41034_2.png) [@Arfy](https://discourse.nodered.org/u/Arfy)\
**Post date:** [30 April 2021 12:16 UTC](https://discourse.nodered.org/t/crash-with-contactsservice-since-upgrade/44986/1 "2021-04-30T12:16:09Z")

</div>

Hi,  
Yesterday I upgraded to 1.3.3 on my W10:

```auto
29 Apr 15:40:43 - [info] Node-RED version: v1.3.3
29 Apr 15:40:43 - [info] Node.js version: v15.12.0
29 Apr 15:40:43 - [info] Windows_NT 10.0.19042 x64 LE

```

I also upgraded all Palettes.

And since, I faced 2 times the same crash:

```auto
29 Apr 15:29:09 - [red] Uncaught Exception:
29 Apr 15:29:09 - {
  msg: 'The service of the Object ContactsService is not started!!! Can not call method : cleanMemoryCache'
}

```

Someone has an idea where I could have a look ?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [30 April 2021 12:42 UTC](https://discourse.nodered.org/t/crash-with-contactsservice-since-upgrade/44986/2 "2021-04-30T12:42:17Z")

</div>

Did you upgrade Node.js? v15 is not a supported version, but if you did not upgrade it then it is probably not that.

Are you using a Google API in your flows? If yes then probably the issue is to do with that.

Can you post the full log output please? I assume there was more that just that message in the log.

---

<div class="post-metadata">

**Author:** ![Arfy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/arfy/32/41034_2.png) [@Arfy](https://discourse.nodered.org/u/Arfy)\
**Post date:** [30 April 2021 13:13 UTC](https://discourse.nodered.org/t/crash-with-contactsservice-since-upgrade/44986/3 "2021-04-30T13:13:27Z")

</div>

Hi,

No, I didn't upgade Node since mid march (17/03/2021 19:58 58 299 016 node.exe).

I don't use Google API in my flows.  
My receipe is more or less  
My blog's RSS =\> publish to Mastodon and to ALE Rainbow channel

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/9/492ea693533d2095d4e527a48c5827c5d1036263.png)

It just crashed 45 minutes ago, node red is launched with -v.  
As you can see, there is a delay of more than 2 hours between the last RSS and the crash

```auto
30 Apr 11:46:31 - [info] [debug:Channel notif]
{
  payload: {
    messageId: '653BD73415960',
    fromJid: 'a8a49d84ee8b46979068072606312070@openrainbow.com',
    message: '<div>Post link: <a href="https://www.arfy.fr/dotclear/index.php?post/2021/04/30/passwords-google-com-outil-de-Checkup-des-mots-de-passe-stockes-dans-votre-browser-Chrome/Android" target="_blank">passwords.google.com - outil de Checkup des mots de passe stockés dans votre browser Chrome/et dans Android</a></div><p> </p><p>Ce lien ci est évidemment à ouvrir de préférence dans un Chrome où vous êtes connecté avec votre login Chrome/Gmail.</p>\n' +
      '\n' +
      '<div style="margin: 1em auto; text-align: center;"><strong>Check-up Mots de passe </strong><br />\n' +
      '<br />\n' +
      '<a href="https://passwords.google.com/checkup/start" rel="noopener" target="_blank"><img alt="passwords.google.com checkup start.jpg" class="media" src="https://www.arfy.fr/public/passwords.google.com_checkup_start.jpg" /><br />\n' +
      'passwords.google.com</a></div>\n' +
      '\n' +
      "<p>Perso j'avais des mots de passe compromis sur de vieux sites (<em>oubliés</em>) surtout.<br />\n" +
      "Comptes que j'ai supprimé / ou mdp modifié.</p>\n" +
      '\n' +
      `<p>L'outil équivalent via Firefox j'en parlais là <a class="ref-post" href="https://www.arfy.fr/dotclear/index.php?post/2020/03/13/Firefox--let-s-the-Battle-continue-restrict-FB">Firefox, let's the Battle continue - restrict FB, Insta</a> (<em>monitor.firefox.com, à ouvrir de préférence depuis Firefox et utiliser votre compte Firefox/Mozilla</em>)</p>`,
    title: 'passwords.google.com - outil de Checkup des mots de passe stockés dans votre browser Chrome/et dans Android',
    url: 'https://www.arfy.fr/dotclear/index.php?post/2021/04/30/passwords-google-com-outil-de-Checkup-des-mots-de-passe-stockes-dans-votre-browser-Chrome/Android',
    date: 2021-04-30T09:46:28.147Z,
    images: [],
    channel: Channel {
      subscribed: true,
      type: 'owner',
      invited: false,
      serverURL: 'https://openrainbow.com:443',
      pageIndex: 0,
      isLoading: false,
      complete: false,
      users: [],
      publishersRetreived: false,
      loaded: false,
      userRole: 'owner',
      messageRetrieved: false,
      messages: [],
      deleted: false,
      mute: false,
      name: 'Arfy.fr',
      id: '5b1541d01578105ad113f9d1',
      visibility: 'private',
      topic: '"User de tout mais sans en abuser"',
      creatorId: '5a64b7a55df88513c0164f14',
      companyId: '5bb4c14fb8b6c0257df68c97',
      creationDate: '2018-06-04T13:42:40.516Z',
      users_count: 8,
      subscribers_count: 6,
      category: 'globalnews',
      mode: 'company_private',
      max_items: 100,
      max_payload_size: 60000,
      lastAvatarUpdateDate: '2020-03-25T07:53:27.947Z',
      avatar: 'https://openrainbow.com:443/api/channel-avatar/5b1541d01578105ad113f9d1?size=256&ts=1585122807947'
    }
  },
  _msgid: 'dd42a160.545cb'
}
30 Apr 14:15:27 - [red] Uncaught Exception:
30 Apr 14:15:27 - {
  msg: 'The service of the Object ContactsService is not started!!! Can not call method : cleanMemoryCache'
}

```

Do you want me to activate more logs ? In Settings file ?  
I just set it to  
` level: "trace",`  
for next crash =)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [30 April 2021 13:23 UTC](https://discourse.nodered.org/t/crash-with-contactsservice-since-upgrade/44986/4 "2021-04-30T13:23:48Z")

</div>

I am surprised there is not more information in the log, usually there would be a stack trace when node-red crashes. I presume it has crashed?

I presume you have installed some contrib nodes, what are they? Have you checked their github pages for any issues?

---

<div class="post-metadata">

**Author:** ![Arfy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/arfy/32/41034_2.png) [@Arfy](https://discourse.nodered.org/u/Arfy)\
**Post date:** [30 April 2021 13:34 UTC](https://discourse.nodered.org/t/crash-with-contactsservice-since-upgrade/44986/5 "2021-04-30T13:34:53Z")

</div>

Yes it crashed, and no more logs.  
Perhaps with logs at "trace" level next time.

I'll try to check for other nodes contribs this weekend.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [30 April 2021 13:37 UTC](https://discourse.nodered.org/t/crash-with-contactsservice-since-upgrade/44986/6 "2021-04-30T13:37:45Z")

</div>

You can look in Manage Palette to see what nodes you have installed.

---

<div class="post-metadata">

**Author:** ![Arfy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/arfy/32/41034_2.png) [@Arfy](https://discourse.nodered.org/u/Arfy)\
**Post date:** [1 May 2021 05:31 UTC](https://discourse.nodered.org/t/crash-with-contactsservice-since-upgrade/44986/7 "2021-05-01T05:31:08Z")

</div>

Found, I'll contact ALE Rainbow team, the ContactsService and cleanMemoryCache are in their code.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 May 2021 05:31 UTC](https://discourse.nodered.org/t/crash-with-contactsservice-since-upgrade/44986/8 "2021-05-15T05:31:45Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
