PrivacyPlugin causes NullPointerE. when clicking on "block contact"

Description

Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
at org.jivesoftware.sparkimpl.plugin.privacy.list.SparkPrivacyList.getMaxItemOrder(SparkPrivacyList.java:112)
at org.jivesoftware.sparkimpl.plugin.privacy.list.SparkPrivacyList.getNewItemOrder(SparkPrivacyList.java:153)
at org.jivesoftware.sparkimpl.plugin.privacy.list.PrivacyListBlackList.prepareItem(PrivacyListBlackList.java:76)
at org.jivesoftware.sparkimpl.plugin.privacy.list.SparkPrivacyList.addItem(SparkPrivacyList.java:247)
at org.jivesoftware.sparkimpl.plugin.privacy.PrivacyPlugin$2$2.actionPerformed(PrivacyPlugin.java:160)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at org.jivesoftware.sparkimpl.plugin.idle.UserIdlePlugin$1.dispatchEvent(UserIdlePlugin.java:159)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Environment

None

Activity

Show:
Walter Ebeling
June 22, 2011, 6:02 PM

Mass closing of all bugs resoved during 2.6.0 and 2.6.1

Konstantin Zolotarev
March 16, 2011, 11:37 AM

Applied in svn 12126

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Priority

Major

Assignee

Konstantin Zolotarev

Reporter

Holger Bergunde