You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java -jar cloudcoderApp-v0.1.0.jar registerstudents
For which course would you like to register students?
0 - CCDemo - CloudCoder demo course
[Enter value in range 0..0] 0
Enter the name of the file containing a tab-separated list student registration entries in this format:
username firstname lastname email password section
Usernames in the datbase will be re-used, but the names/email/password will not be updated,and users will not be registered for a course if they are already registered
[default: ] ==> test
Note that this may be a slow operation
Some logging results will be appended to logs/cloudcoder.log rather than echoed to stdout
java.lang.IllegalArgumentException: Unsupported conversion from java.lang.Integer to java.lang.String
at org.cloudcoder.app.server.persist.util.DBUtil.convertValue(DBUtil.java:820)
at org.cloudcoder.app.server.persist.util.DBUtil.loadModelObjectFields(DBUtil.java:926)
at org.cloudcoder.app.server.persist.util.DBUtil.loadModelObjectFields(DBUtil.java:908)
at org.cloudcoder.app.server.persist.util.ConfigurationUtil.getUsersInCourse(ConfigurationUtil.java:455)
at org.cloudcoder.app.server.persist.util.ConfigurationUtil.registerStudentsForCourseId2(ConfigurationUtil.java:391)
at org.cloudcoder.app.server.persist.RegisterStudents.registerStudents(RegisterStudents.java:49)
at org.cloudcoder.app.server.persist.RegisterStudents.main(RegisterStudents.java:18)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.cloudcoder.jetty.NestedJarClassLoader.runMain(NestedJarClassLoader.java:107)
at org.cloudcoder.jetty.WebServer.runAdminCommand(WebServer.java:99)
at org.cloudcoder.jetty.WebServer.handleCommand(WebServer.java:86)
at org.cloudcoder.webserver.CloudCoderWebServer.main(CloudCoderWebServer.java:61)
Database error: Unsupported conversion from java.lang.Integer to java.lang.String
java -jar cloudcoderApp-v0.1.0.jar registerstudents
For which course would you like to register students?
0 - CCDemo - CloudCoder demo course
[Enter value in range 0..0] 0
Enter the name of the file containing a tab-separated list student registration entries in this format:
username firstname lastname email password section
Usernames in the datbase will be re-used, but the names/email/password will not be updated,and users will not be registered for a course if they are already registered
[default: ] ==> test
Note that this may be a slow operation
Some logging results will be appended to logs/cloudcoder.log rather than echoed to stdout
java.lang.IllegalArgumentException: Unsupported conversion from java.lang.Integer to java.lang.String
at org.cloudcoder.app.server.persist.util.DBUtil.convertValue(DBUtil.java:820)
at org.cloudcoder.app.server.persist.util.DBUtil.loadModelObjectFields(DBUtil.java:926)
at org.cloudcoder.app.server.persist.util.DBUtil.loadModelObjectFields(DBUtil.java:908)
at org.cloudcoder.app.server.persist.util.ConfigurationUtil.getUsersInCourse(ConfigurationUtil.java:455)
at org.cloudcoder.app.server.persist.util.ConfigurationUtil.registerStudentsForCourseId2(ConfigurationUtil.java:391)
at org.cloudcoder.app.server.persist.RegisterStudents.registerStudents(RegisterStudents.java:49)
at org.cloudcoder.app.server.persist.RegisterStudents.main(RegisterStudents.java:18)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.cloudcoder.jetty.NestedJarClassLoader.runMain(NestedJarClassLoader.java:107)
at org.cloudcoder.jetty.WebServer.runAdminCommand(WebServer.java:99)
at org.cloudcoder.jetty.WebServer.handleCommand(WebServer.java:86)
at org.cloudcoder.webserver.CloudCoderWebServer.main(CloudCoderWebServer.java:61)
Database error: Unsupported conversion from java.lang.Integer to java.lang.String
Test File Contents :
test1 test1 test1 dheeraj@gmail.com pass 101
The text was updated successfully, but these errors were encountered: