powered by Jive Software

Contact list issue

I have been having a consistent issue with my Spark client. I have just one custom list that I have on it and every time my computer is restarted or turned off, the list remains but with only one contact. When I add the contacts back, they stay but only until the computer is turned off

Here’s the tail end of the Spark error log:

xception in thread “Timer-5243” java.lang.ArrayIndexOutOfBoundsException: 356 >= 356

at java.util.Vector.elementAt(Unknown Source)

at javax.swing.DefaultListModel.getElementAt(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source)

at javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(Unknown Source)

at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)

at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)

at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)

at javax.swing.DefaultListSelectionModel.removeIndexInterval(Unknown Source)

at javax.swing.plaf.basic.BasicListUI$Handler.intervalRemoved(Unknown Source)

at javax.swing.AbstractListModel.fireIntervalRemoved(Unknown Source)

at javax.swing.DefaultListModel.removeElement(Unknown Source)

at org.jivesoftware.spark.ui.ContactGroup.removeContactItem(ContactGroup.java:386)

at org.jivesoftware.spark.ui.ContactList$5.run(ContactList.java:359)

at java.util.TimerThread.mainLoop(Unknown Source)

at java.util.TimerThread.run(Unknown Source)

Exception in thread “Timer-5297” java.lang.ArrayIndexOutOfBoundsException: 343 >= 343

at java.util.Vector.elementAt(Unknown Source)

at javax.swing.DefaultListModel.getElementAt(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source)

at javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(Unknown Source)

at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)

at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)

at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)

at javax.swing.DefaultListSelectionModel.removeIndexInterval(Unknown Source)

at javax.swing.plaf.basic.BasicListUI$Handler.intervalRemoved(Unknown Source)

at javax.swing.AbstractListModel.fireIntervalRemoved(Unknown Source)

at javax.swing.DefaultListModel.removeElement(Unknown Source)

at org.jivesoftware.spark.ui.ContactGroup.removeContactItem(ContactGroup.java:386)

at org.jivesoftware.spark.ui.ContactList$5.run(ContactList.java:359)

at java.util.TimerThread.mainLoop(Unknown Source)

at java.util.TimerThread.run(Unknown Source)

Exception in thread “Timer-5408” java.lang.ArrayIndexOutOfBoundsException: 305 >= 305

at java.util.Vector.elementAt(Unknown Source)

at javax.swing.DefaultListModel.getElementAt(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source)

at javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(Unknown Source)

at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)

at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)

at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)

at javax.swing.DefaultListSelectionModel.removeIndexInterval(Unknown Source)

at javax.swing.plaf.basic.BasicListUI$Handler.intervalRemoved(Unknown Source)

at javax.swing.AbstractListModel.fireIntervalRemoved(Unknown Source)

at javax.swing.DefaultListModel.removeElement(Unknown Source)

at org.jivesoftware.spark.ui.ContactGroup.removeContactItem(ContactGroup.java:386)

at org.jivesoftware.spark.ui.ContactList$5.run(ContactList.java:359)

at java.util.TimerThread.mainLoop(Unknown Source)

at java.util.TimerThread.run(Unknown Source)

java.net.SocketException: Connection reset

at java.net.SocketInputStream.read(Unknown Source)

at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)

at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)

at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)

at sun.nio.cs.StreamDecoder.implRead(Unknown Source)

at sun.nio.cs.StreamDecoder.read(Unknown Source)

at java.io.InputStreamReader.read(Unknown Source)

at java.io.BufferedReader.fill(Unknown Source)

at java.io.BufferedReader.read1(Unknown Source)

at java.io.BufferedReader.read(Unknown Source)

at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2971)

at org.xmlpull.mxp1.MXParser.more(MXParser.java:3025)

at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1144)

at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)

at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:368)

at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:44)

at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:76)

SASL authentication failed:

at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java: 209)

at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:341)

at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1287)

at org.jivesoftware.smack.ReconnectionManager$2.run(ReconnectionManager.java:166)

I craeted new issue in Jira later i’ll check this.

http://www.igniterealtime.org/issues/browse/SPARK-1133

Thanks.