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 149935 - NullPointerException at org.netbeans.modules.gwt4nb.services.refactoring.ui.ServiceRefactoringActionsProvider.canDelete
Summary: NullPointerException at org.netbeans.modules.gwt4nb.services.refactoring.ui.S...
Status: CLOSED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomasz Slota
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-13 11:59 UTC by Marian Mirilovic
Modified: 2008-12-09 11:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 15216


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2008-10-13 11:59:58 UTC
102 duplicates so far ...

Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06
OS: Windows XP, 5.1, x86
User comments: 
wen deleting the project
wen deleting the project
STACKTRACE: (first 10 lines)
java.lang.NullPointerException
        at
org.netbeans.modules.gwt4nb.services.refactoring.ui.ServiceRefactoringActionsProvider.canDelete(ServiceRefactoringActionsProvider.java:93)
        at org.netbeans.modules.gwt4nb.services.refactoring.ui.ServiceDeleteAction.enable(ServiceDeleteAction.java:35)
        at org.openide.util.actions.NodeAction.isEnabled(NodeAction.java:202)
        at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:894)
        at org.openide.awt.Actions.connect(Actions.java:188)
        at org.netbeans.modules.gwt4nb.services.refactoring.ui.SubMenuAction$SubMenu.createMenuItems(SubMenuAction.java:135)
        at org.netbeans.modules.gwt4nb.services.refactoring.ui.SubMenuAction$SubMenu.getPopupMenu(SubMenuAction.java:92)
        at javax.swing.plaf.basic.BasicMenuUI$Handler.mouseEntered(BasicMenuUI.java:490)
        at javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseEntered(BasicMenuUI.java:348)
        at com.sun.java.swing.plaf.windows.WindowsMenuUI$WindowsMouseInputHandler.mouseEntered(WindowsMenuUI.java:237)
Comment 1 Jaromir Uhrik 2008-10-15 12:42:08 UTC
Reassigning to proper component and changing to P2 because of many duplicates.
Comment 2 Tomasz Slota 2008-10-15 13:23:57 UTC
I have fixed it in gwt4nb sources, the fix will be available in gwt4nb 2.5

commit --force-log -F /tmp/svn_60434 --targets /tmp/svn_60435 --config-dir /Users/tomslot/.netbeans/6.5beta/config/svn/config --non-interactive -
-username tomslot --password ******
Sending        /Users/tomslot/SUN/src/main/contrib/gwt4nb/nbproject/project.xml
Transmitting file data .
Committed revision 130.
Comment 3 Marian Mirilovic 2008-12-09 11:58:13 UTC
v/c