CCT: now hosted at garron.us; v0.9.3 out

In version 0.9.3 (the only version for which we have the source), line 1358 of net.gnehzr.cct.main.CALCubeTimer.main(...).new Runnable() {...}.run() in file /cct/src/net/gnehzr/cct/main/CALCubeTimer.java we can see...
Code:
Utils.showErrorDialog(null, errors, "Couldn't start CCT!");

This can happen for all sorts of reasons so you'll have to post the contents of the window for further diagnosis of your particular problem(s).
 
In version 0.9.3 (the only version for which we have the source), line 1358 of net.gnehzr.cct.main.CALCubeTimer.main(...).new Runnable() {...}.run() in file /cct/src/net/gnehzr/cct/main/CALCubeTimer.java we can see...
Code:
Utils.showErrorDialog(null, errors, "Couldn't start CCT!");

This can happen for all sorts of reasons so you'll have to post the contents of the window for further diagnosis of your particular problem(s).

Couldn't find file!
C:\Documents and Settings\Cosgrove\Local Settings\Temp\jZip\jZip12128\jZip4FA\profiles\defaults.properties
Couldn't find file!
C:\Documents and Settings\Cosgrove\Local Settings\Temp\jZip\jZip12128\jZip4FA\guiLayouts

This is my error window, thank you for the help!
 
if you start cct in cmd prompt then you should get a stacktrace.

something like: java -jar CALCubeTimer.jar

True, but most of the stacktraces that go to stdout in CCT are usually less than useful, e.g. a NPE from a swing worker thread...
Code:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
	at net.gnehzr.cct.configuration.Configuration.getAvailableLocales(Unknown Source)
	at net.gnehzr.cct.main.CALCubeTimer.initializeGUIComponents(Unknown Source)
	at net.gnehzr.cct.main.CALCubeTimer.<init>(Unknown Source)
	at net.gnehzr.cct.main.CALCubeTimer$7.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(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)

The startup problems are collected and reported in the error message window which is of more use to us here since the application has actually started and we want to see what CCT itself thinks is the problem and why it stops itself from running any further.
 
In version 0.9.3 (the only version for which we have the source), line 1358 of net.gnehzr.cct.main.CALCubeTimer.main(...).new Runnable() {...}.run() in file /cct/src/net/gnehzr/cct/main/CALCubeTimer.java we can see...
Code:
Utils.showErrorDialog(null, errors, "Couldn't start CCT!");

This can happen for all sorts of reasons so you'll have to post the contents of the window for further diagnosis of your particular problem(s).

Couldn't find file!
C:\Documents and Settings\Cosgrove\Local Settings\Temp\jZip\jZip12128\jZip4FA\profiles\defaults.properties
Couldn't find file!
C:\Documents and Settings\Cosgrove\Local Settings\Temp\jZip\jZip12128\jZip4FA\guiLayouts

This is my error window, thank you for the help!

It looks like you have opened the jar file as an archive (i.e. as a zip file) and are attempting to run the main class from within it. Java should be doing this for you!

EDIT: the correct way to start CCT on a Windows platform where Java is correctly installed would be to double-click CALCubeTimer.jar -- the windows file association for a Java JAR file should be to run "java -jar %1". Alternatively you can run from within a CMD prompt or create a little batch file in the same directory as CALCubeTimer.jar...
Code:
java -jar CALCubeTimer.jar
 
Last edited:
In version 0.9.3 (the only version for which we have the source), line 1358 of net.gnehzr.cct.main.CALCubeTimer.main(...).new Runnable() {...}.run() in file /cct/src/net/gnehzr/cct/main/CALCubeTimer.java we can see...
Code:
Utils.showErrorDialog(null, errors, "Couldn't start CCT!");

This can happen for all sorts of reasons so you'll have to post the contents of the window for further diagnosis of your particular problem(s).

Couldn't find file!
C:\Documents and Settings\Cosgrove\Local Settings\Temp\jZip\jZip12128\jZip4FA\profiles\defaults.properties
Couldn't find file!
C:\Documents and Settings\Cosgrove\Local Settings\Temp\jZip\jZip12128\jZip4FA\guiLayouts

This is my error window, thank you for the help!

It looks like you have opened the jar file as an archive (i.e. as a zip file) and are attempting to run the main class from within it. Java should be doing this for you!

*In the English language*: I think he means, you need to unzip the CCT folder. Then you can run CCT.
 
my computer says, in a window when i try to open it, "Couldn't find file!
C:\Users\Basher\AppData\Local\Temp\Temp1_cct-0.9.3.zip\cct-0.9.3\profiles\defaults.properties
Couldn't find file!
C:\Users\Basher\AppData\Local\Temp\Temp1_cct-0.9.3.zip\cct-0.9.3\guiLayouts
 
Back
Top