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.
Steps to reproduce: - mount a local directory; - try to create new Web Module using the corresponding template (JSPs & Servlets/Web Module). The following exception will be thrown (note all worked fine for the previous build): java.lang.NoClassDefFoundError: org/netbeans/modules/projects/CurrentProjectNode at org.netbeans.modules.web.context.WebContextObject.projectFolder(WebContextObject.java:151) at org.netbeans.modules.web.context.WebAppWizardIterator.instantiate(WebAppWizardIterator.java:228) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:517) at org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:442) at org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:358) at org.openide.actions.NewTemplateAction.doShowWizard(NewTemplateAction.java:321) at org.openide.actions.NewTemplateAction.access$300(NewTemplateAction.java:50) at org.openide.actions.NewTemplateAction$MenuWithRecent$Item.actionPerformed(NewTemplateAction.java:286) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257) at javax.swing.AbstractButton.doClick(AbstractButton.java:289) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1109) at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943) at java.awt.Component.processMouseEvent(Component.java:5093) at java.awt.Component.processEvent(Component.java:4890) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3598) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3439) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095) at java.awt.Container.dispatchEventImpl(Container.java:1609) at java.awt.Window.dispatchEventImpl(Window.java:1585) at java.awt.Component.dispatchEvent(Component.java:3439) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:478) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Please set fields like version and component mlre responsibly next time and give us explicit information. Do you mean build of trunk (AKA dublin) or nevada. Vito, can you look into this?
I meant the nevada build from 03/03/04.
This build is uses release35 branch.
*** Issue 31685 has been marked as a duplicate of this issue. ***
Should be fixed now, the list of public packages was restricted for API package only, but the API wasn't approved so the restriction can be removed (see also issue #31426).
Verifed in Nevada build 030401.