Exception in rendering!

Message: Cannot call method 'replace' of null

TypeError: Cannot call method 'replace' of null
    at Cs (<eval>:244:335072)
    at a (<eval>:149:10296)
    at he (<eval>:149:11300)
    at e.render (<eval>:149:13810)
    at e.read (<eval>:149:13435)
    at ge.renderToString (<eval>:149:18192)
    at f.a.register.App (<eval>:244:664673)
    at t.default (<eval>:85:340030)
    at t.default (<eval>:149:28370)
    at Object.g.ReactOnRails.serverRenderReactComponent (<eval>:69:158615)