Exception in rendering!

Message: Cannot call method 'replace' of null

TypeError: Cannot call method 'replace' of null
    at rl (<eval>:210:336951)
    at a (<eval>:136:10842)
    at ve (<eval>:136:11862)
    at e.render (<eval>:136:14444)
    at e.read (<eval>:136:14069)
    at be.renderToString (<eval>:136:18770)
    at f.a.register.App (<eval>:210:704416)
    at t.default (<eval>:73:329856)
    at t.default (<eval>:136:28949)
    at Object.v.ReactOnRails.serverRenderReactComponent (<eval>:63:165563)