craftleft.gif (3002 bytes)QuickTable
Home | API | Tutorial | Download | Support | Contact topblack.gif (108 bytes)


QuickTable User Cp  |  Register  |  Members  |  Search  |  Help
    |- QuickTable Discussion Forums > Column Post New Topic   Post A Reply
Column i not available printer friendly version
next newest post | next oldest post
Author Messages
ps
Private

Gender: Male
Location:
Registered: Jun 2007
Status: Offline
Posts: 2

Click here to see the profile for ps Send email to ps Send private message to ps Find more posts by ps Edit or delete this message Reply w/Quote
Posted Tuesday, June 5, 2007 @ 06:40:54  

I use quick-table since several months (bought version).

It works fine. But I have one big problem in a special project:

From time to time I get an error message like the following:
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Column 3 is not available

After this error message the application is frozen.

The problem is that I cannot reproduce it.

When I restart the program and try the same, it works...

Do you have any idea what it can be?
I searched in the forum, but I did not find a solution.

Thank you in advance for your efforts

Here is the complete error message:
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Column 3 is not available
at quick.dbtable.s.getColumn(DBTableColumnModel.java:811)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1970)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1897)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
at javax.swing.JComponent.paintComponent(JComponent.java:743)
at javax.swing.JComponent.paint(JComponent.java:1006)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925)
at javax.swing.JComponent._paintImmediately(JComponent.java:4868)
at javax.swing.JComponent.paintImmediately(JComponent.java:4675)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
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)

[Edit by ps on Tuesday, June 5, 2007 @ 06:41:28]

Admin
Board Owner

Gender: Unspecified
Location:
Registered: Jul 2003
Status: Offline
Posts: 9

Click here to see the profile for Admin Send email to Admin Send private message to Admin Find more posts by Admin Edit or delete this message Reply w/Quote
Posted Tuesday, June 5, 2007 @ 09:18:38  

enable debug and check the debug messages.

which versin of quicktable are you using?

This error will happen when JTable is looking for a column which is not there. so, if you know when the error is hapenning, try to print all the column names before that error , this will give you some hint about the problem.

Post New Topic   Post A Reply Jump to:
Contact Us | QuickTable - A Java DBGrid | Privacy Policy All times are GMT -5 Hours.
Welcome to QuickTable Forums, Guest!  
Login
Username :
Password :
In order to fully utilize the abilities of this board, you are required to register as a member. Registration is free, and allows you to do lots of things including turning on or off certain features of this board. Register now!
Powered by CuteCast v2.0 BETA 2
Copyright © 2001-2003 ArtsCore Studios