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.

Bug 243298 - shortcuts.ShortcutSettings is back! CNFE: org.netbeans.modules.options.keymap.Utils
Summary: shortcuts.ShortcutSettings is back! CNFE: org.netbeans.modules.options.keymap...
Status: NEW
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 8.0
Hardware: All All
: P1 normal (vote)
Assignee: marsaultj
URL:
Keywords:
: 242687 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-26 16:52 UTC by Exceptions Reporter
Modified: 2014-04-02 01:38 UTC (History)
12 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 208715


Attachments
stacktrace (3.34 KB, text/plain)
2014-03-26 16:52 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-03-26 16:52:03 UTC
This bug was originally marked as duplicate of bug 226553, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Mac OS X

User Comments:
szmitek: Open Smarty template Schedule.tpl in PHP project.Windows 8

GUEST: <Please provide a description of the problem or the steps to reproduce>modules with C are not working

GUEST: opening an existing HTML file

angelsu: Create a new html5 project

szmitek: Right click on Cell.php in Projects

szmitek: Opening Jave class

GUEST: tried to open pom.xml, which worked then.

GUEST: Second Start of NetBeans 7.3

szmitek: Background scanning of projects, opening histogram_equalization.java class and right click on Java SE project in Projects tab

kamon: ??

szmitek: Creating Makefile in LaTeX project

szmitek: Opening Java class

GUEST: Exception during opening a source code file




Stacktrace: 
java.lang.ClassNotFoundException: org.netbeans.modules.options.keymap.Utils
   at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
Comment 1 Exceptions Reporter 2014-03-26 16:52:06 UTC
Created attachment 146333 [details]
stacktrace
Comment 2 Jaroslav Tulach 2014-03-31 08:11:28 UTC
*** Bug 242687 has been marked as a duplicate of this bug. ***
Comment 3 Jaroslav Tulach 2014-03-31 08:16:22 UTC
org.netbeans.Shortcuts is know to be broken for a long time. It has been put on the "import modules blacklist for 8.0". However there are failures from 8.0! How do people manage to install it?

Reporters, please explain how you managed to install the Shortcuts module! Assigning to Jirka, as I see similar module on our update center:
http://plugins.netbeans.org/plugin/43857/command-shortcuts
Even approved for 8.0! Remove it.
Comment 4 Jiri Rechtacek 2014-03-31 09:04:12 UTC
There was a typo in backlist - patched in http://hg.netbeans.org/core-main/rev/217cbcd41c1c
The blacklist restricts import of the plugins stated on this list.

I think the patch should be transplanted to patch1, besides removing a wrong plugin from update center.
Comment 5 Jiri Kovalsky 2014-03-31 09:38:17 UTC
Jeremy, can you please take a look at this issue and avoid throwing the exception? This bug is like a broken record repeating itself wit every NetBeans release. In the worst case we will remove the plugin from the Plugin Portal if you ignore our request. Thanks for your cooperation!
Comment 6 marsaultj 2014-03-31 11:18:55 UTC
I'm afraid but as long as the import of an old version will be possible, this problem will continue to occur. I finally removed the old plugin versions  (< Netbeans 7.4) from the Portal which cause this error with newer versions of Netbeans.
Comment 7 Jiri Kovalsky 2014-03-31 11:58:41 UTC
And what happens when somebody imports the plugin from 7.4 to 8.0? Will it work correctly?
Comment 8 marsaultj 2014-03-31 12:48:39 UTC
This should no longer be possible. It uses an implementation dependency on "org.netbeans.modules.options.keymap" since Netbeans 7.3 instead of using reflection.

Now, I build a new plugin version for every new version of this module.
Comment 9 Jiri Kovalsky 2014-03-31 13:13:22 UTC
OK, makes sense. However, due to the implementation dependency you cannot require verification of your plugin for publishing it on the Plugin Portal Update Center. See issue #226906 for more information how to fix this properly.
Comment 10 Quality Engineering 2014-04-02 01:38:51 UTC
Integrated into 'main-silver', will be available in build *201404020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/217cbcd41c1c
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #243298: a typo