Hi,
I am using V0.1.5 jar and calling rest api to get MoodleRestCourse.getAllCourses() which is returning below error,
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:493)
at java.lang.Integer.parseInt(Integer.java:514)
at net.beaconhillcott.moodlerest.MoodleCourse.setMoodleCourseField(MoodleCourse.java:209)
at net.beaconhillcott.moodlerest.MoodleRestCourse.getAllCourses(MoodleRestCourse.java:58)
List of course is actually coming but in the first Course (which is actually my site) is having hiddensections as null in response
<KEY name="hiddensections"><VALUE null="null"/></KEY>
Is there a way I could update this value for my site which is coming in course list so it does not return null. Else I will have to update jar file to handle for this null.
Kindly provide suggestion !
Thanks,
Ankit