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: | ClassNotFoundException: org.netbeans.core.actions.ViewRuntimeTabAction | ||
---|---|---|---|
Product: | updatecenters | Reporter: | deamonuy <deamonuy> |
Component: | Pluginportal | Assignee: | Jesse Glick <jglick> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | adhikari, alessandronip, ashtavi, bonji3, cahosoft, deamonuy, deyringer, dome, fedesaravia, fjvallarino, foonix, gt78, jglick, johanandren, jskrivanek, jtulach, juthakiat, lfbc, manusa, matiasgrassi, mmirilovic, ravilan, rdelaplante, rsaravanakumar, rsmeds, slawekmikula, stinnux, sustaining, teepussi, tionline, triplox, urostr, vagnermontenegro, wangcll, zn_cn_2 |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=148721 | ||
Issue Type: | DEFECT | Exception Reporter: | 148721 |
Bug Depends on: | |||
Bug Blocks: | 161286 | ||
Attachments: |
stacktrace
stacktrace stacktrace stacktrace |
Description
deamonuy
2009-04-28 21:23:11 UTC
Created attachment 81122 [details]
stacktrace
Please, could you give us detailed description? I don't know where to get ireport plugin. Step-by-step scenario would be helpful. I know Jesse moved the action to another module recently. Maybe the system is confused due to that? In 99eb1a5de1b6; it is now org.netbeans.core.ide.ServicesTabAction. I guess there could be a META-INF/netbeans/translate.names for this, though I am not sure why you would have an old *.instance file for this menu item to begin with, unless you have a very old user dir dating to when menu customization was still supported. Probably incompatible jasper ireport plugin. Giulio, can you please take a look at this? Thanks! Build: NetBeans IDE 6.7 RC1 (Build 200905282243) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: SunOS, 5.11, x86 User Comments: I opened the IDE from desktop icon. I see the start page. About 10 projects are visible in the projects tab. Stacktrace: java.lang.ClassNotFoundException: org.netbeans.core.actions.ViewRuntimeTabAction starting from SystemClassLoader[448 modules] with possible defining loaders [ModuleCL@487fb7[org.netbeans.core]] and declared parents [ModuleCL@1ff8de3[org.netbeans.modules.ant.kit], ModuleCL@a16605[org.netbeans.modules.websvc.wsstack.jaxws], ModuleCL@5bdfae[org.netbeans.modules.apisupport.refactoring], ModuleCL@2b7bd9[org.netbeans.modules.websvc.jaxwsmodel], ModuleCL@1cb2dd1[org.netbeans.modules.websvc.jaxrpc16], ModuleCL@1f13b08[org.netbeans.modules.db.kit], ModuleCL@73cc11[org.netbeans.libs.freemarker], ModuleCL@166ce5f[org.netbeans.modules.xml.jaxb], ModuleCL@30e4a7[org.netbeans.modules.welcome], ModuleCL@1af7a03[org.netbeans.modules.sendopts], ...433 more] at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:259) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at org.openide.loaders.InstanceSupport.findClass(InstanceSupport.java:497) at org.openide.loaders.InstanceSupport.instanceClass(InstanceSupport.java:145) at org.openide.loaders.InstanceDataObject$Ser.instanceClass(InstanceDataObject.java:1228) at org.openide.loaders.InstanceDataObject.instanceClass(InstanceDataObject.java:738) Created attachment 83107 [details]
stacktrace
Integrated into 'main-golden', will be available in build *200906031401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/28d8d7e8827f User: Jesse Glick <jglick@netbeans.org> Log: Downgrade CNFE thrown when a *.instance file for a nonexistent class is encountered. Also try to clean up (if a file present in userdir). Could be helpful with issues like #163977. In case you still need it, the plugin can be downloaded here: http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=4425 Build: NetBeans IDE 6.7 RC2 (Build 200906042131) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: SunOS, 5.11, x86 User Comments: Opened the IDe, opened a facelets .xhtml page Stacktrace: java.lang.ClassNotFoundException: org.netbeans.core.actions.ViewRuntimeTabAction at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) Created attachment 83517 [details]
stacktrace
Build: NetBeans IDE 6.7 RC2 (Build 200906042131) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: SunOS, 5.11, x86 User Comments: I opened the IDE. There are a bunch of editor tabs open for .xml, .css and .xhtml files Stacktrace: java.lang.ClassNotFoundException: org.netbeans.core.actions.ViewRuntimeTabAction at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) Created attachment 83564 [details]
stacktrace
108 duplicates and still coming iReport plugin produces tons of other warnings, but there is no apparent response from the owner. I will try to reproduce and see if my trunk patch made things any better. For some reason I cannot fathom, com/jaspersoft/ireport/layer.xml has <file name="ViewRuntimeTabAction.shadow"> <attr name="originalFile" stringvalue="Actions/Window/org-netbeans-core-actions-ViewRuntimeTabAction.instance"/> <attr name="position" intvalue="300"/> </file> My 28d8d7e8827f (in trunk) does help - the exception is printed only to the log file. Unfortunately it is still printed many times (along with various other errors in the iReport modules), and because the mistake is in the layer rather than the userdir, it does not get autocorrected. Filed origin bug: https://sourceforge.net/tracker/?func=detail&aid=2807250&group_id=64348&atid=1121503 Introduced a translation for this class name: core-main #c52c623e6e65 This is parented to the refactoring changeset, so could be pulled directly into release67 if desired. Just let me know. Integrated into 'main-golden', will be available in build *200906170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c52c623e6e65 User: Jesse Glick <jglick@netbeans.org> Log: #163977: translation for ViewRuntimeTabAction. I can't reproduce the exception in the latest NB build (090702) and the IReport available on pluginportal, closing the issue as verified. The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/ce1d74bdabc8 Just in case, the problem has been fixed in iReport too, the fix will be released with the next version of the plugin (3.2.3) scheduled for end of July. Thanks guys. Giulio Thanks a lot for the update Giulio! |