Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] Repeated w correct email addressesFW:

Mona Salem monasalem123 at
Fri Feb 28 13:19:44 PST 2014


Hi All

I am getting the following error:

            at Source)

            at TextAnnotation.get(

            at TextAnnotation.stringToAnnotate(

            at sitemapParser.getAllUrlNames(

            at sitemapParser.main(

com.fasterxml.jackson.databind.JsonMappingException: No content to map due
to end-of-input

 at [Source: at 1ff2b382; line: 1, column: 1]



I am calling stringToAnnotate  method from my code, (no hierarchies req'd):

public class TextAnnotation {


    static final String REST_URL = "";

    static final String API_KEY = "";

    static final ObjectMapper mapper = new ObjectMapper();


    public void stringToAnnotate(String abstractInfo, Model model2, String
URLaddress) throws UnsupportedEncodingException {    


        String textToAnnotate = URLEncoder.encode(abstractInfo, "UTF-8");
//1-31 UTF-8 changed


        Resource SoftwareProduct = model2.createResource(URLaddress);  


       JsonNode annotations = jsonToNode(get(REST_URL +
"/annotator?ontologies=NCIT&text=" + textToAnnotate)); 


      for (JsonNode annotation : annotations) {


            JsonNode classDetails =



            //System.out.println("\tontology: " +

           // System.out.println("\n");







Thanks for any help

Mona Nafoosi

G6G Consulting Group

Santa Monica CA




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the bioontology-support mailing list