Crashes in Current main Branch



  • I get now often following error after git pull today:

    @400000005707b689004ed98c 8/4 15:47 [30005] - error: TypeError: Cannot read property 'name' of null
    @400000005707b689004f086c     at /home/ok/ggg/src/controllers/admin/categories.js:27:56
    @400000005707b689004f086c     at fireFilterHook (/home/ok/ggg/src/plugins/hooks.js:92:11)
    @400000005707b689004f0c54     at Object.Plugins.fireHook (/home/ok/ggg/src/plugins/hooks.js:76:5)
    @400000005707b689004f103c     at /home/ok/ggg/src/controllers/admin/categories.js:23:11
    @400000005707b689004f103c     at /home/ok/ggg/node_modules/async/lib/async.js:726:13
    @400000005707b6890050d55c     at /home/ok/ggg/node_modules/async/lib/async.js:52:16
    @400000005707b6890050d944     at done (/home/ok/ggg/node_modules/async/lib/async.js:246:17)
    @400000005707b6890050d944     at /home/ok/ggg/node_modules/async/lib/async.js:44:16
    @400000005707b6890050dd2c     at /home/ok/ggg/node_modules/async/lib/async.js:723:17
    @400000005707b6890050e114     at /home/ok/ggg/node_modules/async/lib/async.js:167:37
    @400000005707b689006612dc TypeError: Cannot read property 'name' of null
    @400000005707b689006616c4     at /home/ok/ggg/src/controllers/admin/categories.js:27:56
    @400000005707b68900661aac     at fireFilterHook (/home/ok/ggg/src/plugins/hooks.js:92:11)
    @400000005707b68900661aac     at Object.Plugins.fireHook (/home/ok/ggg/src/plugins/hooks.js:76:5)
    @400000005707b68900661e94     at /home/ok/ggg/src/controllers/admin/categories.js:23:11
    @400000005707b6890066227c     at /home/ok/ggg/node_modules/async/lib/async.js:726:13
    @400000005707b6890066af1c     at /home/ok/ggg/node_modules/async/lib/async.js:52:16
    @400000005707b6890066b304     at done (/home/ok/ggg/node_modules/async/lib/async.js:246:17)
    @400000005707b6890066b6ec     at /home/ok/ggg/node_modules/async/lib/async.js:44:16
    @400000005707b6890066b6ec     at /home/ok/ggg/node_modules/async/lib/async.js:723:17
    @400000005707b6890066bad4     at /home/ok/ggg/node_modules/async/lib/async.js:167:37
    

  • GNU/Linux

    highly advise staying off the beta releases, the idea is great for testers maybe not so great for ppl wanting stable components



  • Sorry if I bother some one to much, I am aware of the problems of the main branch and I know, that I am using the main branch and it can destroy my forum, my computer, create singularity and wipe the universe. I thought I can help , if I see such errors and do not have time to look on it deeply just now, than I write it here. If this is wrong place or no body find it useful, I will not write it here anymore.


  • Admin

    Please specify your git revision and the page you are on when this happens.


  • Admin

    The should get rid of the crash
    https://github.com/NodeBB/NodeBB/commit/a81285befa35899a8bd9c6aea656bf1fc2073903

    Although it seems you might have an invalid category in your database.



  • Thank you for the reply! It has fixed the problem, and it was indeed invalid category, I need also check the database, able somewhere is a invalid reference ...


Log in to reply
 


Star

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.