Community
Participate
Working Groups
Created attachment 261761 [details] Error log entry Running Eclipse Java EE IDE for Web Developers. Version: Neon Milestone 7 (4.6.0M7) Build id: 20160505-1310 with JavaScript Development Tools 2.0.0.v201604300029. I have the following issue: I started editing a JS file which has snipet similar to: newThing.prop1 = prop1; newThing.prop2 = prop2; return newThing; Before newThing.prop2 I started typing new intending to add another prop to newThing. However, I was greeted by an error dialog which said An error has occurred. See error log for more details. org.eclipse.wst.jsdt.internal.core.dom.binding.VariableBinding cannot be cast to org.eclipse.wst.jsdt.core.dom.IFunctionBinding The problem is that everytime I press OK the dialog immediately comes back again. I also noticed that this starts happening if I open the file and just wait a couple of seconds... The general form of the file ( can't share it ) is Namespace.Obj = Namespace.Obj || function(param) { "use strict"; var myVal = {}; function abc() { return myVal; } // code here var retVal = generateRetVal(); retVal.abc = abc; return retVal; };
Created attachment 263021 [details] screen showing the problem i can confirm this bug too just downloaded and installed javascript-neon a few days. sadly the editor gets blocked untill i click somewhere else in order to clear any kind of selection made. is there any workaround rather than this?
*** This bug has been marked as a duplicate of bug 496749 ***