You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Joern Kottmann (JIRA)" <ji...@apache.org> on 2017/12/05 17:48:00 UTC
[jira] [Assigned] (OPENNLP-1158) The Brat Annotation Service does
not serialize results appropriately
[ https://issues.apache.org/jira/browse/OPENNLP-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joern Kottmann reassigned OPENNLP-1158:
---------------------------------------
Assignee: Daniel Russ
> The Brat Annotation Service does not serialize results appropriately
> --------------------------------------------------------------------
>
> Key: OPENNLP-1158
> URL: https://issues.apache.org/jira/browse/OPENNLP-1158
> Project: OpenNLP
> Issue Type: Bug
> Components: Applications
> Affects Versions: 1.8.3
> Reporter: Daniel Russ
> Assignee: Daniel Russ
> Fix For: 1.8.4
>
>
> After starting up the BratAnnotatorService NameFinderAnnSerive, BRAT passes text to the service, but it never returns.
> curl -v -H "Content-type: text/plain" -H "Accept: application/json" -X POST -d "I am a fireman" localhost:8123/ner
> * About to connect() to localhost port 8123 (#0)
> * Trying 127.0.0.1... connected
> * Connected to localhost (127.0.0.1) port 8123 (#0)
> > POST /ner HTTP/1.1
> > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> > Host: localhost:8123
> > Content-type: text/plain
> > Accept: application/json
> > Content-Length: 14
> >
> < HTTP/1.1 400 Bad Request
> < Content-Type: text/plain
> < Date: Tue, 21 Nov 2017 19:43:15 GMT
> < Connection: close
> < Content-Length: 247
> <
> * Closing connection #0
> No serializer found for class opennlp.bratann.NameFinderResource$NameAnn and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: java.util.HashMap["0"]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)