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.
Summary: | Exception when changing file extension settings | ||
---|---|---|---|
Product: | platform | Reporter: | bljohnson <bljohnson> |
Component: | -- Other -- | Assignee: | rmatous <rmatous> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | mmirilovic, unr303 |
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | ide log |
Description
bljohnson
2003-02-19 16:26:34 UTC
Changing subcomponent (and owner ;-) The problem isn't directly in the settings system. From the exception it looks that some action is incorrectly implemented and returns null instead of its name. I added some gisnostic which should report the class name of the action. The problem is not related to "file extension setting". If the action class is reported the issue against the module which provides the class must be filed. Fixed in: Checking in src/org/openide/loaders/InstanceNode.java new revision: 1.27; previous revision: 1.26 it works fine I got a RuntimeException telling me to "Please attach following information to the issue <http://www.netbeans.org/issues/show_bug.cgi?id=31227>". I have NB 3.5.1, Win 2000, jdk 1.4.1_02 (the one bundled with JBuilder 9 trial). Here is the info: SystemAction de.hunsicker.jalopy.plugin.netbeans.FormatAction does not implement getName() properly. It returns null! at org.openide.loaders.InstanceNode.initName(InstanceNode.java:280) at org.openide.loaders.InstanceNode.<init>(InstanceNode.java:78) at org.openide.loaders.InstanceNode.<init>(InstanceNode.java:64) at org.openide.loaders.InstanceDataObject.createNodeDelegateImpl(InstanceDataObject.java:463) at org.openide.loaders.InstanceDataObject.createNodeDelegate(InstanceDataObject.java:412) at org.openide.loaders.DataObject$1.run(DataObject.java:242) at org.openide.util.Mutex.readAccess(Mutex.java:239) at org.openide.loaders.DataObject.getNodeDelegate(DataObject.java:238) at org.openide.loaders.DataObject.getClonedNodeDelegate(DataObject.java:263) at org.openide.loaders.FolderChildren.createNodes(FolderChildren.java:132) at org.openide.nodes.Children$Keys$KE.nodes(Children.java:1983) at org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:109) at org.openide.nodes.Children$Info.nodes(Children.java:1077) at org.openide.nodes.Children.justComputeNodes(Children.java:583) at org.openide.nodes.ChildrenArray.nodes(ChildrenArray.java:54) at org.openide.nodes.Children.getNodes(Children.java:325) at org.openide.loaders.FolderChildren.getNodes(FolderChildren.java:155) at org.openide.loaders.FolderChildren.findChild(FolderChildren.java:163) at org.openide.nodes.NodeOp.findChild(NodeOp.java:221) at org.openide.nodes.NodeOp.findPath(NodeOp.java:239) at org.openide.nodes.NodeOp.findPath(NodeOp.java:267) at org.openide.explorer.ExplorerManager.findPath(ExplorerManager.java:700) at org.openide.explorer.ExplorerManager$6.run(ExplorerManager.java:642) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670) The error is in de.hunsicker.jalopy.plugin.netbeans.FormatAction class. If it is annoying you should file your comment against the Jalopy module on the website from which you downloaded that module. action org.netbeans.core.windows.actions.MaximizeWindowAction does not implement SystemAction.getName() or Action.getValue(NAME) properly. It returns null! I reopened this because I got the following message in the console while running NB 6.0 (build from around 3/12/2007): WARNING [org.openide.loaders]: Please attach following information to the issue <http://www.netbeans.org/issues/show_bug.cgi?id=31227>: action org.netbeans.modules.java.editor.overridden.IsOverriddenAnnotationAction does not implement SystemAction.getName() or Action.getValue(NAME) properly. It returns null! pcw, I reported your last post into separate issue against java/editor - see issue 99638 with NB 6.0 200721051800 got this message (on solaris-sparc) WARNING [org.openide.loaders]: Please attach following information to the issue <http://www.netbeans.org/issues/show_bug.cgi?id=31227>: action org.netbeans.modules.db.sql.editor.ui.actions.ConnectionAction does not implement SystemAction.getName() or Action.getValue(NAME) properly. It returns null! may be I should open another issue against another component, please advice thanks. NetBeans IDE Dev (Build 070817) Please attach following information to the issue <http://www.netbeans.org/issues/show_bug.cgi?id=31227>: action org.netbeans.modules.uml.integration.netbeans.actions.ReverseEngineerAction does not implement SystemAction.getName() or Action.getValue(NAME) properly. It returns null! WARNING [org.openide.loaders]: Please attach following information to the issue <http://www.netbeans.org/issues/show_bug.cgi?id=31227>: action org.netbeans.modules.uml.integration.netbeans.actions.ReverseEngineerAction does not implement SystemAction.getName() or Action.getValue(NAME) properly. It returns null! Product Version = NetBeans IDE 6.0 (Build 200711261600) Operating System = Windows XP version 5.1 running on x86 When trying to rename a class using refactor/rename Platform: Windows XP SP2 Java 1.6.0_03 (Sun) WARNING [org.openide.loaders]: Please attach following information to the issue <http://www.netbeans.org/issues/show_bug.cgi?id=31227>: action org.netbeans.modules.uml.integration.netbeans.actions.ReverseEngineerAction does not implement SystemAction.getName() or Action.getValue(NAME) properly. It returns null! SEVERE [global] java.lang.NullPointerException at org.netbeans.modules.visualweb.insync.java.JavaClass$1.run(JavaClass.java:131) at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.run(ReadTaskWrapper.java:73) at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.run(ReadTaskWrapper.java:56) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:616) at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.execute(ReadTaskWrapper.java:80) at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.execute(ReadTaskWrapper.java:88) at org.netbeans.modules.visualweb.insync.java.JavaClass.isSubTypeOf(JavaClass.java:128) at org.netbeans.modules.visualweb.insync.models.FacesModel.openJavaUnits(FacesModel.java:819) at org.netbeans.modules.visualweb.insync.models.FacesModel.syncImpl(FacesModel.java:1051) at org.netbeans.modules.visualweb.insync.Model.sync(Model.java:219) at org.netbeans.modules.visualweb.insync.faces.refactoring.FacesRefactoringUtils.isJavaFileObjectOfInterest(FacesRefactoringUtils.java:231) at org.netbeans.modules.visualweb.insync.faces.refactoring.FacesRefactoringsPluginFactory.createInstance(FacesRefactoringsPluginFactory.java:141) at org.netbeans.modules.refactoring.api.AbstractRefactoring.getPlugins(AbstractRefactoring.java:131) at org.netbeans.modules.refactoring.api.AbstractRefactoring.addProgressListener(AbstractRefactoring.java:257) at org.netbeans.modules.refactoring.spi.impl.ParametersPanel.showDialog(ParametersPanel.java:448) at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.refresh(RefactoringPanel.java:605) at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.<init>(RefactoringPanel.java:139) at org.netbeans.modules.refactoring.spi.ui.UI.openRefactoringUI(UI.java:83) at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider$TextComponentTask.run(RefactoringActionsProvider.java:566) at org.netbeans.modules.refactoring.java.RetoucheUtils.invokeAfterScanFinished(RetoucheUtils.java:900) at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider.doRename(RefactoringActionsProvider.java:156) at org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.doRename(ActionsImplementationFactory.java:69) at org.netbeans.modules.refactoring.spi.impl.RenameAction.performAction(RenameAction.java:62) at org.netbeans.modules.refactoring.spi.impl.RefactoringGlobalAction.performAction(RefactoringGlobalAction.java:131) at org.openide.util.actions.NodeAction.performAction(NodeAction.java:289) at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:118) at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77) at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:114) at org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:277) 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:3265) 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) [catch] 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) 1, WARNING [org.openide.loaders]: Please attach following information to the issue <http://www.netbeans.org/issues/show_bug.cgi?id=31227>: action org.netbeans.modules.db.sql.editor.ui.actions.ConnectionAction does not implement SystemAction.getName() or Action.getValue(NAME) properly. It returns null! reported to db as issue 126067 2, org.netbeans.modules.uml.integration.netbeans.actions.ReverseEngineerAction does not implement SystemAction.getName() or Action.getValue(NAME) properly. It returns null! -reported to uml as issue 126066 Is issue really fixed? Perhaps it should be reopened? While testing Ubuntu Hardy, I saw the following in the ide log file so attached it here. WARNING [org.openide.loaders]: Please attach following information to the issue <http://www.netbeans.org/issues/show_bug.cgi?id=31227>: action org.netbeans.modules.uml.integration.netbeans.actions.ReverseEngineerAction does not implement SystemAction.getName() or Action.getValue(NAME) properly. It returns null! SEVERE [org.openide.util.RequestProcessor] java.lang.NullPointerException: null attribute at sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1176) at sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2164) at sun.print.ServiceDialog$PageSetupPanel.updateInfo(ServiceDialog.java:1280) at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:454) at sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:212) at sun.print.ServiceDialog.<init>(ServiceDialog.java:141) at javax.print.ServiceUI.printDialog(ServiceUI.java:206) at sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:880) at sun.print.PSPrinterJob.printDialog(PSPrinterJob.java:439) at org.openide.text.CloneableEditorSupport.print(Unknown Source) at org.openide.actions.PrintAction.performAction(Unknown Source) at org.openide.util.actions.NodeAction.performAction(Unknown Source) at org.openide.util.actions.CallableSystemAction$1.run(Unknown Source) at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.actionPerformed(Unknown Source) at org.netbeans.core.ModuleActions.invokeAction(Unknown Source) at org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(Unknown Source) at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.doRun(Unknown Source) at org.netbeans.modules.openide.util.ActionsBridge$1.run(Unknown Source) [catch] at org.openide.util.RequestProcessor$Task.run(Unknown Source) at org.openide.util.RequestProcessor$Processor.run(Unknown Source) See attached ide for complete info. Created attachment 56563 [details]
ide log
|