Fixes swt jar CrashPlanDesktop Pro e Crash after splash screen

From SifWiki
Jump to: navigation, search
[root@johnbaxendale ~]# cd /usr/local/crashplan/log/
[root@johnbaxendale log]# cat ui_output.log 
[11.18.13 14:24:54.365 INFO    main                 root                                    ] *************************************************************
[11.18.13 14:24:54.366 INFO    main                 root                                    ] *************************************************************
[11.18.13 14:24:54.366 INFO    main                 root                                    ] STARTED CrashPlanDesktop
[11.18.13 14:24:54.369 INFO    main                 root                                    ] CPVERSION = 3.6.1.4 - 1375333203614 (2013-08-01T05:00:03:614+0000)
[11.18.13 14:24:54.370 INFO    main                 root                                    ] ARGS      = [  ]
[11.18.13 14:24:54.376 INFO    main                 root                                    ] LOCALE    = English (United Kingdom)
[11.18.13 14:24:54.376 INFO    main                 root                                    ] JVM       = OpenJDK Runtime Environment (1.7.0_45-mockbuild_2013_10_16_17_47-b00, 64-bit) 
[11.18.13 14:24:54.376 INFO    main                 root                                    ] OS        = Linux (3.11.8-200.fc19.x86_64, amd64)
[11.18.13 14:24:54.376 INFO    main                 root                                    ] User      = johnbaxendale, /home/johnbaxendale
[11.18.13 14:24:54.376 INFO    main                 root                                    ] swt.library.path = /tmp/.cpswt
[11.18.13 14:24:54.376 INFO    main                 root                                    ] *************************************************************
[11.18.13 14:24:54.376 INFO    main                 root                                    ] SWT library deleted: /tmp/.cpswt/libswt-xpcominit-gtk-4234.so
[11.18.13 14:24:54.377 INFO    main                 root                                    ] SWT library deleted: /tmp/.cpswt/libswt-webkit-gtk-4234.so
[11.18.13 14:24:54.377 INFO    main                 root                                    ] SWT library deleted: /tmp/.cpswt/libswt-atk-gtk-4234.so
[11.18.13 14:24:54.377 INFO    main                 root                                    ] SWT library deleted: /tmp/.cpswt/libswt-cairo-gtk-4234.so
[11.18.13 14:24:54.377 INFO    main                 root                                    ] SWT library deleted: /tmp/.cpswt/libswt-pi-gtk-4234.so
[11.18.13 14:24:54.377 INFO    main                 root                                    ] SWT library deleted: /tmp/.cpswt/libswt-gtk-4234.so
[11.18.13 14:24:54.378 INFO    main                 root                                    ] Loading lib/swt-64.jar, exists=true
[11.18.13 14:24:54.379 INFO    main                 root                                    ] [file:/usr/local/crashplan/lib/com.backup42.desktop.jar, file:/usr/local/crashplan/lang/, file:/usr/local/crashplan/skin/, file:/usr/local/crashplan/lib/swt-64.jar]
[11.18.13 14:24:54.513 WARN    main                 com.code42.utils.UniqueId               ] critical error converting IP address into int
[11.18.13 14:24:54.540 INFO    main                 com.backup42.desktop.model.ConfigModel  ] ConfigModel.loaded=false
[11.18.13 14:24:54.540 INFO    main                 com.backup42.desktop.model.ConfigModel  ] ConfigModel.configDateMs=null
[11.18.13 14:24:54.569 INFO    main                 root                                    ] CpdFolders: appData = /usr/local/crashplan/
[11.18.13 14:24:54.575 INFO    main                 root                                    ] CpdFoldersMigrate is not necessary. /home/johnbaxendale/.crashplan/my.ui.properties file does not exists.
[11.18.13 14:24:54.576 INFO    main                 root                                    ] Log file: /usr/local/crashplan/log/ui_johnbaxendale.log jtux64 Loaded.

This looks like a problem in the file; /usr/local/crashplan/lib/swt-64.jar

A more up-to-date and working copy of this library is included with Eclipse, so you can patch this issue very simply by;

yum install eclipse-swt
mv /usr/local/crashplan/lib/swt-64.jar /usr/local/crashplan/lib/swt-64.jar.backup
cp /usr/lib64/eclipse/swt.jar /usr/local/crashplan/lib/swt-64.jar

Try to run CrashPlanDesktop again and you should find it runs fine.

Personal tools
Namespaces

Variants
Actions
Navigation
Tools
Google AdSense