dionnejkelly / parrot-im

Automatically exported from code.google.com/p/parrot-im
0 stars 0 forks source link

Sign in Crash #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Sign in
2. Sign out
3. Sign in again and it will crash

What is the expected output? What do you see instead?
It should sign in simply. Instead, it appers to count all the connected 
contacts

Please use labels and text to provide additional information.
It gives this messages

Exception in thread "AWT-EventQueue-0" 
java.lang.ArrayIndexOutOfBoundsException: No such child: 37
    at java.awt.Container.getComponent(Unknown Source)
    at view.styles.GroupedListPane.addExternalMouseListener
(GroupedListPane.java:77)
    at view.buddylist.BuddyPanel.listRepopulate(BuddyPanel.java:246)
    at view.buddylist.BuddyPanel.refreshBuddyList(BuddyPanel.java:614)
    at view.buddylist.BuddyPanel.update(BuddyPanel.java:598)
    at java.util.Observable.notifyObservers(Unknown Source)
    at model.Model.forceNotify(Model.java:1117)
    at controller.MainController.updateStateAndStatus
(MainController.java:700)
    at controller.MainController.populateBuddyList
(MainController.java:468)
    at controller.MainController.login(MainController.java:256)
    at controller.MainController.loginProfile(MainController.java:275)
    at view.mainwindow.SignInPanel.profileSignIn(SignInPanel.java:283)
    at view.mainwindow.SignInPanel.access$0(SignInPanel.java:276)
    at 
view.mainwindow.SignInPanel$signInButtonActionListener.actionPerformed
(SignInPanel.java:329)
    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.plaf.basic.BasicButtonListener.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.dispatchEvent(Unknown Source)
    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)

Original issue reported on code.google.com by rma...@gmail.com on 13 Jul 2009 at 5:21

GoogleCodeExporter commented 8 years ago
this has something to do with the grouping. I tried to fix a line but I got 
another
error. I fixed the for loop that calls whatever on line 77. Then I got 
component has no child 1 exception.

I think Chenny got another problem related to this grouping issue as well.. 
Check
issue 36.

Original comment by shichan....@gmail.com on 13 Jul 2009 at 5:22

GoogleCodeExporter commented 8 years ago
Issue 37 has been merged into this issue.

Original comment by shichan....@gmail.com on 14 Jul 2009 at 3:23

GoogleCodeExporter commented 8 years ago
Sometimes when you sign in and out multiple times it will not crash it just 
does not
sign you in, until you press the button again
Here is the error

Exception in thread "AWT-EventQueue-0" 
java.lang.ArrayIndexOutOfBoundsException: No
such child: 13
    at java.awt.Container.getComponent(Container.java:281)
    at view.styles.GroupedListPane.getComponent(GroupedListPane.java:84)
    at view.styles.GroupedListPane.addExternalMouseListener(GroupedListPane.java:80)
    at view.buddylist.BuddyPanel.listRepopulate(BuddyPanel.java:302)
    at view.buddylist.BuddyPanel.refreshBuddyList(BuddyPanel.java:778)
    at view.buddylist.BuddyPanel.update(BuddyPanel.java:752)
    at java.util.Observable.notifyObservers(Observable.java:142)
    at model.Model.forceNotify(Model.java:1002)
    at controller.MainController.updateStateAndStatus(MainController.java:750)
    at controller.MainController.populateBuddyList(MainController.java:518)
    at controller.MainController.login(MainController.java:299)
    at controller.MainController.loginProfile(MainController.java:318)
    at view.mainwindow.SignInPanel.profileSignIn(SignInPanel.java:293)
    at view.mainwindow.SignInPanel.access$0(SignInPanel.java:286)
    at
view.mainwindow.SignInPanel$signInButtonActionListener.actionPerformed(SignInPan
el.java:348)
    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.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.jav
a:236)
    at java.awt.Component.processMouseEvent(Component.java:6041)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
    at java.awt.Component.processEvent(Component.java:5806)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4413)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4243)
    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:2440)
    at java.awt.Component.dispatchEvent(Component.java:4243)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    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)

Original comment by rma...@gmail.com on 15 Jul 2009 at 10:10

GoogleCodeExporter commented 8 years ago
Exception in thread "AWT-EventQueue-0" 
java.lang.ArrayIndexOutOfBoundsException: No
such child: 7
    at java.awt.Container.getComponent(Unknown Source)
    at view.styles.GroupedListPane.getComponent(GroupedListPane.java:96)
    at view.styles.GroupedListPane.addExternalMouseListener(GroupedListPane.java:92)
    at view.buddylist.BuddyPanel.listRepopulate(BuddyPanel.java:339)
    at view.buddylist.BuddyPanel.refreshBuddyList(BuddyPanel.java:752)
    at view.buddylist.BuddyPanel.update(BuddyPanel.java:732)
    at java.util.Observable.notifyObservers(Unknown Source)
    at model.Model.forceNotify(Model.java:1009)
    at controller.MainController.updateStateAndStatus(MainController.java:773)
    at controller.MainController.populateBuddyList(MainController.java:541)
    at controller.MainController.login(MainController.java:312)
    at controller.MainController.loginProfile(MainController.java:343)
    at view.mainwindow.SignInPanel.profileSignIn(SignInPanel.java:293)
    at view.mainwindow.SignInPanel.access$0(SignInPanel.java:286)
    at
view.mainwindow.SignInPanel$signInButtonActionListener.actionPerformed(SignInPan
el.java:347)
    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.plaf.basic.BasicButtonListener.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.dispatchEvent(Unknown Source)
    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)

Original comment by shichan....@gmail.com on 16 Jul 2009 at 7:15

GoogleCodeExporter commented 8 years ago

Original comment by shichan....@gmail.com on 18 Jul 2009 at 6:44