         queryInfo.marker = marker
         @processedQueries.push queryInfo
 
-        editor.decorateMarker(marker, type: 'line-number', class: 'query-loading')
+        editor.decorateMarker(marker, type: 'line-number', class: 'query-loading') if marker?
     escapeRegExp: (str) ->
         str = str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
         return str.replace(/(?:\r\n|\r|\n)/g, '[\\r?\\n]');

        for query in @processedQueries
            if query.queryId == result.queryid
                setTimeout( () =>
                    unless query.marker.isDestroyed()
                        atom.workspace.getActiveTextEditor().decorateMarker(query.marker, type: 'line-number', class: 'query-rendering')
                , 300)


        item = document.createElement('div')
        item.classList.add 'arrow_box'
        item.textContent = description
        atom.workspace.getActiveTextEditor().decorateMarker(m, {type:'overlay', item}, position:'head') if m?

        @errorMarkers.push(m)

