Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-40199

MalformedURLException if Turnitin not enabled

    Details

    • 12 status:
      Resolved
    • Test Plan:
      Hide

      Startup Sakai
      Look in the logs
      There shouldn't be any errors from ContentReviewServiceTurnitinOC

      Show
      Startup Sakai Look in the logs There shouldn't be any errors from ContentReviewServiceTurnitinOC

      Description

      After SAK-39967, in the logs if you don't have any properties set for turnitin there are exceptions in the logs like

      22-Jun-2018 00:24:04.132 ERROR [main] org.sakaiproject.contentreview.turnitin.oc.ContentReviewServiceTurnitinOC.init no protocol: /v1/webhooks
      java.net.MalformedURLException: no protocol: /v1/webhooks
      	at java.net.URL.<init>(URL.java:593)
      	at java.net.URL.<init>(URL.java:490)
      	at java.net.URL.<init>(URL.java:439)
      	at org.sakaiproject.contentreview.turnitin.oc.ContentReviewServiceTurnitinOC.makeHttpCall(ContentReviewServiceTurnitinOC.java:583)
      
      21-Jun-2018 00:25:59.643 
      ERROR [main] org.sakaiproject.contentreview.turnitin.oc.ContentReviewServiceTurnitinOC.init no protocol: /v1/webhooks java.net.MalformedURLException: no protocol: /v1/webhooks 
      at java.net.URL.<init>(URL.java:593) at java.net.URL.<init>(URL.java:490) at java.net.URL.<init>(URL.java:439) at 
      org.sakaiproject.contentreview.turnitin.oc.ContentReviewServiceTurnitinOC.makeHttpCall(ContentReviewServiceTurnitinOC.java:583) at 
      org.sakaiproject.contentreview.turnitin.oc.ContentReviewServiceTurnitinOC.getWebhooks(ContentReviewServiceTurnitinOC.java:350) at 
      org.sakaiproject.contentreview.turnitin.oc.ContentReviewServiceTurnitinOC.init(ContentReviewServiceTurnitinOC.java:284)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  baholladay Bryan Holladay
                  Reporter:
                  jonespm Matthew Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code