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.
Summary: | JVI-Plugin: NoClassDefFoundError: org/netbeans/modules/editor/completion/ScreenBoundsProvider | ||
---|---|---|---|
Product: | editor | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Completion & Templates | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | abargnesi, dbalek, err, joe7pak, jtulach, markiewb, mcmagi, nsegura3 |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 197339 |
Bug Depends on: | |||
Bug Blocks: | 179047 | ||
Attachments: |
stacktrace
Speculations where the patched classes are coming from |
Description
Exceptions Reporter
2013-01-29 01:26:23 UTC
Created attachment 130752 [details]
stacktrace
What is com.raelity.jvi.nb.patches.org.netbeans.modules.editor.completion ? The name of the module sounds very suspicious and I'd start investigation for the classloading error here... *** Bug 226478 has been marked as a duplicate of this bug. *** Created attachment 132363 [details] Speculations where the patched classes are coming from (In reply to comment #2) > What is > com.raelity.jvi.nb.patches.org.netbeans.modules.editor.completion > ? The name of the module sounds very suspicious and I'd start investigation for > the classloading error here... Any news here? The cause could be the vi/vim plugin from http://jvi.sourceforge.net/? See the attached screenshot for some speculations/details I am also having this issue and is definitely related to the jvi plugin. The plugin must be completely uninstalled (not simply disabled) in order for auto-complete to work properly. This is odd, since this only happens on my home machine. I also have NB73+jvi on my work machine and I do not have this problem there. Quite unfortunate as jvi was my greatest reason for continuing to use NetBeans. (In reply to comment #5) > I am also having this issue and is definitely related to the jvi plugin. The > plugin must be completely uninstalled (not simply disabled) in order for > auto-complete to work properly. This is odd, since this only happens on my > home machine. I also have NB73+jvi on my work machine and I do not have this > problem there. > > Quite unfortunate as jvi was my greatest reason for continuing to use NetBeans. Please file a ticket at http://jvi.sourceforge.net/ Filed a ticket at the jVi project: https://sourceforge.net/p/jvi/bugs/174/ jVi does not patch any NB modules in NB-7.3. With the plugin manager you can verify that they are not installed in your NB-7.3. Is it possible that if NB imports plugins from a previous version that it could pick up patch jars that came from modules that would not install? This issue may be jVi related but the two modules com-raelity-jvi-nb-patches-org-netbeans-modules-editor-completion.nbm com-raelity-jvi-nb-patches-org-openide-text.nbm should have nothing to do with the problem. These have implementation dependencies and will only install on NB-7.0 (and not in NB-7.0.1 or later). Not sure when I'll get some time to look at it, but if I can't reproduce it (see comment #5) then finding a solution will be difficult. I have run into problems when importing everything from 7.2 into 7.3 during install. I have found that if I install without import and then selectively install and import jVi (and some other) options that problems are avoided. Could this be a difference in the two systems mentioned in comment #5? Actually, my experience was exactly the opposite. I upgraded my work machine from NB 7.2 to 7.3 then imported the modules and jVi works fine. It's still using jVi 1.4.7 and I've refrained from upgrading to 1.4.8 to avoid this issue from occurring there. My home machine was a fresh install of NB 7.3. I then installed jVi 1.4.8 via the jVi update center (which is under Available Plugins). When that didn't work I tried uninstalling the plugin, then downloading and installing 1.4.8 manually from the jVi website. I also repeated with 1.4.7 to no avail. The module com-raelity-jvi-nb-patches-org-netbeans-modules-editor-completion.nbm can be installed in NB-7.3! Investigating. Uninstalling this modules should fix the problem. BTW, IIUC, taking this modules out of the UC will not fix situations where the module is already installed. com-raelity-jvi-nb-patches-org-netbeans-modules-editor-completion.nbm patches a single class, CompletionLayoutPopup, in org.netbeans.modules.editor.completion. The module depends on org.netbeans.modules.editor.completion and under "Project > Libraries > Editor Code Completion > Edit Module Dependencies" the Implementation Version is selected. However that doesn't really do what I wanted. In the manifest there is OpenIDE-Module-Module-Dependencies ="org.netbeans.modules.editor.completion/1 = 1 which wouldn't seem to be the kind of restriction I was looking for. I don't know if this is a NB bug or a misunderstanding on my part; but I think that explains why the module is allowed to install. The patch does in fact reference ScreenBoundsProvider which apparently no longer exists in editor/completion. Correction In the manifest there is should read In the updates.xml there is Jarda, could you comment on my misconceptions as discussed in comment 11? I've removed the offending modules from the Update Center and nbvi-1.4.8.zip file. I've modified the plugin portal to remove NB-7.0 support for the UC. A bad install must be manually fixed, Use the NB plugin manager to uninstall com-raelity-jvi-nb-patches-org-netbeans-modules-editor-completion.nbm display name is jVi: NB-7.0.1 patch for jvi command line completion That fixed the problem. Thanks! Can the implementation version (and spec version) of org.netbeans.modules.editor.completion be changed. Preferably in a 7.3 patch release. That would fix the problem for any corrupted installations. (In reply to comment #16) ping. Can the impl version be changed? Is there some kind of problem in doing so? > Can the implementation version (and spec version) of > org.netbeans.modules.editor.completion > be changed. Preferably in a 7.3 patch release. That would fix the problem for > any corrupted installations. The module spec version has been already changed as part of http://hg.netbeans.org/jet-main/rev/7015a3b5cad6 IIUC, the implementation version must also be changed. When I set up the patch module, I used an implementation dependency. There may have been a better or more complete way to do this, but it is too late to change what has already been released. Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/c6aeab1f75eb Integrated into 'main-golden', will be available in build *201305172300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c6aeab1f75eb User: Dusan Balek <dbalek@netbeans.org> Log: Increasing module implementation varsion - see issue #225437. |