如何处理resource not found for the segment XXXXX error message

简介: Created by Jerry Wang, last modified on Dec 10, 2015

使用Postman 测试Odata request时遇到如下

error message:

image.png

原因是因为请求的entityset在变量ms_model_class-associations里不存在对应的entry:

image.png

因此抛exception:

image.png

在line 66系统并不会进入line 71的model cache invalidation,因为mv_cache_handshake为abap_false:image.png

如果在debugger里强行进入cache evaluation,则会trigger到backend system的model metadata retrieve:

image.pngimage.png

结束时候会hard code成outdated = abap_true:

image.png

这个cache evaluation的flag只有在metadata request时才起作用:

image.png

相关文章
|
4天前
|
索引
Elasticsearch exception [type=illegal_argument_exception, reason=index [.1] is the write index for data stream [slowlog] and cannot be deleted]
在 Elasticsearch 中,你尝试删除的索引是一个数据流(data stream)的一部分,而且是数据流的写入索引(write index),因此无法直接删除它。为了解决这个问题,你可以按照以下步骤进行操作:
|
6月前
|
API Windows
Qt-解决异常报错“QAxBase::setControl: requested control XXX could not be instantiated”
Qt-解决异常报错“QAxBase::setControl: requested control XXX could not be instantiated”
106 0
|
6月前
|
Java
【Java异常】feign.FeignException: status 400 reading xxx#xxxx(String); content:
【Java异常】feign.FeignException: status 400 reading xxx#xxxx(String); content:
27 0
|
8月前
|
数据采集 缓存 Android开发
Assertion desc failed at libswscale/swscale_internal.h:674和ffmpeg的各种key+value
Assertion desc failed at libswscale/swscale_internal.h:674和ffmpeg的各种key+value
124 0
|
8月前
|
前端开发 数据库
Failed to load response dataNo data found for resource with given identifier
Failed to load response dataNo data found for resource with given identifier
1042 0
|
索引
ES报错:“type“=>“cluster_block_exception“, “reason“=>“blocked by: [FORBIDDEN/12/index read-only / allow
ES报错:“type“=>“cluster_block_exception“, “reason“=>“blocked by: [FORBIDDEN/12/index read-only / allow
273 0
ES报错:“type“=>“cluster_block_exception“, “reason“=>“blocked by: [FORBIDDEN/12/index read-only / allow
|
Go iOS开发
The operation couldn’t be completed. Unable to log in with account 'myappleid'. An unexpected failure occurred while logging in (Underlying error code 1100).解决方法
The operation couldn’t be completed. Unable to log in with account 'myappleid'. An unexpected failure occurred while logging in (Underlying error code 1100).解决方法
351 0
Whitelabel Error Page There was an unexpected error (type=Not Found, status=404). No message availab
Whitelabel Error Page There was an unexpected error (type=Not Found, status=404). No message availab
148 0
|
Oracle 关系型数据库 Linux
Alert 日志报错:ORA-2730x OS Failure Message: No Buffer Space Available
今天巡检遇到数据库报错 ORA-2730x 错误,数据库版本为Oracle 11204 (x86_64),错误日志如下:
Alert 日志报错:ORA-2730x OS Failure Message: No Buffer Space Available