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 101627

Summary: Shared Component Libraries
Product: obsolete Reporter: sjangity <sjangity>
Component: visualwebAssignee: _ edwingo <edwingo>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: error dialog when invoking toolbar action

Description sjangity 2007-04-18 17:55:31 UTC
NetBeans 4/17 - VWP 070418_4

Wasn't sure what this dialog is for?

Anyway, the exception I got when invoking it is the following - maybe the error
can be handled differently? Possible to disable that Tools option if no project
is open?

Please see attached image for the error message:

org.netbeans.modules.visualweb.complib.ComplibException: Error: No active
project. Select one in designer.
	at
org.netbeans.modules.visualweb.complib.ComplibServiceProvider.getActiveProject(ComplibServiceProvider.java:1774)
	at
org.netbeans.modules.visualweb.complib.ComplibServiceProvider.getSharedComplibsForActiveProject(ComplibServiceProvider.java:1823)
	at
org.netbeans.modules.visualweb.complib.ui.SharedComplibPanel.updateSharedComplibList(SharedComplibPanel.java:319)
[catch] at
org.netbeans.modules.visualweb.complib.ui.SharedComplibPanel.<init>(SharedComplibPanel.java:62)
	at
org.netbeans.modules.visualweb.complib.ui.SharedComplibAction.performAction(SharedComplibAction.java:42)
	at
org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:96)
	at
org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:55)
	at
org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:92)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1216)
	at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1257)
	at java.awt.Component.processMouseEvent(Component.java:6038)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
	at java.awt.Component.processEvent(Component.java:5803)
	at java.awt.Container.processEvent(Container.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:4410)
	at java.awt.Container.dispatchEventImpl(Container.java:2116)
	at java.awt.Component.dispatchEvent(Component.java:4240)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
	at java.awt.Container.dispatchEventImpl(Container.java:2102)
	at java.awt.Window.dispatchEventImpl(Window.java:2429)
	at java.awt.Component.dispatchEvent(Component.java:4240)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 sjangity 2007-04-18 17:56:39 UTC
Created attachment 41187 [details]
error dialog when invoking toolbar action
Comment 2 sjangity 2007-04-19 15:36:55 UTC
*** Issue 101757 has been marked as a duplicate of this issue. ***
Comment 3 _ edwingo 2007-04-28 01:11:52 UTC
Dialog was removed in M9.
Comment 4 _ edwingo 2007-07-12 22:19:55 UTC
Planned for a future release.