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.
Installed fresh copy of Netbeans 3.2 build 39. Used Update Center to install apisupport module 2.5.1. Tried to compile a project using openide classes, get NoClassDefFoundExceptions. Workaround is to mount appropriate openide jars in the project filesystem. ide.log attached below ===== Version = NetBeans 3.2 ------------------------------------------------------------------------------- >Log Session: Thursday, May 17, 2001 9:55:40 AM CDT >System Info: Product Version = NetBeans IDE 3.2 (Build 39) IDE Versioning = IDE/1 spec=1.2.1 impl=39 Operating System = Windows NT version 4.0 running on x86 Java; VM; Vendor = 1.3.1-rc2; Java HotSpot(TM) Client VM 1.3.1-rc2-b23; Sun Microsystems Inc. Java Home = d:\JDK13~1.1\jre System Locale = en_US Home Dir; Current Dir = C:\WINNT\Profiles\jcyip; d:\netbeans IDE Install; User Dir = D:\netbeans; d:\netbeans CLASSPATH = d:\netbeans\lib\patches\openide- compat.jar;d:\netbeans\lib\core.jar;d:\netbeans\lib\openide- fs.jar;d:\netbeans\lib\openide-nodes.jar;d:\netbeans\lib\openide- util.jar;d:\netbeans\lib\openide.jar;d:\netbeans\lib\ext\jaxp.jar;d:\netbeans\li b\ext\jh.jar;d:\netbeans\lib\ext\jpython.jar;d:\netbeans\lib\ext\parser.jar;d:\n etbeans\lib\ext\regexp.jar;d:\netbeans\lib\ext\rmi- ext.jar;d:\netbeans\lib\ext\sax2.jar;d:\netbeans\lib\ext\servlet.jar;d:\netbeans \lib\ext\xerces.jar;D:\netbeans\lib\patches\openide- compat.jar;D:\netbeans\lib\core.jar;D:\netbeans\lib\openide- fs.jar;D:\netbeans\lib\openide-nodes.jar;D:\netbeans\lib\openide- util.jar;D:\netbeans\lib\openide.jar;D:\netbeans\lib\ext\jaxp.jar;D:\netbeans\li b\ext\jh.jar;D:\netbeans\lib\ext\jpython.jar;D:\netbeans\lib\ext\parser.jar;D:\n etbeans\lib\ext\regexp.jar;D:\netbeans\lib\ext\rmi- ext.jar;D:\netbeans\lib\ext\sax2.jar;D:\netbeans\lib\ext\servlet.jar;D:\netbeans \lib\ext\xerces.jar;d:\JDK13~1.1\lib\dt.jar;d:\JDK13~1.1\lib\tools.jar ------------------------------------------------------------------------------- [INFO] Loaded modules: org.netbeans.core/1 (1.0/unspec); org.apache.tools.ant.module/2 (2.2.1/39); org.netbeans.modules.autoupdate/1 (1.6.1/39); org.netbeans.modules.clazz/1 (1.6.1/39); org.netbeans.modules.debugger.core/2 (2.0.1/39); org.netbeans.modules.applet/1 (1.6.1/39); org.netbeans.modules.debugger.debug/1 (1.8.1/39); org.netbeans.modules.debugger.jpda/1 (1.8.1/39); org.netbeans.modules.editor/1 (1.7.1/39); org.netbeans.modules.html/1 (1.7.1/39); org.netbeans.modules.httpserver/1 (1.6.1/39); org.netbeans.modules.extbrowser/1 (0.2.1/39); org.netbeans.modules.icebrowser/1 (1.6.1/39); org.netbeans.modules.image/1 (1.6.1/39); org.netbeans.modules.jarpackager/2 (1.6.1/39); org.netbeans.modules.java/1 (1.6.1/39); org.netbeans.modules.beans/1 (1.6.1/39); org.netbeans.modules.form/2 (1.6.1/39); org.netbeans.modules.javadoc/1 (1.6.1/39); org.netbeans.modules.jndi/1 (1.4/39); org.netbeans.modules.objectbrowser/1 (1.6.1/39); org.netbeans.modules.projects/1 (1.6.1/39); org.netbeans.modules.properties/1 (1.6.1/39); org.netbeans.modules.i18n/1 (1.7/39); org.netbeans.modules.i18n.form/2 (1.7/39); org.netbeans.modules.properties.syntax/1 (1.6.1/39); org.netbeans.modules.text/1 (1.6.1/39); org.netbeans.modules.usersguide/1 (1.7.1/39); org.netbeans.modules.web.core/1 (1.2.1/39); org.netbeans.modules.web.core.syntax/1 (1.2.1/39); org.openidex.util/1 (1.7.1/39); org.netbeans.modules.scripting/1 (1.3.1/39); org.netbeans.modules.utilities/1 (1.6.1/39); org.netbeans.modules.apisupport.lite/1 (0.1.1/39); org.netbeans.modules.rmi/1 (1.3.1/39); org.netbeans.modules.vcscore/1 (1.4.1/39); org.netbeans.modules.cvsclient/1 (1.3.1/39); org.netbeans.modules.vcs.advanced/1 (1.4.1/39); org.netbeans.modules.vcs.cmdline/1 (1.7.1/39) Creating samples directory d:\netbeans\sampledir Adding samples directory d:\netbeans\sampledir to Filesystems. OK, samples directory is still in Filesystems. ------------------------------------------------------------------------------- >Log Session: Thursday, May 17, 2001 10:03:26 AM CDT >System Info: Product Version = NetBeans IDE 3.2 (Build 39) IDE Versioning = IDE/1 spec=1.2.1 impl=39 Operating System = Windows NT version 4.0 running on x86 Java; VM; Vendor = 1.3.1-rc2; Java HotSpot(TM) Client VM 1.3.1-rc2-b23; Sun Microsystems Inc. Java Home = d:\JDK13~1.1\jre System Locale = en_US Home Dir; Current Dir = C:\WINNT\Profiles\jcyip; d:\netbeans IDE Install; User Dir = D:\netbeans; d:\netbeans CLASSPATH = d:\netbeans\lib\patches\openide- compat.jar;d:\netbeans\lib\core.jar;d:\netbeans\lib\openide- fs.jar;d:\netbeans\lib\openide-nodes.jar;d:\netbeans\lib\openide- util.jar;d:\netbeans\lib\openide.jar;d:\netbeans\lib\ext\jaxp.jar;d:\netbeans\li b\ext\jh.jar;d:\netbeans\lib\ext\jpython.jar;d:\netbeans\lib\ext\parser.jar;d:\n etbeans\lib\ext\regexp.jar;d:\netbeans\lib\ext\rmi- ext.jar;d:\netbeans\lib\ext\sax2.jar;d:\netbeans\lib\ext\servlet.jar;d:\netbeans \lib\ext\xerces.jar;D:\netbeans\lib\patches\openide- compat.jar;D:\netbeans\lib\core.jar;D:\netbeans\lib\openide- fs.jar;D:\netbeans\lib\openide-nodes.jar;D:\netbeans\lib\openide- util.jar;D:\netbeans\lib\openide.jar;D:\netbeans\lib\ext\jaxp.jar;D:\netbeans\li b\ext\jh.jar;D:\netbeans\lib\ext\jpython.jar;D:\netbeans\lib\ext\parser.jar;D:\n etbeans\lib\ext\regexp.jar;D:\netbeans\lib\ext\rmi- ext.jar;D:\netbeans\lib\ext\sax2.jar;D:\netbeans\lib\ext\servlet.jar;D:\netbeans \lib\ext\xerces.jar;d:\JDK13~1.1\lib\dt.jar;d:\JDK13~1.1\lib\tools.jar ------------------------------------------------------------------------------- [INFO] Loaded modules: org.netbeans.core/1 (1.0/unspec); org.apache.tools.ant.module/2 (2.2.1/39); org.netbeans.modules.autoupdate/1 (1.6.1/39); org.netbeans.modules.clazz/1 (1.6.1/39); org.netbeans.modules.debugger.core/2 (2.0.1/39); org.netbeans.modules.applet/1 (1.6.1/39); org.netbeans.modules.debugger.debug/1 (1.8.1/39); org.netbeans.modules.debugger.jpda/1 (1.8.1/39); org.netbeans.modules.editor/1 (1.7.1/39); org.netbeans.modules.html/1 (1.7.1/39); org.netbeans.modules.httpserver/1 (1.6.1/39); org.netbeans.modules.extbrowser/1 (0.2.1/39); org.netbeans.modules.icebrowser/1 (1.6.1/39); org.netbeans.modules.image/1 (1.6.1/39); org.netbeans.modules.jarpackager/2 (1.6.1/39); org.netbeans.modules.java/1 (1.6.1/39); org.netbeans.modules.beans/1 (1.6.1/39); org.netbeans.modules.form/2 (1.6.1/39); org.netbeans.modules.javadoc/1 (1.6.1/39); org.netbeans.modules.jndi/1 (1.4/39); org.netbeans.modules.objectbrowser/1 (1.6.1/39); org.netbeans.modules.projects/1 (1.6.1/39); org.netbeans.modules.properties/1 (1.6.1/39); org.netbeans.modules.i18n/1 (1.7/39); org.netbeans.modules.i18n.form/2 (1.7/39); org.netbeans.modules.properties.syntax/1 (1.6.1/39); org.netbeans.modules.text/1 (1.6.1/39); org.netbeans.modules.usersguide/1 (1.7.1/39); org.netbeans.modules.web.core/1 (1.2.1/39); org.netbeans.modules.web.core.syntax/1 (1.2.1/39); org.openidex.util/1 (1.7.1/39); org.netbeans.modules.scripting/1 (1.3.1/39); org.netbeans.modules.utilities/1 (1.6.1/39); org.netbeans.modules.apisupport.lite/1 (0.1.1/39); org.netbeans.modules.rmi/1 (1.3.1/39); org.netbeans.modules.vcscore/1 (1.4.1/39); org.netbeans.modules.cvsclient/1 (1.3.1/39); org.netbeans.modules.vcs.advanced/1 (1.4.1/39); org.netbeans.modules.vcs.cmdline/1 (1.7.1/39) path="" :jsp: init [INFO] Newly installed modules: org.netbeans.modules.apisupport (2.5.1/release2.5.1); org.netbeans.modules.apisupport.ant (1.3.1/release2.5.1) *********** Exception occurred ************ Thu May 17 10:12:36 CDT 2001: java.lang.IllegalStateException: Warning: multiple instances of shared class org.openide.filesystems.RefreshAction created. Annotation: (Run with -J-Dnetbeans.debug.exceptions=true for more details.) java.lang.IllegalStateException: Warning: multiple instances of shared class org.openide.filesystems.RefreshAction created. [catch] at org.openide.util.SharedClassObject.<init>(SharedClassObject.java:168) at org.openide.util.actions.SystemAction.<init>(SystemAction.java:54) at org.openide.util.actions.CallableSystemAction.<init> (CallableSystemAction.java:25) at org.openide.util.actions.NodeAction.<init>(NodeAction.java:28) at org.openide.util.actions.CookieAction.<init>(CookieAction.java:26) at org.openide.filesystems.RefreshAction.<init>(RefreshAction.java:38) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:237) at org.openide.filesystems.AbstractFileSystem.getActions (AbstractFileSystem.java:181) at org.openide.filesystems.FileSystem.getActions(FileSystem.java:282) at org.openide.actions.FileSystemAction.createMenu (FileSystemAction.java:111) at org.openide.actions.FileSystemAction$Menu.<init> (FileSystemAction.java:202) at org.openide.actions.FileSystemAction.getPopupPresenter (FileSystemAction.java:164) at org.openide.nodes.NodeOp.findContextMenuImpl(NodeOp.java:145) at org.openide.nodes.Node.getContextMenu(Node.java:414) at org.openide.nodes.NodeOp.findContextMenu(NodeOp.java:79) at org.openide.explorer.view.TreeView.createPopup(TreeView.java:743) at org.openide.explorer.view.TreeView$PopupAdapter.showPopup (TreeView.java:737) at org.openide.awt.MouseUtils$PopupMouseAdapter.mouseReleased (MouseUtils.java:150) at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java:231) at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java:230) at java.awt.Component.processMouseEvent(Component.java:3715) at java.awt.Component.processEvent(Component.java:3544) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2593) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:2451) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) at java.awt.Container.dispatchEventImpl(Container.java:1200) at java.awt.Window.dispatchEventImpl(Window.java:914) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:131) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) WARNING: d:\JDK13~1.1\jre\classes cannot be opened org.openide.filesystems.FSException: Root d:\JDK13~1.1\jre\classes does not exist. [IDE-Exec] Executing: 0 .= d:\JDK13~1.1\jre\..\bin\javac 1 .= -g 2 .= -classpath 3 .= d:\netbeans\system;D:\netbeans\beans\TimerBean.jar;D:\netbeans\modules\ext\Absol uteLayout.jar;D:\netbeans\modules\ext\jasper.jar;D:\netbeans\lib\ext\servlet.jar ;D:\netbeans\modules\ext\webserver.jar;D:\netbeans\lib\ext\xerces.jar;D:\jrefact ory\src;D:\jrefactory\test\src; 4 .= D:\jrefactory\src\org\acm\seguin\ide\netbeans\NetBeansExtractMethodDialog.java 5 .= D:\jrefactory\src\org\acm\seguin\ide\netbeans\PrettyPrinterAction.java 6 .= D:\jrefactory\src\org\acm\seguin\ide\netbeans\NetBeansPrettyPrinter.java 7 .= D:\jrefactory\src\org\acm\seguin\ide\netbeans\ExtractMethodAction.java
Hmm, looks like 2.5.1 is way older than I thought. Definitely a newer version of apisupport than this should be available for download. I will ask that a better version be published, you are apparently working with some random version from the 3.2 stabilization phase. *** This issue has been marked as a duplicate of 10888 ***
Resolved for 3.3.x or earlier, no new info since then -> closing.