on 08-26-2016 9:53 AM
Hi all,
i created an Odata service based on existing Odata service, but when i called the URL receive an error on page browser.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.