trying to run thinkorswim

I have just installed thinkorswim trading software on my extra laptop, but when I try to run it, it just hangs after the login screen.

On the first install, and first run, a popup window said that javafx was not installed with the openjdk that I have on the laptop, and I needed to either install javafx separately and add it to the classpath (not sure what that means), or install a separate java runtime environment. So I went to Oracle’s website and downloaded jre-8u5-linux-x64.rpm. I installed this, following the SDB guide from this link:

http://en.opensuse.org/SDB:Installing_Java.

Here is what I did, from my history file:


   90  2014-06-08 16:44:29 update-alternatives --install "/usr/bin/java" "java" "/usr/java/latest/bin/java" 1
   91  2014-06-08 16:44:40 rpm -ql jre | grep libnpjp2.so
   92  2014-06-08 16:44:50 plugin=$(rpm -ql jre | grep libnpjp2.so)

After that, I no longer had the javafx problem and was able to reach the login screen. However, when I ran it, after entering login credentials, it just hung up. What I mean by that is that the login screen stayed there and nothing happened, for hours. I tried running the program from the command line, and here is what I get:


>~/thinkorswim> ./thinkorswim 

So it never does anything, just sits there. No indications on what might be the problem.

I am running this program on another computer, and it runs fine. That computer had a different version of jre, so I downgraded on my laptop to that version: jre-7u51-linux-x64.rpm.

Nevertheless, it still does the same way, and just hangs.

I don’t know enough about java to figure out what to do from here. TDAmeritrade says it doesn’t support Linux, and there isn’t anything I can do about that. So I think this forum is my only hope.

My laptop is running opensuse 13.1, KDE 4.11.


> rpm -qa | grep java
timezone-java-2013h-1.1.noarch
libjavascriptcoregtk-1_0-0-2.2.2-4.3.x86_64
java-1_7_0-openjdk-1.7.0.6-24.13.5.x86_64
java-1_7_0-openjdk-headless-1.7.0.6-24.13.5.x86_64
libjavascriptcoregtk-3_0-0-2.2.2-4.3.x86_64
> rpm -q jre
jre-1.7.0_51-fcs.x86_64

any ideas?

G.O.

I tried to reinstall, and now it is hanging before the login screen again. I cannot get to the login screen. I updated jre again to 1.8, and no change, still hangs before the login screen. The log file shows that it does download the updates, but then it gets the following errors. This is from the client.log file in the ~/thinkorswim directory.


10.06.14 19:33:20  INFO net.IniFile - Version: build 1860.17 (20140522-114935) compatible with build 1860.7 (20140422-203910)
10.06.14 19:33:20  INFO toscommon - Using toscommon build 388 (20140414-213241)
10.06.14 19:33:20  INFO util.SimplePerformanceMonitor - Starting SimplePerformanceMonitor
10.06.14 19:33:20  INFO user.DesktopMain - thinkorswim[build 1860.17]
10.06.14 19:33:20  INFO user.AbstractStartOptionsManager - Server name: tda.thinkorswim.com:443
10.06.14 19:33:20  INFO user.AbstractStartOptionsManager - Connection string: (tda.thinkorswim.com:443)(demo.thinkorswim.com:443)
10.06.14 19:33:20  INFO plaf.TosLookAndFeelSize - Installed LAF: javax.swing.plaf.metal.MetalLookAndFeel
10.06.14 19:33:20  INFO plaf.TosLookAndFeelSize - Installed LAF: javax.swing.plaf.nimbus.NimbusLookAndFeel
10.06.14 19:33:20  INFO plaf.TosLookAndFeelSize - Installed LAF: com.sun.java.swing.plaf.motif.MotifLookAndFeel
10.06.14 19:33:20  INFO plaf.TosLookAndFeelSize - Installed LAF: com.sun.java.swing.plaf.gtk.GTKLookAndFeel
10.06.14 19:33:20  INFO util.Utilities - Thread.setDefaultUncaughtExceptionHandler()
10.06.14 19:33:22 ERROR login.LoginDialogFXUtils - Unexpected error!
java.lang.RuntimeException: Unexpected error!
    at com.devexperts.tos.ui.user.login.LoginDialogFXUtils.runAndWait(LoginDialogFXUtils.java:110)
    at com.devexperts.tos.ui.user.login.LoginDialogFX.<init>(LoginDialogFX.java:107)
    at com.devexperts.tos.ui.user.login.StartupUtils$3.run(StartupUtils.java:247)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$400(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    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)
