cancel
Showing results for 
Search instead for 
Did you mean: 

Error oData Services - oData EndPoint (HCI)

Former Member
0 Kudos

Hi all,

i created an Odata service based on existing Odata service, but when i called the URL receive an error on page browser.

https://e2054-iflmap.hcisbt.eu1.hana.ondemand.com/gw/odata/SAP/INTEGRATIONDAVE;v=1/CustomerDownloadS...

it is the specific error and the log

java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'str'

Message Processing Log{

  ContextName         = IntegrationDave_SAP_1

  CorrelationId       = AFe_8QeWQWMPZ58icPHrufBT4u9W

  IntermediateError   = true

  MessageGuid         = AFe_8Qflj-CKpqu0BMHiyDXGUmye

  Node                = vsa1449451.od.sap.biz

  ODataEntityName     = CustomerDownloadSet

  ODataOperationName  = GET_FEED

  OverallStatus       = FAILED

  StartTime           = Fri Aug 26 07:34:31 UTC 2016

  StopTime            = Fri Aug 26 07:34:31 UTC 2016

  LastError           = java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'str'

  Children [

    Entering Camel route route44{

      StartTime           = Fri Aug 26 07:34:31 UTC 2016

      Children [

        Exchange ID-vsa1449451-od-sap-biz-45822-1470411013839-42-104 created in Endpoint[SAP/INTEGRATIONDAVE;v=1;operation=GET_FEED;edmxPath=edmx/metadata.edmx:CustomerDownloadSet]{

          StartTime           = Fri Aug 26 07:34:31 UTC 2016

          StopTime            = Fri Aug 26 07:34:31 UTC 2016

          Children [

            Processing exchange ID-vsa1449451-od-sap-biz-45822-1470411013839-42-104 in removeHeaders[*]{

              StartTime           = Fri Aug 26 07:34:31 UTC 2016

              StepId              = removeHeaders38

              StopTime            = Fri Aug 26 07:34:31 UTC 2016

              Children [

                Processing exchange ID-vsa1449451-od-sap-biz-45822-1470411013839-42-104 in setHeader[scriptFile]{

                  StartTime           = Fri Aug 26 07:34:31 UTC 2016

                  StepId              = CallActivity_21_m10

                  StopTime            = Fri Aug 26 07:34:31 UTC 2016

                  Children [

                    Processing exchange ID-vsa1449451-od-sap-biz-45822-1470411013839-42-104 in setHeader[scriptFileType]{

                      StartTime           = Fri Aug 26 07:34:31 UTC 2016

                      StepId              = setHeader158

                      StopTime            = Fri Aug 26 07:34:31 UTC 2016

                      Children [

                        Processing exchange ID-vsa1449451-od-sap-biz-45822-1470411013839-42-104 in bean[ref:scriptprocessor method: process]{

                          StartTime           = Fri Aug 26 07:34:31 UTC 2016

                          StepId              = bean38

                          StopTime            = Fri Aug 26 07:34:31 UTC 2016

                          Children [

                            Processing exchange ID-vsa1449451-od-sap-biz-45822-1470411013839-42-104 in setHeader[destinationManagerImpl]{

                              StartTime           = Fri Aug 26 07:34:31 UTC 2016

                              StepId              = ServiceTask_1_m10

                              StopTime            = Fri Aug 26 07:34:31 UTC 2016

                              Children [

                                Processing exchange ID-vsa1449451-od-sap-biz-45822-1470411013839-42-104 in setHeader[destinationAlias]{

                                  StartTime           = Fri Aug 26 07:34:31 UTC 2016

                                  StepId              = setHeader159

                                  StopTime            = Fri Aug 26 07:34:31 UTC 2016

                                  Children [

                                    Processing exchange ID-vsa1449451-od-sap-biz-45822-1470411013839-42-104 in setHeader[AutheticationType]{

                                      StartTime           = Fri Aug 26 07:34:31 UTC 2016

                                      StepId              = setHeader160

                                      StopTime            = Fri Aug 26 07:34:31 UTC 2016

                                      Children [

                                        Processing exchange ID-vsa1449451-od-sap-biz-45822-1470411013839-42-104 in odata:/e:CustomerSet{

                                          Error               = java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'str'

                                          Sent To URI         = /e:CustomerSet

                                          StartTime           = Fri Aug 26 07:34:31 UTC 2016

                                          StepId              = to38

                                          StopTime            = Fri Aug 26 07:34:31 UTC 2016

                                          Time Taken          = 156

                                          Children [

                                            Exchange ID-vsa1449451-od-sap-biz-45822-1470411013839-42-104 failed{

                                              StartTime           = Fri Aug 26 07:34:31 UTC 2016

                                              Status              = FAILED

                                              Children [

                                                Exiting Camel route route44{

                                                  StartTime           = Fri Aug 26 07:34:31 UTC 2016

} ] } ] } ] } ] } ] } ] } ] } ] } ] } ] } ] } ] }

Sorry, buti don't understand where is the problem on my configuration

Any suggestion? I do not know how to proceed...

Thank you so much,

Davide

Accepted Solutions (0)

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hello Davide,

Can you please share your Integration Flow steps and there configuration along with your ODATA Channel?

Also, can you enable Trace ( Header And Body ) for your Integration flow and see which step this fails in and the error accordsingly? You can refer to these blogs for Tracing & Logging -

Regards

Bhavesh

Former Member
0 Kudos

Hello Bhavesh,

Thanks for your hlep and your suggestion, but i don'y use eclipse tool for HCI.

I used the on-line develop tool and these are the steps for to set HCI

oData-->oData.

Thank you so much,

Davide