atom/deprecation-cop

Uncaught TypeError: Error processing argument at index 0, conversion failure from null

Closed this issue · 3 comments

Prerequisites

Description

[Description of the issue]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Reproduces how often: [What percentage of the time does it reproduce?]

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

angularjs\styles\angularjs.less
Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

atom-text-editor .entity.name.tag.block.any.html.angular, atom-text-editor::shadow .entity.name.tag.block.any.html.angular, atom-text-editor .entity.other.attribute-name.html.angular, atom-text-editor::shadow .entity.other.attribute-name.html.angular => atom-text-editor .entity.name.tag.block.any.html.angular, atom-text-editor.editor .syntax--entity.syntax--name.syntax--tag.syntax--block.syntax--any.syntax--html.syntax--angular, atom-text-editor .entity.other.attribute-name.html.angular, atom-text-editor.editor .syntax--entity.syntax--other.syntax--attribute-name.syntax--html.syntax--angular
atom-text-editor .punctuation.definition.block.begin.angular, atom-text-editor::shadow .punctuation.definition.block.begin.angular, atom-text-editor .punctuation.definition.block.end.angular, atom-text-editor::shadow .punctuation.definition.block.end.angular => atom-text-editor .punctuation.definition.block.begin.angular, atom-text-editor.editor .syntax--punctuation.syntax--definition.syntax--block.syntax--begin.syntax--angular, atom-text-editor .punctuation.definition.block.end.angular, atom-text-editor.editor .syntax--punctuation.syntax--definition.syntax--block.syntax--end.syntax--angular
Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

Thanks for taking the time to contribute!

We noticed that this is a duplicate of #68. You may want to subscribe there for updates.

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.

For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.13.0
Electron Version: 1.3.13
System: Microsoft Windows 10 Home Single Language
Thrown From: deprecation-cop package, v0.55.1

Stack Trace

Uncaught TypeError: Error processing argument at index 0, conversion failure from null

At C:\Users\PRINCE\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\deprecation-cop\lib\deprecation-cop-view.js:164

TypeError: Error processing argument at index 0, conversion failure from null
    at TypeError (native)
    at openExternally (C:\Users\PRINCE\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\deprecation-cop\lib\deprecation-cop-view.js:164:33)
    at Object.success (C:\Users\PRINCE\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\deprecation-cop\lib\deprecation-cop-view.js:178:22)
    at fire (C:\Users\PRINCE\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\jquery\dist\jquery.js:3099:30)
    at Object.fireWith [as resolveWith] (C:\Users\PRINCE\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\jquery\dist\jquery.js:3211:7)
    at done (C:\Users\PRINCE\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\jquery\dist\jquery.js:8264:14)
    at XMLHttpRequest.<anonymous> (C:\Users\PRINCE\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\jquery\dist\jquery.js:8605:9)

Commands

     -3:37 docblockr:parse-enter (input.hidden-input)
     -3:37 editor:newline (input.hidden-input)
     -3:18.1.0 core:move-right (input.hidden-input)
     -3:09.9.0 core:move-down (input.hidden-input)
     -3:09.2.0 docblockr:parse-enter (input.hidden-input)
     -3:09.2.0 editor:newline (input.hidden-input)
  3x -2:54.5.0 core:backspace (input.hidden-input)
     -2:49 core:move-right (input.hidden-input)
     -2:45.9.0 docblockr:parse-enter (input.hidden-input)
     -2:45.9.0 editor:newline (input.hidden-input)
     -2:41.6.0 gpp-compiler:compile (input.hidden-input)
  2x -1:11 deprecation-cop:view (atom-workspace.workspace.scrollbars-visible-always.theme-atom-dracula-black.theme-astromac-ui)
  2x -0:34.8.0 intentions:highlight (input.hidden-input)
     -0:33.9.0 editor:scroll-to-cursor (input.hidden-input)
     -0:33.4.0 intentions:highlight (input.hidden-input)
     -0:32.1.0 core:backspace (input.hidden-input)

Config

{
  "core": {
    "themes": [
      "astromac-ui",
      "atom-dracula-black"
    ]
  }
}

Installed Packages

