#231 Java exception when attempting to create a new user if the server is off
Closed: wontfix by mreynolds. Opened by rmeggins.

https://bugzilla.redhat.com/show_bug.cgi?id=155071

Description of problem:
Launch the console and then shutdown the directory server. You can still
navigate around the server but many operations will correctly tell you that the
server is down and it cannot perform that operation or task.
How in the directory browser, right click to create "New user" results in a
java
exception
Version-Release number of selected component (if applicable):
20050406.1.qa
How reproducible:
Consistently
Steps to Reproduce:
1. Run ./startconsole.
2. Open the directory browser
3. Right click and choose to create a new user
Actual results:
Java exception occurs
Expected results:
I should get a message stating that the server is not contactable.
Additional info:
Here's the java exception;
java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java(Compiled Code))
        at
com.netscape.management.client.console.ConsoleInfo.setUserHost(Unknown Source)
        at com.netscape.admin.dirserv.EntryEditor.newPredefinedObject(Unknown
Source)
        at com.netscape.admin.dirserv.EntryEditor.createUser(Unknown Source)
        at com.netscape.admin.dirserv.DSContentPage.actionNewUser(Unknown
Source)
        at com.netscape.admin.dirserv.DSContentPage.actionPerformed(Unknown
Source)
        at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1815)
        at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.j
ava:1868)
        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:449)
        at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:287)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:318)
        at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1146)
        at
javax.swing.plaf.basic.BasicMenuItemUI$MenuDragMouseHandler.menuDragMouseReleas
ed(BasicMenuItemUI.java:1039)
        at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:613)
        at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:510)
        at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:457)
        at
javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:34
8)
        at
javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.mouseReleased(BasicPopupMe
nuUI.java:486)
        at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:261)
        at java.awt.Component.processMouseEvent(Component.java(Compiled Code))
        at java.awt.Component.processEvent(Component.java(Compiled Code))
        at java.awt.Container.processEvent(Container.java(Compiled Code))
        at java.awt.Component.dispatchEventImpl(Component.java(Compiled Code))
        at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code))
        at java.awt.Component.dispatchEvent(Component.java(Inlined Compiled
Code))
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java(Compiled
Code))
        at
java.awt.LightweightDispatcher.processMouseEvent(Container.java(Compiled Code))
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java(Compiled
Code))
        at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code))
        at java.awt.Window.dispatchEventImpl(Window.java(Compiled Code))
        at java.awt.Component.dispatchEvent(Component.java(Inlined Compiled
Code))
        at java.awt.EventQueue.dispatchEvent(EventQueue.java(Compiled Code))
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java(
Compiled
Code))
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java(Co
mpiled
Code))
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:181)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:136)

batch move to milestone future

set default ticket origin to Community

Added initial screened field value.

Metadata Update from @nkinder:
- Issue set to the milestone: 389-admin,console FUTURE

Admin server/Console is deprecated, closing ticket...

Metadata Update from @mreynolds:
- Custom field reviewstatus adjusted to None (was: Needs Review)
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/231

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata