Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

TypeError: null: type 'JSNull' is not a subtype of type 'String'

オープン
#2,852 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
dart
領域
cli

調査の方向性

報告された URL を使ってエラーを再現することから始め、dwds/src/injected/client.js のスタックトレース、特に _asString と main__closure7 を調べます。String が期待されている箇所に null を供給しているイベントを追跡し、その後、同じインタラクションで TypeError が発生しなくなったことを確認します。

索引モデルが issue の本文から書いたものです。

説明

P2 package:dwds triaged type-bug

TypeError: null: type 'JSNull' is not a subtype of type 'String'

at Object.wrapException (http://localhost:63795/dwds/src/injected/client.js:1249:43)
at Object._asString (http://localhost:63795/dwds/src/injected/client.js:2840:15)
at main__closure7.call$1 (http://localhost:63795/dwds/src/injected/client.js:26677:54)
at _EventStreamSubscription_closure.call$1 (http://localhost:63795/dwds/src/injected/client.js:26040:26)
at StaticClosure._rootRunUnary (http://localhost:63795/dwds/src/injected/client.js:4382:16)
at _CustomZone.runUnary$2$2 (http://localhost:63795/dwds/src/injected/client.js:14273:39)
at _CustomZone.runUnaryGuarded$1$2 (http://localhost:63795/dwds/src/injected/client.js:14220:14)
at _CustomZone_bindUnaryCallbackGuarded_closure.call$1 (http://localhost:63795/dwds/src/injected/client.js:14407:25)
at _callDartFunctionFast1 (http://localhost:63795/dwds/src/injected/client.js:7680:25)
at http://localhost:63795/dwds/src/injected/client.js:7656:18
主要言語
Dart
スター
224
フォーク
95
平均マージ
3日 8時間
マージ済み PR(30日)
7

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dart-lang/webdev のほかの issue

dart-lang/webdev の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。