Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#13962 closed Bug (invalid)

Ckeditor style has blocklimit null pointer exceptions

Reported by: FanFan Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: 4.5.7
Keywords: Cc:

Description

Steps to reproduce

Our logs on our server indicate our customers are experiencing exceptions with the style.js.

The following line is sometimes null:

https://github.com/ckeditor/ckeditor-dev/blob/379aed2a38d62cb4796aa5307ed43f21a32f6bf7/core/style.js#L377

Causing us to observe an exceptions:


Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; rv:11.0) like Gecko TypeError: Unable to get property blockLimit of undefined or null reference

at CKEDITOR.style.prototype.checkApplicable (https://au.casewarecloud.com/rsd/e/v/880c8c5a/external/ng-ckeditor/libs/ckeditor/ckeditor.js:460:398) at onOpen (https://au.casewarecloud.com/rsd/e/v/880c8c5a/external/ng-ckeditor/libs/ckeditor/ckeditor.js:785:56) at e.onShow (https://au.casewarecloud.com/rsd/


Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36 TypeError: Cannot read property blockLimit of null

at Object.CKEDITOR.style.checkApplicable (https://au.casewarecloud.com/northcorp/e/v/f7ece53/external/ng-ckeditor/libs/ckeditor/ckeditor.js:460:407) at c.ui.addRichCombo.onOpen (https://au.casewarecloud.com/northcorp/e/v/f7ece53/external/ng-ckeditor/libs/ckeditor/ckeditor.js:785:58) at e.onShow (https://au.casewarecloud.com/northcorp/e/v/f7ece53/external/ng-ckeditor/libs/ckedit

Attachments (1)

2016-03-17_15-54-51.mp4 (537.5 KB) - added by Nick 3 years ago.
How to reproduce

Download all attachments as: .zip

Change History (4)

comment:1 Changed 3 years ago by Jakub Ś

Keywords: Null Pointer Exception Crash removed
Resolution: invalid
Status: newclosed
Version: 4.5.6 (GitHub - master)

I'm sorry but that is too little information.

In order to accept a bug we need reproduction steps in standalone CKEditor not included into your application. If you are able to reproduce it in default standalone CKEditor, please provide steps to do so.

For now I have to close this ticket but as soon as you provide the scenario to reproduce this problem, I will reopen it.

Changed 3 years ago by Nick

Attachment: 2016-03-17_15-54-51.mp4 added

How to reproduce

comment:2 Changed 3 years ago by Nick

Please see the attached file on how to reproduce the issue.

This works on the default sample, and your demo page http://ckeditor.com/demo

The sample version that I use is: 4.5.7

comment:3 Changed 3 years ago by Nick

Version: 4.5.7
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy