-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Uncaught TypeError: Cannot read properties of null (reading 'splice') #5277
Comments
This is similar to the error that happens after calling |
@nightwing , I haven't used session model, I've directly configured the basePath, modePath and etc.
Here, while changing mode using I've never used session concept. If you suggest me to use it, please provide a working example, I'll adapt accordingly. |
Do you get the same issue if you use |
Yes @akoreman , I tired using the suggested solution. It resulted same. |
@hariharan605 are you using the same version for both ace and the cdn? the cdn version of 1.16.0 you are using is a bit old. I have tried to recreate the issue with the code you have provided above, but when versions of cdn url and ace.js match it does not throw an error. See here |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Describe the bug
Using ace-build NPM package - Version 1.16.0
Use case 1 :
and
Whenever I try to delete a whole document and enter a new character, it gets printed twice and the above error displayed in console.
Use case 2 :
Whenever I try to cut the code, the last two lines of the code gets copied to clipboard whereas other lines were gone and the above error displayed in console.
A help would be seriously appreciable as I struck in this for weeks and couldn't figure out what went wrong here.
Expected Behavior
Use case 1 :
No double character printing should happen.
Use case 2 :
Cut operation should happen flawlessly.
Current Behavior
Use case 1 :
Whenever I try to delete a whole document and enter a new character, it gets printed twice and the above error displayed in console.
Use case 2 :
Whenever I try to cut the code, the last two lines of the code gets copied to clipboard whereas other lines were gone and the above error displayed in console.
Reproduction Steps
Use case 1 :
Whenever I try to delete a whole document and enter a new character, it gets printed twice and the above error displayed in console.
Use case 2 :
Whenever I try to cut the code, the last two lines of the code gets copied to clipboard whereas other lines were gone and the above error displayed in console.
Possible Solution
No response
Additional Information/Context
No response
Ace Version / Browser / OS / Keyboard layout
ace : 1.16.0, macos 12.6.5, Chrome 115.0.5790.114
The text was updated successfully, but these errors were encountered: