-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
Description
Executing the main method in AnnotateText.java throws the following exception:
java.io.FileNotFoundException: http://data.bioontology.org/ontologies/OHMI/classes/http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDOID_1909
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at AnnotateText.get(AnnotateText.java:97)
at AnnotateText.printAnnotations(AnnotateText.java:50)
at AnnotateText.main(AnnotateText.java:27)
Class details
com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input
at [Source: java.io.StringReader@6cd8737; line: 1, column: 1]
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164)
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:2836)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2778)
at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:1659)
at AnnotateText.jsonToNode(AnnotateText.java:75)
at AnnotateText.printAnnotations(AnnotateText.java:50)
at AnnotateText.main(AnnotateText.java:27)
Exception in thread "main" java.lang.NullPointerException
at AnnotateText.printAnnotations(AnnotateText.java:52)
at AnnotateText.main(AnnotateText.java:27)