-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(common/models): cannot apply transform to null context 🐵 #10136
Comments
Sentry issue: KEYMAN-WEB-ET This one appears to line up against a different block, but for the same issue: an unexpected My best guess here is this block: keyman/common/web/lm-worker/src/main/correction/context-tracker.ts Lines 536 to 544 in d8a6467
The That said, the version with the associated commit is 17.0.190, with the feature-branch merge around 17.0.200. That said, there may have been some rebasing of the commits involved. |
BTW, this is behind the sporadic errors that were noticed when trying out #10103 on an Android phone. The version data & timeline matches quite well, and the "environment" for the first linked event is |
At any rate, since this is something we don't seem to be seeing in current stable or alpha builds, it's likely feature-gestures related, and that means that the issue likely arose out of #9855 in some manner. |
Just had a lucky trigger from standalone-Web when testing something else. Here's the log:
Fortunately, as I was working with full unminified sourcemap access, we got better logs for this event! My two most-recent keystrokes were BKSP, and I was clearing text. I'd only typed a single "word" to begin with. |
Sentry Issue: KEYMAN-WEB-FH
@jahorton on the analysis here.
Diving into the lm-worker minified source, I have been able to map the error to the following section:
keyman/common/models/templates/src/common.ts
Lines 8 to 11 in baad2e8
Note line 10 in particular - that's the line that's failing. So... something's attempting to apply a transform to a null context. The natural question is, of course... "what?"
The section of minified code:
The line-column identifier matches perfectly to
i=e|.left
- that is, with the caret between thee
and the.
.The text was updated successfully, but these errors were encountered: