SAP Knowledge Base Article - Preview

3423521 - Error: "java.lang.NegativeArraySizeException" while selecting from Virtual table created through FileAdapter remote source - SAP HANA Smart Data Integration

Symptom

  • Create a remote source through FileAdapter and create a Virtual table
  • Select through the virtual table failed with error: "Remote execution error Exception while processing request "SDA Response for FileAdapter of type SUCCESS_MSG responding to FEDERATION_GET_NEXT" for query ***"
  • From framework.trc file, following error showed
    "DPFramework | AsyncHandler.processStreamingExecuteStatement [] - AH(***): com.sap.hana.dp.adapter.sdk.AdapterException: Exception while processing request "SDA Response for FileAdapter of type SUCCESS_MSG responding to FEDERATION_GET_NEXT" Context: java.lang.NegativeArraySizeException: -1073741824
                                    at com.sap.hana.dp.fileadapter.CharBuffer.<init>(CharBuffer.java:17)
                                    at com.sap.hana.dp.fileadapter.tableloaders.TableLoaderWithAllFilters.getNextRowData(TableLoaderWithAllFilters.java:197)
                                    at com.sap.hana.dp.adapter.sdk.adapterbase.BaseAdapterClass.getNext(BaseAdapterClass.java:1026)
                                    at com.sap.hana.dp.adapter.sdk.decorator.AdapterCDCDelegate.getNext(AdapterCDCDelegate.java:118)
                                    at com.sap.hana.dp.adapter.framework.core.AsyncHandler.fetchRows(AsyncHandler.java:493)"


Read more...

Environment

SAP HANA Smart Data Integration

Keywords

DP agent, FileAdapter, remote source, NegativeArraySizeException , KBA , HAN-DP-SDI , SAP HANA smart data integration (SDI) , Problem

About this page

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

Search for additional results

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