Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

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:

  • We start the sybase central as normal user, no problem
  • We let the sybase central (or isql) open
  • Now, when we connect via some remote access tools (like teamviewer), then sybase central crashes

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)

asked 09 Nov '12, 02:52

ASchild's gravatar image

ASchild
777222740
accept rate: 14%

edited 09 Nov '12, 08:15

That version of SA11 is about 2 years old. If it's possible to apply a current EBF I would try that first.

(09 Nov '12, 09:01) Reimer Pods
Replies hidden

Just done it yesterday, but the latest EBF does not help. Still the same error in thrown.

                          +-----------------+
                          |   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)

(13 Nov '12, 08:06) ASchild

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 %SQLANY11%\bin32\scjview.exe to 'Disable Visual Themes', I also don't get the crash when I log in.

The switching of the theme is really related to the TeamViewer / Remote Desktop / VNC viewing options.

permanent link

answered 13 Nov '12, 14:50

Jeff%20Albion's gravatar image

Jeff Albion
10.8k171175
accept rate: 25%

edited 05 Feb '14, 12:45

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

permanent link

answered 15 Nov '12, 11:56

Rich%20Jones's gravatar image

Rich Jones
35146
accept rate: 66%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×143
×128
×46
×23

question asked: 09 Nov '12, 02:52

question was seen: 5,396 times

last updated: 05 Feb '14, 12:45