Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in rendering result #9

Closed
dzmipt opened this issue Nov 24, 2020 · 3 comments
Closed

Error in rendering result #9

dzmipt opened this issue Nov 24, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@dzmipt
Copy link
Owner

dzmipt commented Nov 24, 2020

Played with such object:
get `:test1/ set ([] qqq:1.1 2.2 3.3 4.4 5.5; c:{ ([] a:x+til 3; b: til 3)} each til 5)

Got the following Exception:
Error occurred during query execution: kx.c$K4Exception: type kx.c$K4Exception: type
at kx.c.k(c.java:678)
at kx.c$1.run(c.java:138)
at java.lang.Thread.run(Thread.java:748)

@dzmipt
Copy link
Owner Author

dzmipt commented Dec 7, 2020

The issue exist in the latest c.java:
KxSystems/javakdb#51

@dzmipt dzmipt added the bug Something isn't working label Dec 7, 2020
@dzmiptdb
Copy link

Another way to have error (probably it is the same problem):
:sp/ set ([]a:1 2 3;b:10 20 30) k)+(ab)!/:.Q.dd[:.;:.],`sp

@dzmipt
Copy link
Owner Author

dzmipt commented Sep 21, 2021

Another issue, which I think has similar roots. However it now is reproduced on rendering. The query `a`b!`x fails to render with the following exception
java.lang.ClassCastException: studio.kdb.K$KSymbol cannot be cast to studio.kdb.K$KBaseVector
at studio.kdb.DictTableModel.getColumn(DictTableModel.java:48) ~[main/:?]
at studio.kdb.KTableModel.getValueAt(KTableModel.java:89) ~[main/:?]
at javax.swing.JTable.getValueAt(JTable.java:2720) ~[?:1.8.0_251]
at studio.ui.WidthAdjuster.resize(WidthAdjuster.java:100) ~[main/:?]
at studio.ui.WidthAdjuster.resizeAllColumns(WidthAdjuster.java:78) ~[main/:?]
at studio.ui.QGrid.(QGrid.java:131) ~[main/:?]
at studio.ui.TabPanel.initComponents(TabPanel.java:61) ~[main/:?]
at studio.ui.TabPanel.(TabPanel.java:30) ~[main/:?]
at studio.ui.StudioPanel.queryExecutionComplete(StudioPanel.java:1910) ~[main/:?]
at studio.ui.action.QueryExecutor$Worker.done(QueryExecutor.java:173) [main/:?]
at javax.swing.SwingWorker$5.run(SwingWorker.java:737) [?:1.8.0_251]
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832) [?:1.8.0_251]
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112) [?:1.8.0_251]
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842) [?:1.8.0_251]
at javax.swing.Timer.fireActionPerformed(Timer.java:313) [?:1.8.0_251]
at javax.swing.Timer$DoPostEvent.run(Timer.java:245) [?:1.8.0_251]
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) [?:1.8.0_251]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) [?:1.8.0_251]
at java.awt.EventQueue.access$500(EventQueue.java:97) [?:1.8.0_251]
at java.awt.EventQueue$3.run(EventQueue.java:709) [?:1.8.0_251]
at java.awt.EventQueue$3.run(EventQueue.java:703) [?:1.8.0_251]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_251]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) [?:1.8.0_251]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) [?:1.8.0_251]
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [?:1.8.0_251]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_251]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_251]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_251]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_251]
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_251]

@dzmipt dzmipt closed this as completed in 97005b0 Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants