This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE Dev (Build 201012100001) VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05 OS: Windows 7 User Comments: martinvium: Happens all the time, not sure what starts it martinvium: Every time i make a selection GUEST: selected text GUEST: double clicked a variable to select it. basically every time i select text, whether by keyboard or mouse i get this error. makes netbeans unusable. Stacktrace: java.lang.AbstractMethodError: org.netbeans.modules.php.editor.PHPCodeCompletion.getApplicableTemplates(Ljavax/swing/text/Document;II)Ljava/util/Set; at org.netbeans.modules.csl.editor.codetemplates.GsfCodeTemplateFilter.<init>(GsfCodeTemplateFilter.java:75) at org.netbeans.modules.csl.editor.codetemplates.GsfCodeTemplateFilter.<init>(GsfCodeTemplateFilter.java:62) at org.netbeans.modules.csl.editor.codetemplates.GsfCodeTemplateFilter$Factory.createFilter(GsfCodeTemplateFilter.java:96) at org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.getTemplateFilters(CodeTemplateManagerOperation.java:230) at org.netbeans.lib.editor.codetemplates.SurroundWithFix.getFixes(SurroundWithFix.java:74) at org.netbeans.lib.editor.codetemplates.AbbrevDetection$2.run(AbbrevDetection.java:431)
Created attachment 104804 [details] stacktrace
Honzo, I have bumped the spec version of CSL module when doing the API change. Seems like the reporters have the new CSL version (from autoupdate) with old dependent modules. Should have I bumped all the dependent modules versions as well? Would that be enough? Thanks for your advice.
Bumping the spec. versions of all dependent modules+ensuring they depend on the new version of CSL API will help(*). Sorry I forgot about that. I can do the change if needed. (*) It is still possible that exceptions like this will appear even after this change, if some language modules are not updated from the AUC but CSL is, but that will be easy to resolve by updating from the AUC, and cannot be easily prevented using module dependencies.
I will do it. I hope I will not forget a module this time ;-)
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=175665
Created attachment 104830 [details] stacktrace created javascript file and attempted to edit
This bug already has 50 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=175665
Should be fixed after http://hg.netbeans.org/jet-main/rev/49407a515ebc The problems were caused by some modules being updated from the update center while the dependencies were not. Quick fix for the people facing the problem is to grab a consistent build without any updates. I apologize for the troubles.
Integrated into 'main-golden', will be available in build *201101110000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/49407a515ebc User: David Strupl <dstrupl@netbeans.org> Log: #194135: fixing module dependencies after #193935
*** Bug 194159 has been marked as a duplicate of this bug. ***