cats freeze at the startup splash screen

Message boards : Client : cats freeze at the startup splash screen
Message board moderation

To post messages, you must log in.

AuthorMessage
zann

Send message
Joined: 28 Apr 08
Posts: 6
Credit: 40,296
RAC: 0
Message 8286 - Posted: 29 Apr 2008, 9:20:59 UTC

Hi
When I try to run the cats java application it freezes at the splash screen with the following text on the splash screen:\"Compact and Automatic Transfer System: Loading Configuration...\"

The output from the console:
$ java -jar cats.jar
java.lang.NullPointerException
at cats.Core.initialize(Core.java:51)
at cats.Main.<init>(Main.java:33)
at cats.Main.main(Main.java:72)
Exception in thread \"main\" java.lang.UnsupportedOperationException: The system tray is not supported on the current platform.
at java.awt.SystemTray.getSystemTray(SystemTray.java:148)
at cats.TrayHandler.setupTrayIcon(TrayHandler.java:33)
at cats.TrayHandler.<init>(TrayHandler.java:27)
at cats.Core.initialize(Core.java:62)
at cats.Main.<init>(Main.java:33)
at cats.Main.main(Main.java:72)

java version:
$ java -version
java version \"1.6.0_06\"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)

My distribution is Gnu/Debian testing
Xorg Version 1.3.0
Windows manager is Xfce 4.2.2

Any ideas of how I get cats to run?
Thanks in advance
ID: 8286 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Janus
Volunteer moderator
Project administrator
Avatar

Send message
Joined: 16 Jun 04
Posts: 4574
Credit: 2,100,463
RAC: 8
Message 8291 - Posted: 30 Apr 2008, 18:19:06 UTC - in response to Message 8286.  
Last modified: 30 Apr 2008, 18:22:26 UTC

When I try to run the cats java application it freezes at the splash screen with [...] Exception in thread \"main\" java.lang.UnsupportedOperationException: The system tray is not supported on the current platform.

Thanks for the detailed bugreport. Using the information you provided it was easy to locate the issue and make a potential workaround.

I updated the .jar in the CATS thread. Please try the new 0.2.2 and see if the error is gone. Unfortunately the tray icon is not supported by Java on the Xfce window manager so you cannot minimize CATS to the tray nor get any messages through the tray.
ID: 8291 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
zann

Send message
Joined: 28 Apr 08
Posts: 6
Credit: 40,296
RAC: 0
Message 8292 - Posted: 30 Apr 2008, 21:36:29 UTC - in response to Message 8291.  


I updated the .jar in the CATS thread. Please try the new 0.2.2 and see if the error is gone. Unfortunately the tray icon is not supported by Java on the Xfce window manager so you cannot minimize CATS to the tray nor get any messages through the tray.


The earlier error is gone. however cats now freeze with the message on the splash screen\"Compact and Automatic Transfer System: Checking userID...\"

Output from console:
$ java -jar cats.jar
java.lang.NullPointerException
at cats.Core.initialize(Core.java:51)
at cats.Main.<init>(Main.java:33)
at cats.Main.main(Main.java:72)
cats.NoSuchConfigurationVariableException
at cats.Configuration.getInt(Configuration.java:88)
at cats.Main.checkUser(Main.java:124)
at cats.Main.<init>(Main.java:39)
at cats.Main.main(Main.java:72)
Exception in thread \"main\" java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(ImageIcon.java:138)
at cats.UserGUI.initComponents(UserGUI.java:60)
at cats.UserGUI.<init>(UserGUI.java:17)
at cats.Main.checkUser(Main.java:127)
at cats.Main.<init>(Main.java:39)
at cats.Main.main(Main.java:72)
ID: 8292 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Janus
Volunteer moderator
Project administrator
Avatar

Send message
Joined: 16 Jun 04
Posts: 4574
Credit: 2,100,463
RAC: 8
Message 8293 - Posted: 1 May 2008, 7:38:37 UTC - in response to Message 8292.  

Ah, my mistake. I moved a few images around and forgot to update the paths to them. v0.2.3 should fix that (available same place as usual).
ID: 8293 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
r3nd3rm4n

Send message
Joined: 14 Nov 07
Posts: 36
Credit: 20,490
RAC: 0
Message 8294 - Posted: 1 May 2008, 8:17:53 UTC

In your /home/user is a config file, \"cats.cfg\" maybe you should delete this file and start a clean cats.
ID: 8294 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
zann

Send message
Joined: 28 Apr 08
Posts: 6
Credit: 40,296
RAC: 0
Message 8296 - Posted: 1 May 2008, 13:21:00 UTC - in response to Message 8294.  

In your /home/user is a config file, \"cats.cfg\" maybe you should delete this file and start a clean cats.


It works yay :-) (without deleting the file suggested a bow by r3nd3rm4n)

cats don\'t accept my CATS verification code as shown on http://burp.boinc.dk/home.php as userID it do seem to accept random numbers between 1 and 1900 as userID. Very limited tested (basically just the highest and lowest accepted number) some numbers show some actual rendered sessions and some numbers don\'t show any sessions at all
ID: 8296 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Janus
Volunteer moderator
Project administrator
Avatar

Send message
Joined: 16 Jun 04
Posts: 4574
Credit: 2,100,463
RAC: 8
Message 8297 - Posted: 1 May 2008, 13:32:55 UTC - in response to Message 8296.  
Last modified: 1 May 2008, 13:33:47 UTC

The CATS verification number is not used at the moment. Just use the userid of whatever user whose sessions you would like to download output data from. Your own userid is 9050.

Please keep in mind that downloading frames via CATS gives you the raw output - you may instead want to just use the compressed previews from the website.
ID: 8297 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Client : cats freeze at the startup splash screen