dionnejkelly / parrot-im

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

Empty Account #73

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a profile
2. Don't add any account (msn,gtalk, etc)
3. Sign in
4. Add a freind and it will throw exception

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

Exception in thread "AWT-EventQueue-0" 
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.RangeCheck(Unknown Source)
    at java.util.ArrayList.get(Unknown Source)
    at controller.MainController.getAccount(MainController.java:199)
    at view.buddylist.BuddyPanel$addFriendListener.mousePressed
(BuddyPanel.java:670)
    at java.awt.AWTEventMulticaster.mousePressed(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 26 Jul 2009 at 4:18

GoogleCodeExporter commented 8 years ago
There is no problem with adding a user. But when I created an empty profile and 
later on I added a msn account, it caused some problems when I tried to sign in 
two 
times, the third time it went ok.

Original comment by rma...@gmail.com on 26 Jul 2009 at 4:56

GoogleCodeExporter commented 8 years ago
sounds like an MSN problem to me.. I am wondering if we can catch an exception 
if the
user accidentally put the wrong username/password.. that would be very very 
useful

Original comment by shichan....@gmail.com on 26 Jul 2009 at 8:05

GoogleCodeExporter commented 8 years ago
I don't think it do that no more. But when you are in linux, and press add 
account
multiple times the pop-up window somethimes will be missed up and sometimes but 
that
happend once it crashed.

Original comment by rma...@gmail.com on 29 Jul 2009 at 11:31

GoogleCodeExporter commented 8 years ago

Original comment by shichan....@gmail.com on 30 Jul 2009 at 8:20