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 254181 - Can't enter Tools Menu from Toolbar
Summary: Can't enter Tools Menu from Toolbar
Status: RESOLVED DUPLICATE of bug 253932
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-06 19:45 UTC by dsylvester
Modified: 2015-08-17 06:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (175.99 KB, text/plain)
2015-08-06 19:45 UTC, dsylvester
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dsylvester 2015-08-06 19:45:27 UTC
Product Version = NetBeans IDE Dev (Build nbms-and-javadoc-178-on-20150729)
Operating System = Windows 8.1 version 6.3 running on amd64
Java; VM; Vendor = 1.8.0_45
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.45-b02


While using the Editor for a Javascript file, I am unable to access the Tools Menu from the Toolbar.  It throws the following exception:


java.lang.AssertionError
	at org.netbeans.modules.php.spi.testing.create.CreateTestsSupport.<init>(CreateTestsSupport.java:113)
	at org.netbeans.modules.php.spi.testing.create.CreateTestsSupport.create(CreateTestsSupport.java:128)
	at org.netbeans.modules.php.atoum.create.AtoumTestCreatorProvider.enable(AtoumTestCreatorProvider.java:57)
	at org.netbeans.modules.gsf.testrunner.ui.TestCreatorAction.enable(TestCreatorAction.java:119)
	at org.openide.util.actions.NodeAction.isEnabled(NodeAction.java:209)
	at org.openide.actions.ToolsAction.generate(ToolsAction.java:240)
	at org.openide.actions.ToolsAction.access$100(ToolsAction.java:94)
	at org.openide.actions.ToolsAction$Inline.synchMenuPresenters(ToolsAction.java:321)
	at org.openide.awt.DynaMenuModel.checkSubmenu(DynaMenuModel.java:196)
	at org.openide.awt.MenuBar$LazyMenu.setPopupMenuVisible(MenuBar.java:680)
	at javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1478)
	at javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:125)
	at javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:222)
	at javax.swing.plaf.basic.BasicMenuUI.access$200(BasicMenuUI.java:49)
	at javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:461)
	at javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mousePressed(BasicMenuUI.java:342)
	at java.awt.Component.processMouseEvent(Component.java:6522)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6290)
	at java.awt.Container.processEvent(Container.java:2234)
	at java.awt.Component.dispatchEventImpl(Component.java:4881)
	at java.awt.Container.dispatchEventImpl(Container.java:2292)
	at java.awt.Component.dispatchEvent(Component.java:4703)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4530)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
	at java.awt.Container.dispatchEventImpl(Container.java:2278)
	at java.awt.Window.dispatchEventImpl(Window.java:2750)
	at java.awt.Component.dispatchEvent(Component.java:4703)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Comment 1 dsylvester 2015-08-06 19:45:31 UTC
Created attachment 155202 [details]
IDE log
Comment 2 Jiri Kovalsky 2015-08-11 17:34:33 UTC
Product Version: NetBeans IDE Dev (Build 201508100002)
Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16
System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/dev
Cache directory: /home/cesilko/.cache/netbeans/dev

Works fine for me. Can you please attach a small sample project reproducing this exception? Do you have some additional plugins installed? Can you reproduce it with downloaded official development build [1]?

[1] http://bits.netbeans.org/download/trunk/nightly/latest/
Comment 3 Tomas Mysik 2015-08-17 06:34:18 UTC
Already fixed in dev build.

*** This bug has been marked as a duplicate of bug 253932 ***