Caused by: java.lang.NoSuchMethodError: com.sun.javafx.css.StyleManager.getPseudoclassMask(Ljava/lang/String;)J
    at com.devexperts.tos.ui.user.login.controls.DropDown.<clinit>(DropDown.java:94)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at sun.reflect.misc.ReflectUtil.newInstance(Unknown Source)
    at javafx.fxml.FXMLLoader$InstanceDeclarationElement.constructValue(Unknown Source)
    at javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
    at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
    at javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
    at javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
    at javafx.fxml.FXMLLoader.load(Unknown Source)
    at com.devexperts.tos.ui.user.login.views.LoginView.<init>(LoginView.java:125)
    at com.devexperts.tos.ui.user.login.LoginDialogFX.initialize(LoginDialogFX.java:120)
    at com.devexperts.tos.ui.user.login.LoginDialogFX$3.run(LoginDialogFX.java:110)
    at com.devexperts.tos.ui.user.login.LoginDialogFXUtils$3.run(LoginDialogFXUtils.java:99)
    at com.sun.javafx.application.PlatformImpl$6$1.run(Unknown Source)
    at com.sun.javafx.application.PlatformImpl$6$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl$6.run(Unknown Source)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
    at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    at com.sun.glass.ui.gtk.GtkApplication.access$200(Unknown Source)
    at com.sun.glass.ui.gtk.GtkApplication$6$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
10.06.14 19:33:22 ERROR login.StartupUtils - Unexpected error!
java.lang.RuntimeException: Unexpected error!
    at com.devexperts.tos.ui.user.login.StartupUtils.invokeAndWait(StartupUtils.java:88)
    at com.devexperts.tos.ui.user.login.StartupUtils.createAndShowStartUpFrame(StartupUtils.java:244)
    at com.devexperts.tos.ui.user.DesktopMain.main(DesktopMain.java:1041)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.devexperts.jnlp.updater.ModuleManager$LaunchThread.run(ModuleManager.java:1221)
Caused by: java.lang.reflect.InvocationTargetException
    at java.awt.EventQueue.invokeAndWait(Unknown Source)
    at java.awt.EventQueue.invokeAndWait(Unknown Source)
    at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
    at com.devexperts.tos.threads.AWTThreads.invokeAndWaitImpl(AWTThreads.java:31)
    at com.devexperts.tos.threads.Threads.invokeAndWait(Threads.java:20)
    at com.devexperts.tos.ui.user.login.StartupUtils.invokeAndWait(StartupUtils.java:83)
    ... 7 more
Caused by: java.lang.RuntimeException: Unexpected error!
    at com.devexperts.tos.ui.user.login.LoginDialogFXUtils.runAndWait(LoginDialogFXUtils.java:110)
    at com.devexperts.tos.ui.user.login.LoginDialogFX.<init>(LoginDialogFX.java:107)
    at com.devexperts.tos.ui.user.login.StartupUtils$3.run(StartupUtils.java:247)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$400(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    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)



I will continue the file on the next post. Sorry, there were too many characters for one post on the forum.

Here is the rest of the log file:


Caused by: java.lang.NoSuchMethodError: com.sun.javafx.css.StyleManager.getPseudoclassMask(Ljava/lang/String;)J
    at com.devexperts.tos.ui.user.login.controls.DropDown.<clinit>(DropDown.java:94)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at sun.reflect.misc.ReflectUtil.newInstance(Unknown Source)
    at javafx.fxml.FXMLLoader$InstanceDeclarationElement.constructValue(Unknown Source)
    at javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
    at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
    at javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
    at javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
    at javafx.fxml.FXMLLoader.load(Unknown Source)
    at com.devexperts.tos.ui.user.login.views.LoginView.<init>(LoginView.java:125)
    at com.devexperts.tos.ui.user.login.LoginDialogFX.initialize(LoginDialogFX.java:120)
    at com.devexperts.tos.ui.user.login.LoginDialogFX$3.run(LoginDialogFX.java:110)
    at com.devexperts.tos.ui.user.login.LoginDialogFXUtils$3.run(LoginDialogFXUtils.java:99)
    at com.sun.javafx.application.PlatformImpl$6$1.run(Unknown Source)
    at com.sun.javafx.application.PlatformImpl$6$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl$6.run(Unknown Source)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
    at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    at com.sun.glass.ui.gtk.GtkApplication.access$200(Unknown Source)
    at com.sun.glass.ui.gtk.GtkApplication$6$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
