-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 1.2.0
-
Fix Version/s: 1.2.2
-
Component/s: Batch Upload
-
Tags:
-
Sprint:nxNS Sprint 9.3.1
With latest MP version of API playground on Nuxeo 9.2:
- go to Batch Upload
- upload a file from your hard drive
- copy batchId
- go to Repository
- navigate to a folder
- select POST tab
- click Sample Document
- click Reference Batch
- paste batch reference JSON in POST input
- execute
Result:
This error appeared in API Playground:
<html><head><title>Apache Tomcat/7.0.69 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - No serializer found for class org.apache.catalina.connector.CoyoteInputStream and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: org.codehaus.jackson.JsonParseException["location"]->org.codehaus.jackson.JsonLocation["sourceRef"])</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>No serializer found for class org.apache.catalina.connector.CoyoteInputStream and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: org.codehaus.jackson.JsonParseException["location"]->org.codehaus.jackson.JsonLocation["sourceRef"])</u></p><p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.69</h3></body></html>
and this error was returned in the server logs:
2017-06-30 16:48:24,266 ERROR [http-bio-0.0.0.0-8080-exec-16] [nuxeo-error-log] javax.servlet.ServletException: org.codehaus.jackson.map.JsonMappingException: No serializer found for class org.apache.catalina.connector.CoyoteInputStream and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: org.codehaus.jackson.JsonParseException["location"]->org.codehaus.jackson.JsonLocation["sourceRef"])
No file was uploaded.