SAP Knowledge Base Article - Preview

2488976 - File/Hadoop JSON input causes Invalid JSON String error - SAP HANA Streaming, SAP Event Stream Processor

Symptom

When using the File/Hadoop JSON Input Adapter to publish data to the project, importing a JSON file generates an error message:

ERROR [Thread-20] (JSONInFormatter.convert) Exception is thrownnet.sf.json.JSONException: Invalid JSON String      
at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:143)       
at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103)       
at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:84)       
at com.sybase.esp.adapter.formatters.json.JSONInFormatter.convert(JSONInFormatter.java:151)       
at com.sybase.esp.adapter.framework.wrappers.FormatterWrapper.processRow(FormatterWrapper.java:387)       
at com.sybase.esp.adapter.framework.wrappers.FormatterWrapper.run(FormatterWrapper.java:260)       
at java.lang.Thread.run(Thread.java:812)


Read more...

Environment

  • SAP HANA Smart Data Streaming (SDS)
  • SAP HANA Streaming Analytics
  • SAP Event Stream Processor (ESP)

Product

SAP Event Stream Processor 5.1 ; SAP HANA 1.0 smart data streaming ; SAP HANA 1.0, platform edition ; SAP HANA streaming analytics 2.0 ; SAP Sybase Event Stream Processor 5.0 ; Sybase Event Stream Processor 3.0 ; Sybase Event Stream Processor 4.0

Keywords

SDS, ESP, event stream processor studio, hana, server, failure, error, load, input, sytnax, formatter, format, convert, parse, simple, read, instance, cluster, log, file, streaming, syntax, publish , KBA , HAN-SDS , SAP HANA Smart Data Streaming , BC-SYB-ESP , Sybase ESP (Event Stream Processor) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.