{"action":"created","issue":{"url":"https://api.github.com/repos/atom-minimap/minimap/issues/379","labels_url":"https://api.github.com/repos/atom-minimap/minimap/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/atom-minimap/minimap/issues/379/comments","events_url":"https://api.github.com/repos/atom-minimap/minimap/issues/379/events","html_url":"https://github.com/atom-minimap/minimap/issues/379","id":103642543,"number":379,"title":"Uncaught TypeError: Cannot read property 'getCharWidth' of null","user":{"login":"liuzhen","id":79963,"avatar_url":"https://avatars.githubusercontent.com/u/79963?v=3","gravatar_id":"","url":"https://api.github.com/users/liuzhen","html_url":"https://github.com/liuzhen","followers_url":"https://api.github.com/users/liuzhen/followers","following_url":"https://api.github.com/users/liuzhen/following{/other_user}","gists_url":"https://api.github.com/users/liuzhen/gists{/gist_id}","starred_url":"https://api.github.com/users/liuzhen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuzhen/subscriptions","organizations_url":"https://api.github.com/users/liuzhen/orgs","repos_url":"https://api.github.com/users/liuzhen/repos","events_url":"https://api.github.com/users/liuzhen/events{/privacy}","received_events_url":"https://api.github.com/users/liuzhen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-28T03:57:15Z","updated_at":"2015-08-28T09:48:53Z","closed_at":"2015-08-28T09:48:53Z","body":"[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 1.0.8\r\n**System**: Mac OS X 10.10.4\r\n**Thrown From**: [minimap](https://github.com/atom-minimap/minimap) package, v4.13.2\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'getCharWidth' of null\r\n\r\n```\r\nAt /Users/liuzhen/.atom/packages/minimap/lib/minimap-element.coffee:430\r\n\r\nTypeError: Cannot read property 'getCharWidth' of null\r\n    at atom-text-editor-minimap.MinimapElement.measureHeightAndWidth (/Users/liuzhen/.atom/packages/minimap/lib/minimap-element.coffee:430:38)\r\n    at atom-text-editor-minimap.MinimapElement.attachedCallback (/Users/liuzhen/.atom/packages/minimap/lib/minimap-element.coffee:91:6)\r\n    at atom-pane.PaneElement.activeItemChanged (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-element.js:150:24)\r\n    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)\r\n    at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:250:22)\r\n    at Pane.module.exports.Pane.activateItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:314:21)\r\n    at tabs-tab.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:210:24)\r\n    at space-pen-ul.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)\r\n    at space-pen-ul.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n  3x -0:37.3.0 core:close (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {},\r\n  \"minimap\": {\r\n    \"absoluteMode\": true,\r\n    \"plugins\": {\r\n      \"git-diff\": true,\r\n      \"linter\": true,\r\n      \"selection\": true,\r\n      \"find-and-replace\": true\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nautocomplete-erlang, v1.1.1\r\nhttp-status-codes, v1.0.4\r\nlanguage-erlang, v3.0.0\r\nlanguage-protobuf, v0.5.0\r\nlinter, v1.4.3\r\nlinter-erlang, v0.2.0\r\nminimap, v4.13.2\r\nminimap-find-and-replace, v4.3.0\r\nminimap-git-diff, v4.1.8\r\nminimap-linter, v1.0.0\r\nminimap-selection, v4.3.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 1.0.8\r\n**System**: Mac OS X 10.10.4\r\n**Thrown From**: [minimap](https://github.com/atom-minimap/minimap) package, v4.13.2\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'getCharWidth' of null\r\n\r\n```\r\nAt /Users/liuzhen/.atom/packages/minimap/lib/minimap-element.coffee:430\r\n\r\nTypeError: Cannot read property 'getCharWidth' of null\r\n    at atom-text-editor-minimap.MinimapElement.measureHeightAndWidth (/Users/liuzhen/.atom/packages/minimap/lib/minimap-element.coffee:430:38)\r\n    at atom-text-editor-minimap.MinimapElement.attachedCallback (/Users/liuzhen/.atom/packages/minimap/lib/minimap-element.coffee:91:6)\r\n    at atom-pane.PaneElement.activeItemChanged (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-element.js:150:24)\r\n    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)\r\n    at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:250:22)\r\n    at Pane.module.exports.Pane.activateItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:314:21)\r\n    at tabs-tab.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:210:24)\r\n    at space-pen-ul.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)\r\n    at space-pen-ul.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n  3x -0:37.3.0 core:close (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {},\r\n  \"minimap\": {\r\n    \"absoluteMode\": true,\r\n    \"plugins\": {\r\n      \"git-diff\": true,\r\n      \"linter\": true,\r\n      \"selection\": true,\r\n      \"find-and-replace\": true\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nautocomplete-erlang, v1.1.1\r\nhttp-status-codes, v1.0.4\r\nlanguage-erlang, v3.0.0\r\nlanguage-protobuf, v0.5.0\r\nlinter, v1.4.3\r\nlinter-erlang, v0.2.0\r\nminimap, v4.13.2\r\nminimap-find-and-replace, v4.3.0\r\nminimap-git-diff, v4.1.8\r\nminimap-linter, v1.0.0\r\nminimap-selection, v4.3.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/atom-minimap/minimap/issues/comments/135722654","html_url":"https://github.com/atom-minimap/minimap/issues/379#issuecomment-135722654","issue_url":"https://api.github.com/repos/atom-minimap/minimap/issues/379","id":135722654,"user":{"login":"abe33","id":247140,"avatar_url":"https://avatars.githubusercontent.com/u/247140?v=3","gravatar_id":"","url":"https://api.github.com/users/abe33","html_url":"https://github.com/abe33","followers_url":"https://api.github.com/users/abe33/followers","following_url":"https://api.github.com/users/abe33/following{/other_user}","gists_url":"https://api.github.com/users/abe33/gists{/gist_id}","starred_url":"https://api.github.com/users/abe33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abe33/subscriptions","organizations_url":"https://api.github.com/users/abe33/orgs","repos_url":"https://api.github.com/users/abe33/repos","events_url":"https://api.github.com/users/abe33/events{/privacy}","received_events_url":"https://api.github.com/users/abe33/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T09:48:53Z","updated_at":"2015-08-28T09:48:53Z","body":"Ok glad to hear that, and again, sorry for the inconvenience. I'll close the issue then."}}