# User
ajax-request, v0.1.0 (inactive)
android, v0.1.0 (inactive)
android-debugger, v0.1.0 (inactive)
angular-2-typeScript-snippets, v0.6.3 (active)
angular2-snippets, v0.3.0 (active)
angular2-snippets-atom, v0.7.0 (active)
angularjs, v0.3.5 (active)
angularjs-boilerplate-snippets, v0.3.1 (active)
angularjs-snippets, v0.10.18 (active)
angularjs-styleguide-snippets, v0.9.1 (active)
ariake-dark-syntax, v0.0.6 (inactive)
asciidoc-preview, v2.7.1 (active)
astromac-ui, v0.1.0 (active)
astronomical-ui, v0.22.5 (inactive)
atom-abbreviation, v2.2.0 (inactive)
atom-beautify, v0.29.16 (active)
atom-bemmet, v2.0.0 (inactive)
atom-bootstrap3, v1.2.12 (inactive)
atom-bootstrap4, v1.4.0 (active)
atom-clock, v0.1.2 (active)
atom-css-comb, v3.1.0 (inactive)
atom-dracula-black, v0.3.0 (active)
atom-formatter-jsbeautify, v1.1.2 (active)
atom-html-preview, v0.1.22 (active)
atom-html-templates, v0.1.3 (inactive)
atom-htmltidy, v5.1.0 (active)
atom-javascript-console-snippets, v0.10.0 (active)
atom-json-color, v0.4.2 (active)
atom-lorempixel, v0.1.0 (active)
atom-material-syntax, v0.4.6 (inactive)
atom-material-ui, v1.3.8 (inactive)
atom-meteor-snippets, v0.1.0 (inactive)
atom-polymer, v0.13.0 (inactive)
atom-prettify, v0.1.3 (inactive)
atom-runner, v2.7.1 (inactive)
atom-ternjs, v0.16.1 (inactive)
atom-typescript, v10.1.13 (active)
atom-webbrowser, v2.1.4 (active)
atom-yeoman, v0.3.15 (active)
atometer, v0.1.0 (active)
atomic-ui, v1.5.2 (inactive)
autocomplete-angular-material, v0.4.0 (active)
autocomplete-jquery-mobile, v0.2.2 (active)
autocomplete-json, v5.2.0 (active)
autocomplete-meteor-packages, v1.3.0 (active)
bootstrap-3-snippetset, v0.0.6 (active)
bootstrap3-plus, v0.1.2 (inactive)
bootstrap3-snippets, v0.1.2 (active)
bootstrap4-snippets, v0.2.2 (active)
bronokai, v1.0.0 (inactive)
browser-plus, v0.0.87 (active)
browser-plus-open-new-window, v0.0.1 (active)
cdn-libs, v0.1.2 (active)
color-picker, v2.2.3 (active)
colorpicker, v0.3.0 (active)
css-clean, v2.16.0 (inactive)
css-comb, v2.5.0 (active)
css-spy, v0.6.0 (active)
csscomb, v0.3.1 (inactive)
csslint, v1.1.5 (active)
dev-lorem, v0.1.2 (inactive)
django-templates, v0.5.0 (active)
docblockr, v0.9.1 (active)
dracula-theme, v1.2.8 (inactive)
dracula-ui, v0.3.0 (inactive)
eddy-malou-lorem-ipsum, v0.2.0 (active)
electron-light-syntax, v1.4.0 (inactive)
emmet-jsx-css-modules, v1.0.0 (active)
emmet-jsx-props, v1.2.5 (active)
emmet-simplified, v2.5.0 (active)
emmet-snippets-compatibility, v1.0.6 (active)
emmet-snippets-compatibility-but-less-extreme, v1.1.0 (active)
es6-javascript, v1.0.0 (inactive)
eval-javascript, v1.2.0 (inactive)
export-html, v3.0.0 (inactive)
file-icons, v2.0.8 (active)
formatter-jsbeautify, v1.0.2 (active)
formatter-json, v1.0.1 (active)
gcc-make-run, v0.2.9 (active)
gloom, v0.3.4 (inactive)
gpp-compiler, v3.0.7 (active)
htmlhint, v1.1.4 (active)
intentions, v1.1.2 (active)
intentions-colorpicker, v1.0.1 (active)
jade-beautify, v0.1.5 (active)
jade-bootstrap3-snippets, v0.3.0 (active)
javascript-object-snippets, v0.3.0 (active)
javascript-snippets, v1.2.1 (active)
javascript-standard-snippets, v0.2.1 (active)
jQuery, v1.2.5 (active)
jquery-snippets, v11.0.0 (active)
json-converter, v0.2.4 (inactive)
json-schema, v0.1.15 (active)
jsonlint, v1.1.4 (active)
language-html5-subtlegradient, v0.1.0 (active)
language-javascript-better, v1.7.1 (active)
language-javascript-jsx, v0.3.7 (active)
linter, v1.11.18 (active)
linter-bootlint, v1.0.2 (active)
linter-package-json-validator, v1.0.1 (active)
linter-pep8, v1.3.2 (active)
linter-sass-lint, v1.7.4 (active)
linter-spell, v0.12.6 (active)
linter-spell-javascript, v0.7.1 (inactive)
linter-tidy, v2.3.0 (active)
linter-write-good, v0.8.0 (active)
lipsum, v0.1.0 (inactive)
livestyle-atom, v0.2.7 (active)
lorem-insults, v0.1.0 (inactive)
mathjax-wrapper, v0.1.0 (active)
meteor-api, v2.20.0 (active)
minimap, v4.25.7 (active)
minimap-pigments, v0.2.2 (active)
neutron-syntax, v0.7.0 (inactive)
neutron-ui, v0.4.0 (inactive)
ng2-snippets, v0.2.2 (active)
nord-atom-syntax, v0.4.0 (inactive)
nord-atom-ui, v0.9.0 (inactive)
open-html-in-browser, v0.1.0 (inactive)
open-in-browser, v0.4.7 (inactive)
open-in-browsers, v0.0.19 (active)
platformio-ide-terminal, v2.2.2 (active)
polymer-snippets, v3.2.1 (inactive)
pretty-json, v1.6.1 (active)
preview, v0.17.0 (inactive)
qolor, v0.4.1 (active)
quick-query, v0.8.8 (inactive)
reduced-dark-ui, v0.3.2 (inactive)
run-in-browser, v0.1.3 (active)
seti-syntax, v1.0.1 (inactive)
seti-ui-beta, v0.1.1 (inactive)
seti-ui-red, v0.13.0 (inactive)
solarized-seti-ui, v0.8.6 (inactive)
svg-preview, v0.11.0 (active)
titanium-language-javascript, v0.48.0 (inactive)
transform, v0.4.0 (inactive)
tron-green-ui, v0.7.0 (inactive)
tron-legacy, v0.5.0 (inactive)
tron-theme, v0.3.2 (inactive)
turbo-javascript, v1.4.0 (inactive)
uglify, v1.3.0 (inactive)
v-bootstrap4, v0.1.8 (active)
atom-dark-syntax, v0.28.0 (inactive)
atom-dark-ui, v0.53.0 (inactive)
atom-light-syntax, v0.29.0 (inactive)
atom-light-ui, v0.46.0 (inactive)
base16-tomorrow-dark-theme, v1.4.0 (inactive)
base16-tomorrow-light-theme, v1.4.0 (inactive)
one-dark-ui, v1.8.2 (inactive)
one-light-ui, v1.8.2 (inactive)
one-dark-syntax, v1.6.0 (inactive)
one-light-syntax, v1.6.0 (inactive)
solarized-dark-syntax, v1.1.1 (inactive)
solarized-light-syntax, v1.1.1 (inactive)
about, v1.7.2 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.14.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.33.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.29.0 (inactive)
autosave, v0.23.2 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.43.2 (active)
bracket-matcher, v0.85.1 (active)
command-palette, v0.39.1 (inactive)
deprecation-cop, v0.55.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.204.5 (active)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.2.0 (active)
go-to-line, v0.31.2 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.1 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.159.1 (active)
metrics, v1.1.2 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.2 (inactive)
settings-view, v0.244.0 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.5 (active)
status-bar, v1.6.0 (active)
styleguide, v0.48.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.1 (active)
timecop, v0.33.2 (active)
tree-view, v0.211.1 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.39.0 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.1 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages