i've been using lastpod for a while and it was working fine. but recently, i keep getting an array index out of bounds exception on startup. the screen is the usual dull grey with paint refresh not happening.
when i move my mouse or some other window on top of lastpod, the contents on the lastpod window become visible. then if i go ahead and click the 'submit' button, it does the handshake and gives an error dialog (1).
the stack trace is as follows, im also attaching a screen shot:
---
C:\KR\lastPod>java -jar lastPod.jar
Exception in thread "AWT-EventQueue?-0" java.lang.ArrayIndexOutOfBoundsException?:
1
at org.lastpod.TrackItem?.getTrack(TrackItem?.java:190)
at org.lastpod.RecentPanel?$RecentModel?.getValueAt(RecentPanel?.java:136)
at javax.swing.JTable.getValueAt(Unknown Source)
at javax.swing.JTable.prepareRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at java.awt.GraphicsCallback?$PaintCallback?.run(Unknown Source)
at sun.awt.SunGraphicsCallback?.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback?.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at sun.awt.RepaintArea?.paintComponent(Unknown Source)
at sun.awt.RepaintArea?.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(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?.pumpOneEventForHierarchy(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)
Sep 13, 2007 10:22:23 AM org.lastpod.Scrobbler handshake
INFO: Beginning Handshake
Sep 13, 2007 10:22:23 AM org.lastpod.Scrobbler handshake
INFO: Handshake completed
Sep 13, 2007 10:22:23 AM org.lastpod.Scrobbler submitTracks
INFO: Submitting tracks...
Sep 13, 2007 10:22:26 AM org.lastpod.ModelImpl? submitTracks
SEVERE: org.lastpod.TrackItem?.getTrack(TrackItem?.java:190)
Sep 13, 2007 10:22:26 AM org.lastpod.ModelImpl? submitTracks
SEVERE: org.lastpod.Scrobbler.buildTrackQueryString(Scrobbler.java:361)
Sep 13, 2007 10:22:26 AM org.lastpod.ModelImpl? submitTracks
SEVERE: org.lastpod.Scrobbler.submitTracks(Scrobbler.java:272)
Sep 13, 2007 10:22:26 AM org.lastpod.ModelImpl? submitTracks
SEVERE: org.lastpod.ModelImpl?.submitTracks(ModelImpl?.java:158)
Sep 13, 2007 10:22:26 AM org.lastpod.ModelImpl? submitTracks
SEVERE: org.lastpod.action.SubmitTracks?$2.construct(SubmitTracks?.java:141)
Sep 13, 2007 10:22:26 AM org.lastpod.ModelImpl? submitTracks
SEVERE: org.lastpod.util.SwingWorker?$2.run(SwingWorker?.java:62)
Sep 13, 2007 10:22:26 AM org.lastpod.ModelImpl? submitTracks
SEVERE: java.lang.ArrayIndexOutOfBoundsException?: 1
---