Community
Participate
Working Groups
Eclipse (2021-06 (4.20.0)) when opened becom slow then crach with dialogbox message error "scanning task crash" the message errror content is : ---------------------------------- assertion failed: Marker property value is too long: www.w3.org/1999/xlink",this.attributeName)}setValue(e){return this.element.setAttributeNS("http://www.w3.org/1999/xlink",this.attributeName,e)}subscribe(){throw new Error(`Observation of a "${this.element.nodeName}" element's "${this.propertyName}" property is not supported.`)}};const dataAttributeAccessor={getValue:(e,t)=>e.getAttribute(t),setValue:(e,t,i)=>{null==e?t.removeAttribute(i):t.setAttribute(i,e)}};let DataAttributeObserver=class{constructor(e,t){this.element=e,this.propertyName=t}getValue(){return this.element.getAttribute(this.propertyName)}setValue(e){return null==e?this.element.removeAttribute(this.propertyName):this.element.setAttribute(this.propertyName,e)}subscribe(){throw new Error(`Observation of a "${this.element.nodeName}" element's "${this.propertyName}" property is not supported.`)}},StyleObserver=class{constructor(e,t){this.element=e,this.propertyName=t,this.styles=null,this.version=0}getValue(){return this.element.style.cssText}_setProperty(e,t){let i="";null!=t&&"function"==typeof t.indexOf&&-1!==t.indexOf("!important")&&(i="important",t=t.replace("!important","")),this.element.style.setProperty(e,t,i)}setValue(e){let t,i=this.styles||{},r=this.version;if(null!=e)if(e instanceof Object){let n;for(t in e)e.hasOwnProperty(t)&&(n=e[t],i[t=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())]=r,this._setProperty(t,n))}else if(e.length){let n,s=/\s*([\w\-]+)\s*:\s*((?:(?:[\w\-]+\(\s*(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[\w\-]+\(\s*(?:^"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^\)]*)\),?|[^\)]*)\),?|"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^;]*),?\s*)+);?/g;for(;null!==(n=s.exec(e));)(t=n[1])&&(i[t]=r,this._setProperty(t,n[2]))}if(this.styles=i,this.version+=1,0!==r)for(t in r-=1,i)i.hasOwnProperty(t)&&i[t]===r&&this.element.style.removeProperty(t)}subscribe(){throw new Error(`Observation of a "${this.element.nodeName}" element's "${this.propertyName}" property is not supported.`)}},ValueAttributeObserver=(_dec7$1=subscriberCollection())(_class8=class{constructor(e,t,i){this.element=e,this.propertyName=t,this.handler=i,"files"===t&&(this.setValue=(()=>{}))}getValue(){return this.element[this.propertyName]}setValue(e){e=null==e?"":e,this.element[this.propertyName]!==e&&(this.element[this.propertyName]=e,this.notify())}notify(){let e=this.oldValue,t=this.getValue();this.callSubscribers(t,e),this.oldValue=t}handleEvent(){this.notify()}subscribe(e,t){this.hasSubscribers()||(this.oldValue=this.getValue(),this.handler.subscribe(this.element,this)),this.addSubscriber(e,t)}unsubscribe(e,t){this.removeSubscriber(e,t)&&!this.hasSubscribers()&&this.handler.dispose()}})||_class8;const checkedArrayContext="CheckedObserver:array",checkedValueContext="CheckedObserver:value";let CheckedObserver=(_dec8=subscriberCollection())(_class9=class{constructor(e,t,i){this.element=e,this.handler=t,this.observerLocator=i}getValue(){return this.value}setValue(e){this.initialSync&&this.value===e||(this.arrayObserver&&(this.arrayObserver.unsubscribe(checkedArrayContext,this),this.arrayObserver=null),"checkbox"===this.element.type&&Array.isArray(e)&&(this.arrayObserver=this.observerLocator.getArrayObserver(e),this.arrayObserver.subscribe(checkedArrayContext,this)),this.oldValue=this.value,this.value=e,this.synchronizeElement(),this.notify(),this.initialSync||(this.initialSync=!0,this.observerLocator.taskQueue.queueMicroTask(this)))}call(e,t){this.synchronizeElement(),this.valueObserver||(this.valueObserver=this.element.__observers__.model||this.element.__observers__.value,this.valueObserver&&this.valueObserver.subscribe(checkedValueContext,this))}synchronizeElement(){let e=this.value,t=this.element,i=t.hasOwnProperty("model")?t.model:t.value,r="radio"===t.type,n=t.matcher||((e,t)=>e===t);t.checked=r&&!!n(e,i)||!r&&!0===e||!r&&Array.isArray(e)&&-1!==e.findIndex(e=>!!n(e,i))}synchronizeValue(){let e,t=this.value,i=this.element,r=i.hasOwnProperty("model")?i.model:i.value,n=i.matcher||((e,t)=>e===t);if("checkbox"===i.type){if(Array.isArray(t))return e=t.findIndex(e=>!!n(e,r)),void(i.checked&&-1===e?t.push(r):i.checked||-1===e||t.splice(e,1));t=i.checked}else{if(!i.checked)return;t=r}this.oldValue=this.value,this.value=t,this.notify()}notify(){let e=this.oldValue,t=this.value;t!==e&&this.callSubscribers(t,e)}handleEvent(){this.synchronizeValue()}subscribe(e,t){this.hasSubscribers()||this.handler.subscribe(this.element,this),this.addSubscriber(e,t)}unsubscribe(e,t){this.removeSubscriber(e,t)&&!this.hasSubscribers()&&this.handler.dispose()}unbind(){this.arrayObserver&&(this.arrayObserver.unsubscribe(checkedArrayContext,this),this.arrayObserver=null),this.valueObserver&&this.valueObserver.unsubscribe(checkedValueContext,this)}})||_class9;const selectArrayContext="SelectValueObserver:array";let SelectValueObserver=(_dec9=subscriberCollection())(_class10=class{constructor(e,t,i){this.element=e,this.handler=t,this.observerLocator=i}getValue(){return this.value}setValue(e){if(null!=e&&this.element.multiple&&!Array.isArray(e))throw new Error("Only null or Array instances can be bound to a multi-select.");this.value!==e&&(this.arrayObserver&&(this.arrayObserver.unsubscribe(selectArrayContext,this),this.arrayObserver=null),Array.isArray(e)&&(this.arrayObserver=this.observerLocator.getArrayObserver(e),this.arrayObserver.subscribe(selectArrayContext,this)),this.oldValue=this.value,this.value=e,this.synchronizeOptions(),this.notify(),this.initialSync||(this.initialSync=!0,this.observerLocator.taskQueue.queueMicroTask(this)))}call(e,t){this.synchronizeOptions()}synchronizeOptions(){let e,t=this.value;Array.isArray(t)&&(e=!0);let i=this.element.options,r=i.length,n=this.element.matcher||((e,t)=>e===t);for(;r--;){let s=i.item(r),o=s.hasOwnProperty("model")?s.model:s.value;e?s.selected=-1!==t.findIndex(e=>!!n(o,e)):s.selected=!!n(o,t)}}synchronizeValue(){let e=this.element.options,t=0,i=[];for(let r=0,n=e.length;r<n;r++){let n=e.item(r);n.selected&&(i.push(n.hasOwnProperty("model")?n.model:n.value),t++)}if(this.element.multiple){if(Array.isArray(this.value)){let e=this.element.matcher||((e,t)=>e===t),t=0;for(;t<this.value.length;){let r=this.value[t];-1===i.findIndex(t=>e(r,t))?this.value.splice(t,1):t++}for(t=0;t<i.length;){let r=i[t];-1===this.value.findIndex(t=>e(r,t))&&this.value.push(r),t++}return}}else i=0===t?null:i[0];i!==this.value&&(this.oldValue=this.value,this.value=i,this.notify())}notify(){let e=this.oldValue,t=this.value;this.callSubscribers(t,e)}handleEvent(){this.synchronizeValue()}subscribe(e,t){this.hasSubscribers()||this.handler.subscribe(this.element,this),this.addSubscriber(e,t)}unsubscribe(e,t){this.removeSubscriber(e,t)&&!this.hasSubscribers()&&this.handler.dispose()}bind(){this.domObserver=DOM.createMutationObserver(()=>{this.synchronizeOptions(),this.synchronizeValue()}),this.domObserver.observe(this.element,{childList:!0,subtree:!0,characterData:!0})}unbind(){this.domObserver.disconnect(),this.domObserver=null,this.arrayObserver&&(this.arrayObserver.unsubscribe(selectArrayContext,this),this.arrayObserver=null)}})||_class10,ClassObserver=class{constructor(e){this.element=e,this.doNotCache=!0,this.value="",this.version=0}getValue(){return this.value}setValue(e){let t,i,r=this.nameIndex||{},n=this.version;if(null!=e&&e.length)for(let s=0,o=(t=e.split(/\s+/)).length;s<o;s++)""!==(i=t[s])&&(r[i]=n,this.element.classList.add(i));if(this.value=e,this.nameIndex=r,this.version+=1,0!==n)for(i in n-=1,r)r.hasOwnProperty(i)&&r[i]===n&&this.element.classList.remove(i)}subscribe(){throw new Error(`Observation of a "${this.element.nodeName}" element's "class" property is not supported.`)}};function hasDeclaredDependencies(e){return!!(e&&e.get&&e.get.dependencies)}function declarePropertyDependencies(e,t,i){Object.getOwnPropertyDescriptor(e.prototype,t).get.dependencies=i}function computedFrom(...e){return function(t,i,r){return r.get.dependencies=e,r}}let svgElements,svgPresentationElements,svgPresentationAttributes,svgAnalyzer,ComputedExpression=class extends Expression{constructor(e,t){super(),this.name=e,this.dependencies=t,this.isAssignable=!0}evaluate(e,t){return e.bindingContext[this.name]}assign(e,t){e.bindingContext[this.name]=t}accept(e){throw new Error("not implemented")}connect(e,t){let i=this.dependencies,r=i.length;for(;r--;)i[r].connect(e,t)}};function createComputedObserver(e,t,i,r){let n=i.get.dependencies;if(!(n instanceof ComputedExpression)){let e=n.length;for(;e--;)n[e]=r.parser.parse(n[e]);n=i.get.dependencies=new ComputedExpression(t,n)}let s={bindingContext:e,overrideContext:createOverrideContext(e)};return new ExpressionObserver(s,n,r)}if("undefined"==typeof FEATURE_NO_SVG){svgElements={a:["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","style","systemLanguage","target","transform","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],altGlyph:["class","dx","dy","externalResourcesRequired","format","glyphRef","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","rotate","style","systemLanguage","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],altGlyphDef:["id","xml:base","xml:lang","xml:space"],altGlyphItem:["id","xml:base","xml:lang","xml:space"],animate:["accumulate","additive","attributeName","attributeType","begin","by","calcMode","dur","end","externalResourcesRequired","fill","from","id","keySplines","keyTimes","max","min","onbegin","onend","onload","onrepeat","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","systemLanguage","to","values","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:spac
Please provide all details for the bug report: https://www.eclipse.org/eclipse/platform-text/development/bug-incomplete.htm
*** Bug 574301 has been marked as a duplicate of this bug. ***
Created attachment 286657 [details] Dialog box show this log I open my Java project, then I get this crash - computer cpu become 100% (1minute) on Eclipse 2021-06 and so on Eclipse 2021-03