🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #885

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Row index out of range

#885
From: Aurelio Balgera
Date: Tue, 02 Nov 2004 16:21
52 lines
3798 bytes
In JBuilder 2005 with jdk 1.5 when I execute queryDataSet.refresh() and the 
dataset is empty I receive the exeption in object. I don't want sorround 
with try and catch a very lot of .refresh() in my source. Any Idea.

below the exception

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: 
Row index out of range
 at javax.swing.JTable.boundRow(JTable.java:1347)
 at javax.swing.JTable.setRowSelectionInterval(JTable.java:1370)
 at com.borland.dbswing.JdbTable.accessChange(JdbTable.java:2959)
 at com.borland.dx.dataset.AccessEvent.dispatch(Unknown Source)
 at com.borland.jb.util.EventMulticaster.dispatch(Unknown Source)
 at com.borland.dx.dataset.DataSet.a(Unknown Source)
 at com.borland.dx.dataset.DataSet.a(Unknown Source)
 at com.borland.dx.dataset.DataSet.a(Unknown Source)
 at com.borland.dx.dataset.DataSet.open(Unknown Source)
 at com.borland.dx.dataset.StorageDataSet.refresh(Unknown Source)
 at com.borland.dx.sql.dataset.QueryDataSet.refresh(Unknown Source)
 at telnextgestione.Clienti.jTextRicerca_keyReleased(Clienti.java:306)
 at 
telnextgestione.Clienti_jTextRicerca_keyAdapter.keyReleased(Clienti.java:501)
 at java.awt.Component.processKeyEvent(Component.java:5449)
 at javax.swing.JComponent.processKeyEvent(JComponent.java:2680)
 at java.awt.Component.processEvent(Component.java:5265)
 at java.awt.Container.processEvent(Container.java:1966)
 at java.awt.Component.dispatchEventImpl(Component.java:3955)
 at java.awt.Container.dispatchEventImpl(Container.java:2024)
 at java.awt.Component.dispatchEvent(Component.java:3803)
 at 
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
 at 
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:668)
 at 
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:916)
 at 
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:794)
 at 
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:632)
 at java.awt.Component.dispatchEventImpl(Component.java:3841)
 at java.awt.Container.dispatchEventImpl(Container.java:2024)
 at java.awt.Window.dispatchEventImpl(Window.java:1766)
 at java.awt.Component.dispatchEvent(Component.java:3803)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
 at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
 at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
 
Technical Details
Message-ID: <4187b3d5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,b4eb249c328f7b0b,start
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Aurelio Balgera" <aurelio@telnext.it>
From: "Aurelio Balgera" <aurelio@telnext.it>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Row index out of range
Date: Tue, 2 Nov 2004 17:21:24 +0100
Lines: 54
Organization: Telnext srl
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 81.74.150.69
Message-ID: <4187b3d5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099412437 81.74.150.69 (2 Nov 2004 08:20:37 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail