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.
Attempting to configure Path Mapping for xdebug in the PHP release of Netbeans 6.9.1 In the 'Advanced Web Configuration' dialog I am able to add and remove path mappings and set their 'Server Path'. However, I am unable to set the Project Path. Clicking the field or the ellipsis does nothing. I expect to see a file dialog. Note that previously configured paths from Netbeans 6.9.0 appear fine, but I am also unable to edit them in the same way.
Created attachment 102774 [details] Screen shot of dialog Added screen shot - not sure if it's the OSX theme in general, but it looks like the ellipsis are greyed out.
Just noticed the error icon appear when I click it. The stack dump is: java.lang.NullPointerException: The fileObject parameter cannot be null at org.openide.util.Parameters.notNull(Parameters.java:89) at org.openide.filesystems.FileUtil.isParentOf(FileUtil.java:1548) at org.netbeans.modules.php.project.ui.actions.support.CommandUtils.isUnderSources(CommandUtils.java:170) at org.netbeans.modules.php.project.ui.actions.support.CommandUtils.isUnderAnySourceGroup(CommandUtils.java:214) at org.netbeans.modules.php.project.ui.customizer.RunAsWebAdvanced$LocalPathCellMouseListener.getLastFolder(RunAsWebAdvanced.java:757) at org.netbeans.modules.php.project.ui.customizer.RunAsWebAdvanced$LocalPathCellMouseListener.mouseClicked(RunAsWebAdvanced.java:741) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253) at java.awt.Component.processMouseEvent(Component.java:6351) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6113) at java.awt.Container.processEvent(Container.java:2085) at java.awt.Component.dispatchEventImpl(Component.java:4714) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4291) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212) at java.awt.Container.dispatchEventImpl(Container.java:2129) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.EventQueue.dispatchEvent(EventQueue.java:635) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:137) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205) at java.awt.Dialog$1.run(Dialog.java:1046) at java.awt.Dialog$3.run(Dialog.java:1098) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:1096) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1006) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1040) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1028) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:121) at org.openide.util.Mutex.doEventAccess(Mutex.java:1361) at org.openide.util.Mutex.readAccess(Mutex.java:271) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1013) at java.awt.Component.show(Component.java:1563) at java.awt.Component.setVisible(Component.java:1515) at java.awt.Window.setVisible(Window.java:842) at java.awt.Dialog.setVisible(Dialog.java:986) at org.netbeans.modules.php.project.ui.customizer.RunAsWebAdvanced.open(RunAsWebAdvanced.java:184) at org.netbeans.modules.php.project.ui.customizer.RunAsLocalWeb.advancedButtonActionPerformed(RunAsLocalWeb.java:391) at org.netbeans.modules.php.project.ui.customizer.RunAsLocalWeb.access$800(RunAsLocalWeb.java:76) at org.netbeans.modules.php.project.ui.customizer.RunAsLocalWeb$3.actionPerformed(RunAsLocalWeb.java:294) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6348) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6113) at java.awt.Container.processEvent(Container.java:2085) at java.awt.Component.dispatchEventImpl(Component.java:4714) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212) at java.awt.Container.dispatchEventImpl(Container.java:2129) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4544) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:635) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:137) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Batch reassigning.
Hopefully fixed & backported to release701 branch. http://hg.netbeans.org/web-main/rev/e1c35ed19680 http://hg.netbeans.org/releases/rev/a3ffe74d2024
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/e1c35ed19680 User: Tomas Mysik <tmysik@netbeans.org> Log: #191593 - java.lang.NullPointerException: The fileObject parameter cannot be null