FAQs

Problem 1 (Unix)

If you encounter the following problem,

============================================
Running JavaCeilidh v0.0 for SunOS release 5.8 on the sparc platform
java version 1.2.2 is in /usr/java1.2/jre

tangzhic you are currently in /nfs/home/stu05/abcdefgh/CMhome/cs1102x
============================================
initialising clients....done
Enter username [3-16 chars] (abcdefgh): u0512345
restoring previously stored user details...
Password: 
Registered with the Login Server
Welcome to CourseMaster 3.00 Hello World
$General Exception: null
java.lang.NullPointerException
        at com.ltr.cm.cmdline.ExerciseCommand.<init>(ExerciseCommand.java:77)
        at com.ltr.cm.cmdline.Command.getInitialCommand(Command.java:214)
        at com.ltr.cm.cmdline.CeilidhCommandLine.Run(Compiled Code)
        at com.ltr.cm.main.JCclient.Init(JCclient.java:43)
        at com.ltr.cm.main.JCclient.main(JCclient.java:136)

Solution 1

Remove the file /nfs/home/stu05/abcdefgh/CMhome/cs1102x/studentArea/u0512345/u0512345 (NOT THE WORLD DIRECTORY!)


Problem 2 (Unix)

If you encounter the following problem,

============================================
Running CourseMaster 3.00 for SunOS release 5.8 on the sparc platform
java version 1.4.1 is in /usr/j2se/jre

u0509338 you are currently in /nfs/home/nusstu/u0512345/CMhome/cs1102c
============================================
initialising clients....done
JFC-GUI as UI choosen
X connection to localhost:78.0 broken (explicit kill or server shutdown).

Solution 2

Disk quota exceeded. Confirm by typing 'quota'. Remove unwanted files to clear some space.


Problem 3 (Common)

How to request for resending of coursemarker userid and password?

Solution 3

Login to MySoC (you need SoC unix account/NUSNET account to do so). Then go to IT ApplicationsCourseMarker Password. Your password will be sent to your NUSNET mailbox.


Problem 4 (Windows)

When I double click on cs1101, it just does not take me to login screen.

Solution 4

Make sure the following statement in cs1101.bat correctly reflects the path of your JDK (if not, edit it to for example as below):

set JAVA_HOME=C:\jdk1.6

If it does not fix the problem, try invoking it from the command prompt, so that the error messages stay on the screen, which is useful for further diagnostic work.


Problem 5 (Windows)

Coursemarker client cannot run, but the error messages disappear within split seconds that I cannot capture what it is trying to say.

Solution 5

If you invoke cs1101.bat from Windows Explorer directly, you will not be able to see the error messages (if any), thus debugging it is difficult. To go around the issue, do Start → Run → cmd to invoke command prompt, then go to C:\cmc, and invoke by typing cs1101.bat. The error messages will remain on the screen, then further troubleshooting would be possible.


Problem 6 (Windows)

I also have the problem about 'Develop' button in Course Marker. I tried to go to the "runjava.bat" to change the path, but it's still not working. What else can be done? Any more suggestions?

Solution 6

The 'Develop' button will run "C:\cmc\runjava.bat" to invoke Dr. Java. Try to install the Course Marker client in C:\cmc as stated in the instructions. Avoid putting it on desktop, because the spaces in the folder name will create some problem in the .bat file.


Problem 7 (Windows)

I have downloaded the CM Client and invoked the cs1101.bat but i'm unable to login.
 
The error message is
Connection refused to host: 137.132.81.20; nested exception is:
            java.net.ConnectException: Connection timed out: connect
 

Solution 7

In order to connect to Course Marker 3.0 application from outside SoC network, you need to login to SoC Network using SoC-VPN.


Problem 8 (Windows)

I am using Microsoft Windows Vista, the previous SoC-VPN (version 1.0.0) as provided by the school does not support Windows Vista.
 

Solution 8

A newer version of SoC-VPN is available. Please visit NOC website to download the newer SoC-VPN (Version 1.0.2) and install it.

Further Notes for Windows Vista

You can run SoC-VPN without having to login as Administrator: Right click on the OpenVPN GUI application
(e.g. C:\Program Files\OpenVPN\bin\openvpn-gui-1.0.3.exe), select Run as administrator to run the program.

To permanently change the privilege for running the OpenVPN GUI application, right click on OpenVPN GUI application,
select PropertiesCompatibility tab, check on Run this program as an administrator under Privilege Level.

Further Notes for Windows 7

Setup steps for Windows 7 available at Windows 7 -- SoC-VPN configuration


Problem 9 (Common)

Why is the "Submit" button in Course Marker not enable?
 

Solution 9

Ensure that you have successfully compiled your program without errors, and that executable files or java class files (*.class) created are found in your CMHome directory of your lab exercise.

For Example:
If the program is cube.java, a cube.class must be found inside "C:\CMhome\cs1101\studentArea\[Your NUSNET ID]\cs1101lab00ex1\" folder for cs1101, lab 00, execrise 1.


Problem 10 (Windows)

After successfully login to Course Marker, the screen display an empty System's Message of the Day dialog box.

Solution 10

Make sure that you have installed Java SE Runtime Environment 5.0 (JRE 1.5) to run Course Marker. Download it here: JRE 1.5

Make sure that you are running Course Marker in Java SE Runtime Environment 5.0 (JRE1.5), with the java -version:1.5 option.

Example of command:
C:\jdk1.6\bin\java -version:1.5 -Dui=GUIJFC -DTMR=ON -DCM3_CLIENT_HOME=C:\cmc -DComSpec=C:\Windows\system32\cmd.exe
-DJAVA_HOME=C:\jdk1.6 -Xbootclasspath/p:.;C:\cmc;C:\cmc\lib\symbeans.jar;C:\cmc\lib\cmc.jar com.ltr.cm.main.JCclient


Problem 11 (Dr. Java)

When I try to complie my program in Dr. Java, I encountered this error:

1 error found:
File: (no associated file) [line: (no source location)]
Error: No compiler is available.

Solution 11

Make sure that you have specified the path for Tools.jar Location in Dr. Java.

Go to EditPreferences ..., under Resource Location, specify the Tools.jar Location by specify: C:\jdk1.6\lib\tools.jar

Exit Dr. Java for the new changes to take effect. With the new settings, you should see a similar message "Compiler ready: JDK 6.0_16 from C:\jdk1.6\lib\tools.jar." in Complier Output Windows when you run Dr. Java again.


 

Maintained by cmarker@comp.nus.edu.sg