Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I have installed sybase ASA 9 i used the sybase central to connect to an old version .db file of ASA version 6, a wizard popup and ask yes or no to unload the database .. for upgrade i click yes another window appears and i select database and click next, at that moment an exception window appears like that image

enter image description here after i click next this window appears enter image description here

i searched google for that some posts told to disable visual themes[I've done that] some told to make compatibility for windows vista sp2 [i used all of them from 2000, xp sp2, sp3,vista] some told to run as administrator i did that also i tried to replace the jre142 with contents of version 1.4.2.09 but the problem still i hope to find a solution.

i use windows 7 x64 the ASA 9 the exception

                              +-----------------+
                              |   Stack Trace   |
                              +-----------------+

"Current thread: AWT-EventQueue-0" "java.lang.NullPointerException"
    at com.sybase.asa.plugin.UnloadDatabaseWizard$UnloadDatabaseWizDatabasePage.verify(UnloadDatabaseWizard.java:344)
    at com.sybase.asa.ASABaseWizardPageController.onWizardNext(ASABaseWizardPageController.java:127)
    at com.sybase.central.viewer.ScjWizardDialog.onWizardNext(ScjWizardDialog.java:277)
    at com.sybase.central.viewer.ScjWizardDialog.actionPerformed(ScjWizardDialog.java:508)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(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.pumpEventsForHierarchy(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.Dialog.show(Unknown Source)
    at java.awt.Component.show(Unknown Source)
    at java.awt.Component.setVisible(Unknown Source)
    at com.sybase.central.viewer.ScjBaseDialog.showDialog(ScjBaseDialog.java:448)
    at com.sybase.central.viewer.ScjWizardDialog.render(ScjWizardDialog.java:141)
    at com.sybase.central.viewer.ScjDialogSupport.render(ScjDialogSupport.java:156)
    at com.sybase.asa.plugin.UnloadDatabaseWizard.showDialog(UnloadDatabaseWizard.java:84)
    at com.sybase.asa.plugin.Support._handleUnsupportedConnection(Support.java:2078)
    at com.sybase.asa.plugin.Support.connect(Support.java:1352)
    at com.sybase.asa.plugin.ProviderBO.onCommand(ProviderBO.java:285)
    at com.sybase.central.viewer.ViewerManager.callOnCommandForItems(ViewerManager.java:1459)
    at com.sybase.central.viewer.ViewerManager.menuItemSelected(ViewerManager.java:1294)
    at com.sybase.central.viewer.BaseMenuItem.actionPerformed(BaseMenuItem.java:185)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(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)



                             +--------------------+
                             |   Sybase Central   |
                             +--------------------+

Version: 4.3.0.2184


                               +---------------+
                               |   Classpath   |
                               +---------------+

C:\Program Files (x86)\Sybase\Shared\Sybase Central 4.3\sybasecentral.jar
    Timestamp=2004-01-14 12:39:02.0
    Length=566272

C:\Program Files (x86)\Sybase\Shared\java\jsyblib142.jar
    Timestamp=2004-01-14 12:33:06.0
    Length=247941

C:\Program Files (x86)\Sybase\Shared\java\HelpManager11.jar
    Timestamp=2004-01-14 12:33:56.0
    Length=55805

C:\Program Files (x86)\Sybase\Shared\java\SCEditor142.jar
    Timestamp=2004-01-14 16:01:34.0
    Length=343723

C:\Program Files (x86)\Sybase\Shared\Sun\JavaHelp-1_1\jh.jar
    Timestamp=2002-06-24 09:36:00.0
    Length=347246

C:\Program Files (x86)\Sybase\Shared\Sybase Central 4.3\jcchart400K.jar
    Timestamp=2003-10-08 10:38:32.0
    Length=1060404



                                +-------------+
                                |   Java VM   |
                                +-------------+

Total memory: 7368704
Free memory: 1909768
System properties:
    asa.location=C:\Program Files (x86)\Sybase\SQL Anywhere 9\
    awt.toolkit=sun.awt.windows.WToolkit
    com.sybase.util.FastLoader=1
    file.encoding=Cp1252
    file.encoding.pkg=sun.io
    file.separator=\
    java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob=sun.awt.windows.WPrinterJob
    java.class.path=C:\PROGRA~2\Sybase\Shared\SYBASE~1.3\SYBASE~1.JAR;C:\PROGRA~2\Sybase\Shared\java\JSYBLI~1.JAR;C:\PROGRA~2\Sybase\Shared\java\HELPMA~1.JAR;C:\PROGRA~2\Sybase\Shared\java\SCEDIT~1.JAR;C:\PROGRA~2\Sybase\Shared\sun\JAVAHE~1\jh.jar;C:\PROGRA~2\Sybase\Shared\SYBASE~1.3\JCCHAR~1.JAR;
    java.class.version=48.0
    java.endorsed.dirs=C:\Program Files (x86)\Sybase\Shared\sun\jre142\lib\endorsed
    java.ext.dirs=C:\Program Files (x86)\Sybase\Shared\sun\jre142\lib\ext
    java.home=C:\Program Files (x86)\Sybase\Shared\sun\jre142
    java.io.tmpdir=C:\Users\NAPSTER\AppData\Local\Temp\
    java.library.path=C:\Program Files (x86)\Sybase\Shared\Sybase Central 4.3\win32;.;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\ImageMagick-6.7.3-Q16;C:\Program Files\ImageMagick-6.7.3-Q16;C:\Program Files (x86)\ImageMagick-6.7.3-Q8;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\MySQL\MySQL Server 5.1\bin;D:\programs\development\QT\qt-everywhere-opensource-src-4.7.4\bin;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Microsoft SQL Server Migration Assistant for Sybase\bin\;C:\Program Files (x86)\Sybase\SQL Anywhere 9\win32;C:\Program Files (x86)\Sybase\Shared\win32;C:\Program Files (x86)\Sybase\SQL Anywhere 9\drivers;C:\Program Files (x86)\Sybase\Shared\Sybase Central 4.3\win32;C:\Program Files (x86)\Sybase\Shared\PowerBuilder;C:\Program Files (x86)\Sybase\InfoMaker 9.0\Tutorial;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\
    java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version=1.4.2_09-b05
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.4
    java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory
    java.vendor=Sun Microsystems Inc.
    java.vendor.url=http://java.sun.com/
    java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
    java.version=1.4.2_09
    java.vm.info=mixed mode
    java.vm.name=Java HotSpot(TM) Client VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=Sun Microsystems Inc.
    java.vm.version=1.4.2_09-b05
    line.separator=

    os.arch=x86
    os.name=Windows NT (unknown)
    os.version=6.1
    path.separator=;
    sun.arch.data.model=32
    sun.awt.exception.handler=com.sybase.util.ExceptionHandler
    sun.boot.class.path=C:\Program Files (x86)\Sybase\Shared\sun\jre142\lib\rt.jar;C:\Program Files (x86)\Sybase\Shared\sun\jre142\lib\i18n.jar;C:\Program Files (x86)\Sybase\Shared\sun\jre142\lib\sunrsasign.jar;C:\Program Files (x86)\Sybase\Shared\sun\jre142\lib\jsse.jar;C:\Program Files (x86)\Sybase\Shared\sun\jre142\lib\jce.jar;C:\Program Files (x86)\Sybase\Shared\sun\jre142\lib\charsets.jar;C:\Program Files (x86)\Sybase\Shared\sun\jre142\classes
    sun.boot.library.path=C:\Program Files (x86)\Sybase\Shared\sun\jre142\bin
    sun.cpu.endian=little
    sun.cpu.isalist=pentium i486 i386
    sun.io.unicode.encoding=UnicodeLittle
    sun.java2d.fontpath=
    sun.os.patch.level=Service Pack 1
    sybase.jsyblib.dll.location=C:\PROGRA~2\Sybase\Shared\win32\
    user.country=US
    user.dir=C:\Windows\system32
    user.home=C:\Users\NAPSTER
    user.language=en
    user.name=NAPSTER
    user.timezone=GMT
    user.variant=


                             +-------------------+
                             |   Java Packages   |
                             +-------------------+

if anyone know how to use manual method to upgrade the database just tell me how please, i have tried to use rebuild.bat but i got a message saying : Cannot access file 'rt.jar' -- No such file or directory

share|improve this question
    
FYI you can ask questions specific to SQL Anywhere at sqlanywhere-forum.sybase.com –  Graeme Perrow Nov 6 '12 at 13:55
    
the version was 9.0.1 I've solved it by downloading batch SA_902_Win32_EN_patch.exe to move to 9.0.2 because all bug fixes are available for 9.0.2 not 9.0.1 i installed this SA9_Full_WIN32.902_EBF_3924.exe and then SA9_Full_WIN32.902_EBF_3951.exe then the problem was solved –  ahmedsafan86 Nov 6 '12 at 16:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.