dionnejkelly / parrot-im

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

database function error #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
use setAvatarDirectory or getAvatarDirectory (from model)

What is the expected output? What do you see instead?
I changed all 'profile' into 'name' because it complained that it couldn't
find the column. I get this error instead

java.sql.SQLException: ResultSet closed
    at org.sqlite.RS.checkOpen(RS.java:57)
    at org.sqlite.RS.findColumn(RS.java:103)
    at org.sqlite.RS.getString(RS.java:247)
    at model.DatabaseFunctions.getAvatarDirectory(DatabaseFunctions.java:511)
    at model.Model.getAvatarDirectory(Model.java:1152)
    at view.buddylist.AccountInfo.<init>(AccountInfo.java:141)
    at view.buddylist.BuddyList.<init>(BuddyList.java:100)
    at view.mainwindow.SignInPanel.profileSignIn(SignInPanel.java:295)
    at view.mainwindow.SignInPanel.access$0(SignInPanel.java:285)
    at
view.mainwindow.SignInPanel$signInButtonActionListener.actionPerformed(SignInPan
el.java:339)
    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)

Please use labels and text to provide additional information.

Original issue reported on code.google.com by shichan....@gmail.com on 14 Jul 2009 at 6:14

GoogleCodeExporter commented 8 years ago
fixed. please look into the database function. see if I did any mistake.

Original comment by shichan....@gmail.com on 14 Jul 2009 at 8:42

GoogleCodeExporter commented 8 years ago
problem on Database line 504. Unknown column avatar. Please check for typo.

Test case:
1. sign in
2. open parrot preferences
3. change the avatar picture from there
4. then it crashes

Original comment by shichan....@gmail.com on 14 Jul 2009 at 9:33

GoogleCodeExporter commented 8 years ago
fixed

Original comment by shad...@gmail.com on 14 Jul 2009 at 9:29