Maximum number of columns?

User 677b9c22ff

27-04-2007 20:14:45

Hi,





I am using version Instant-Jchem 2.006 and have a small table


with 600 columns x 600 rows. However I always get an error.


So what is the maximum number of columns I can create or import?


Thanks in advance


Tobias


----------------------


Error:


java.lang.ArrayIndexOutOfBoundsException: 512


at java.awt.GridBagLayout.GetLayoutInfo(Unknown Source)


at java.awt.GridBagLayout.getLayoutInfo(Unknown Source)


at java.awt.GridBagLayout.preferredLayoutSize(Unknown Source)


at java.awt.Container.preferredSize(Unknown Source)


at java.awt.Container.getPreferredSize(Unknown Source)


at javax.swing.JComponent.getPreferredSize(Unknown Source)


at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)


at java.awt.Container.preferredSize(Unknown Source)


at java.awt.Container.getPreferredSize(Unknown Source)


at javax.swing.JComponent.getPreferredSize(Unknown Source)


at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)


at java.awt.Container.layout(Unknown Source)


at java.awt.Container.doLayout(Unknown Source)


at java.awt.Container.validateTree(Unknown Source)


at java.awt.Container.validateTree(Unknown Source)


at java.awt.Container.validateTree(Unknown Source)


at java.awt.Container.validateTree(Unknown Source)


at java.awt.Container.validateTree(Unknown Source)


at java.awt.Container.validateTree(Unknown Source)


at java.awt.Container.validateTree(Unknown Source)


at java.awt.Container.validateTree(Unknown Source)


at java.awt.Container.validateTree(Unknown Source)


at java.awt.Container.validateTree(Unknown Source)


at java.awt.Container.validateTree(Unknown Source)


at java.awt.Container.validateTree(Unknown Source)


at java.awt.Container.validateTree(Unknown Source)


at java.awt.Container.validateTree(Unknown Source)


at java.awt.Container.validateTree(Unknown Source)


at java.awt.Container.validate(Unknown Source)


at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)


[catch] at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)


at java.awt.event.InvocationEvent.dispatch(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)

ChemAxon fa971619eb

27-04-2007 20:39:06

We've never tried that sort of number of columns in a table.





From the exeption I would guess that the error is coming from the query panel, trying to display 600 different fields.


You should be able to test this by closing the query panel window and restarting IJC.


If that works then you can show the query panel (from the Window menu) at which point the error will occur again.





The error might suggest that the limit is 512 elements in the query panel.





Assuming this is on the right lines, there is probably nothing that can be done right now to improve on this, assuming you want to be able run queries.


We are currently working on an improved the query UI which would remove this restriction, but these changes won't be ready for a month or two at least.





BTW, the IJC version you report is not valid.


Please report the version that is on the Welcome screen. This give the most accurate version info (the version that was originally installed is not necessarily relevant, as updates might have been loaded from the Update Center).





Tim