Hello, we use (beside other versions) the sql anywhere 11.0.1.2558 The servers are usually under linux, a few under windows. The management is done from windows 7 systems with installed sybase central. We notice this strange behaviour:
Anyone seen this and has a workarround ? It's handy to start a long running sql job remotely, but when sybase central crashes when I later reconnect to see the progress of the job..... :( Here is the stack trace: +-----------------+ | Stack Trace | +-----------------+ java.lang.NullPointerException at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRenderer.getTableCellRendererComponent(Unknown Source) at com.sybase.central.viewer.SCMultiListTableHeaderRenderer.getTableCellRendererComponent(SCMultiListTableHeaderRenderer.java:59) at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderRenderer(Unknown Source) at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderHeight(Unknown Source) at javax.swing.plaf.basic.BasicTableHeaderUI.createHeaderSize(Unknown Source) at javax.swing.plaf.basic.BasicTableHeaderUI.getPreferredSize(Unknown Source) at javax.swing.JComponent.getPreferredSize(Unknown Source) at javax.swing.ViewportLayout.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.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.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.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.CardLayout.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.GridBagLayout.GetLayoutInfo(Unknown Source) at java.awt.GridBagLayout.getLayoutInfo(Unknown Source) at java.awt.GridBagLayout.ArrangeGrid(Unknown Source) at java.awt.GridBagLayout.arrangeGrid(Unknown Source) at java.awt.GridBagLayout.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.validate(Unknown Source) at javax.swing.SwingUtilities.updateComponentTreeUI(Unknown Source) at com.sun.java.swing.plaf.windows.DesktopProperty.updateWindowUI(Unknown Source) at com.sun.java.swing.plaf.windows.DesktopProperty.updateAllUIs(Unknown Source) at com.sun.java.swing.plaf.windows.DesktopProperty.access$000(Unknown Source) at com.sun.java.swing.plaf.windows.DesktopProperty$1.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.sybase.util.EventMonitor.dispatchEvent(EventMonitor.java:435) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(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) |
Update: There has been an additional issue found with the fix from CR #752610 for this issue. This issue is now resolved in CR #756707, in builds 11.0.1.3107, 12.0.1.4066 and 16.0.0.1815 and up. I can confirm that I can reproduce this crash on the latest 11.0.1 EBF. This behaviour is similar to the already fixed issue, CR #644855, fixed in 11.0.1.2510. This issue in particular is partially caused by the 'TeamViewer' software viewing settings - if I set the 'Extras' -> 'Options' -> 'Remote Control' -> 'Quality' -> 'Custom Settings' and check on '[X] Improve application compatibility (reduces performance)', with True Colour and Highest Quality, I don't get the crash. I also don't get the crash if I change how I launch Sybase Central on the host computer. If I change the properties of The switching of the theme is really related to the TeamViewer / Remote Desktop / VNC viewing options. |
Another alternative is to switch to the Windows Classic look and feel on the remote machine. This bug was fixed in JDK 1.6 which was shipped with SQL Anywhere version 12. A fix for JDK 1.5 was never made by Sun. Richard Jones Sybase Engineering |
That version of SA11 is about 2 years old. If it's possible to apply a current EBF I would try that first.
Just done it yesterday, but the latest EBF does not help. Still the same error in thrown.
java.lang.NullPointerException at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRenderer.getTableCellRendererComponent(Unknown Source) at com.sybase.central.viewer.SCMultiListTableHeaderRenderer.getTableCellRendererComponent(SCMultiListTableHeaderRenderer.java:59) at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderRenderer(Unknown Source) at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderHeight(Unknown Source) at javax.swing.plaf.basic.BasicTableHeaderUI.createHeaderSize(Unknown Source) at javax.swing.plaf.basic.BasicTableHeaderUI.getPreferredSize(Unknown Source) at javax.swing.JComponent.getPreferredSize(Unknown Source) at javax.swing.ViewportLayout.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.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.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.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.CardLayout.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.GridBagLayout.GetLayoutInfo(Unknown Source) at java.awt.GridBagLayout.getLayoutInfo(Unknown Source) at java.awt.GridBagLayout.ArrangeGrid(Unknown Source) at java.awt.GridBagLayout.arrangeGrid(Unknown Source) at java.awt.GridBagLayout.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.validate(Unknown Source) at javax.swing.SwingUtilities.updateComponentTreeUI(Unknown Source) at com.sun.java.swing.plaf.windows.DesktopProperty.updateWindowUI(Unknown Source) at com.sun.java.swing.plaf.windows.DesktopProperty.updateAllUIs(Unknown Source) at com.sun.java.swing.plaf.windows.DesktopProperty.access$000(Unknown Source) at com.sun.java.swing.plaf.windows.DesktopProperty$1.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.sybase.util.EventMonitor.dispatchEvent(EventMonitor.java:435) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(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)