10.06.14 19:33:22 ERROR system.err - java.lang.reflect.InvocationTargetException
10.06.14 19:33:22 ERROR system.err -     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10.06.14 19:33:22 ERROR system.err -     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.lang.reflect.Method.invoke(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at com.devexperts.jnlp.updater.ModuleManager$LaunchThread.run(ModuleManager.java:1221)
10.06.14 19:33:22 ERROR system.err - Caused by: java.lang.RuntimeException: Unexpected error!
10.06.14 19:33:22 ERROR system.err -     at com.devexperts.tos.ui.user.login.StartupUtils.invokeAndWait(StartupUtils.java:88)
10.06.14 19:33:22 ERROR system.err -     at com.devexperts.tos.ui.user.login.StartupUtils.createAndShowStartUpFrame(StartupUtils.java:244)
10.06.14 19:33:22 ERROR system.err -     at com.devexperts.tos.ui.user.DesktopMain.main(DesktopMain.java:1041)
10.06.14 19:33:22 ERROR system.err -     ... 5 more
10.06.14 19:33:22 ERROR system.err - Caused by: java.lang.reflect.InvocationTargetException
10.06.14 19:33:22 ERROR system.err -     at java.awt.EventQueue.invokeAndWait(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.awt.EventQueue.invokeAndWait(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at com.devexperts.tos.threads.AWTThreads.invokeAndWaitImpl(AWTThreads.java:31)
10.06.14 19:33:22 ERROR system.err -     at com.devexperts.tos.threads.Threads.invokeAndWait(Threads.java:20)
10.06.14 19:33:22 ERROR system.err -     at com.devexperts.tos.ui.user.login.StartupUtils.invokeAndWait(StartupUtils.java:83)
10.06.14 19:33:22 ERROR system.err -     ... 7 more
10.06.14 19:33:22 ERROR system.err - Caused by: java.lang.RuntimeException: Unexpected error!
10.06.14 19:33:22 ERROR system.err -     at com.devexperts.tos.ui.user.login.LoginDialogFXUtils.runAndWait(LoginDialogFXUtils.java:110)
10.06.14 19:33:22 ERROR system.err -     at com.devexperts.tos.ui.user.login.LoginDialogFX.<init>(LoginDialogFX.java:107)
10.06.14 19:33:22 ERROR system.err -     at com.devexperts.tos.ui.user.login.StartupUtils$3.run(StartupUtils.java:247)
10.06.14 19:33:22 ERROR system.err -     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.awt.EventQueue.access$400(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.awt.EventQueue$3.run(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.awt.EventQueue$3.run(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.security.AccessController.doPrivileged(Native Method)
10.06.14 19:33:22 ERROR system.err -     at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.awt.EventQueue.dispatchEvent(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.awt.EventDispatchThread.run(Unknown Source)
10.06.14 19:33:22 ERROR system.err - Caused by: java.lang.NoSuchMethodError: com.sun.javafx.css.StyleManager.getPseudoclassMask(Ljava/lang/String;)J
10.06.14 19:33:22 ERROR system.err -     at com.devexperts.tos.ui.user.login.controls.DropDown.<clinit>(DropDown.java:94)
10.06.14 19:33:22 ERROR system.err -     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
10.06.14 19:33:22 ERROR system.err -     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.lang.reflect.Constructor.newInstance(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.lang.Class.newInstance(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at sun.reflect.misc.ReflectUtil.newInstance(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at javafx.fxml.FXMLLoader$InstanceDeclarationElement.constructValue(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at javafx.fxml.FXMLLoader.load(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at com.devexperts.tos.ui.user.login.views.LoginView.<init>(LoginView.java:125)
10.06.14 19:33:22 ERROR system.err -     at com.devexperts.tos.ui.user.login.LoginDialogFX.initialize(LoginDialogFX.java:120)
10.06.14 19:33:22 ERROR system.err -     at com.devexperts.tos.ui.user.login.LoginDialogFX$3.run(LoginDialogFX.java:110)
10.06.14 19:33:22 ERROR system.err -     at com.devexperts.tos.ui.user.login.LoginDialogFXUtils$3.run(LoginDialogFXUtils.java:99)
10.06.14 19:33:22 ERROR system.err -     at com.sun.javafx.application.PlatformImpl$6$1.run(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at com.sun.javafx.application.PlatformImpl$6$1.run(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.security.AccessController.doPrivileged(Native Method)
10.06.14 19:33:22 ERROR system.err -     at com.sun.javafx.application.PlatformImpl$6.run(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
10.06.14 19:33:22 ERROR system.err -     at com.sun.glass.ui.gtk.GtkApplication.access$200(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at com.sun.glass.ui.gtk.GtkApplication$6$1.run(Unknown Source)
10.06.14 19:33:22 ERROR system.err -     at java.lang.Thread.run(Unknown Source)
10.06.14 19:34:20 DEBUG system.out - JVM: 2014-06-10 19:34:20.501 PHT heap: 33,008K gc:  0  0.000  0.00% cpu:  0.006  0.60%
10.06.14 19:35:20 DEBUG system.out - JVM: 2014-06-10 19:35:20.541 PHT heap: 45,754K gc:  0  0.000  0.00% cpu:  0.003  0.30%
10.06.14 19:36:20 DEBUG system.out - JVM: 2014-06-10 19:36:20.563 PHT heap: 46,933K gc:  0  0.000  0.00% cpu:  0.003  0.30%
10.06.14 19:37:20 DEBUG system.out - JVM: 2014-06-10 19:37:20.583 PHT heap: 48,202K gc:  0  0.000  0.00% cpu:  0.002  0.20%
10.06.14 19:38:20 DEBUG system.out - JVM: 2014-06-10 19:38:20.602 PHT heap: 49,870K gc:  0  0.000  0.00% cpu:  0.006  0.60%
10.06.14 19:39:20 DEBUG system.out - JVM: 2014-06-10 19:39:20.621 PHT heap: 22,258K gc:  0  0.000  0.00% cpu:  0.005  0.50%
10.06.14 19:40:20 DEBUG system.out - JVM: 2014-06-10 19:40:20.642 PHT heap: 36,244K gc:  0  0.000  0.00% cpu:  0.004  0.40%
10.06.14 19:41:20 DEBUG system.out - JVM: 2014-06-10 19:41:20.659 PHT heap: 49,798K gc:  0  0.000  0.00% cpu:  0.004  0.40%

Anyone out there that is familiar with java, and can tell me what I need to do to make this work? It works on my 1st laptop and on my desktop, both of which are also running opensuse 13.1 and KDE, with java jdk and java jre installed.

I know that I’m not helping golson with his problem, but I wanted to mention that I got my old install of TOS working again on my openSUSE 13.1 workstation this morning.

First off, I (think I) hadn’t run it since 12.3. I launched it and the updater box came up. That took forever (~7 or 8mins) … there was no indication that it was actually doing anything (it looked frozen & I initially thought that I’d run into a problem that I had previously described here on the forum about TOS), except my modem’s lights indicated a lot of traffic was occurring. And, indeed, when I opened the __updater.log file, I then observed that it actually was systematically updating all the various underlining TOS components. After that phase completed, it attempted to open but an error regarding javaFX was thrown (see first image below). And here is where a bit of hop jumping occurred.

  • I had openjdk 1.7 installed … javaFX is not included in openjdk 1.7, though it is in openjdk 1.8. … so I installed openjdk 1.8
  • only, TOS “no likey” openjdk any more (this was never an issue previously for me) – it now specifically wants oracle instead (forgot to take screen shot of launch error, but it was close, but not exactly the same message as the second image)… fine … so I installed oracle’s jre
  • only, TOS “no likey” oracle’s 1.8 — it specifically wants oracle’s 1.7 (see second image below) … Bloody hell pita >:) … had to then go find the older version (which, by the way, is EOL’ed in Apri '15, so the TOS code monkies better get their act together quickly)
  • installed the oracle 1.7 jre and now TOS finally launches and runs successfully

http://paste.opensuse.org/view/raw/12712938