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.
Product Version: NetBeans IDE Dev (Build 070718) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Description: ============ Do edit on quit action in Application Action editor => NPE is thrown StackTrace: ============ java.lang.NullPointerException: Passed null to FileOwnerQuery.getOwner(FileObject) at org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:72) at org.netbeans.modules.swingapp.AppFrameworkSupport.getApplicationClassName(AppFrameworkSupport.java:148) at org.netbeans.modules.swingapp.AppFrameworkSupport.isFrameworkEnabledProject(AppFrameworkSupport.java:77) at org.netbeans.modules.swingapp.ActionEditor.isAppFramework(ActionEditor.java:511) at org.netbeans.modules.swingapp.ActionEditor.setValue(ActionEditor.java:239)
Created attachment 45293 [details] 110116
Editing the 'quit' action is questionable, since it is built in, it can't be edited. But we could perhaps be able to change its resources (text, icon, tooltip, etc).
I fixed this when I fixed 110111. Now the application's source file will be used when the action's source file is null, such as with the 'quit' action.
verified on Product Version: NetBeans IDE Dev (Build 070806) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b03 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)