{"id":17639,"date":"2026-07-03T15:00:21","date_gmt":"2026-07-03T06:00:21","guid":{"rendered":"https:\/\/www.sunbridge.com\/?post_type=blog&amp;p=17639"},"modified":"2026-07-03T15:00:21","modified_gmt":"2026-07-03T06:00:21","slug":"how-to-use-safe-navigation-operator","status":"publish","type":"blog","link":"https:\/\/www.sunbridge.com\/blog\/column\/how-to-use-safe-navigation-operator\/","title":{"rendered":"\u30b3\u30fc\u30c9\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u3002Safe Navigation Operator\uff08?.\uff09\u306e\u4f7f\u3044\u65b9\u3068\u5b9f\u52d9\u3067\u306e\u6ce8\u610f\u70b9"},"content":{"rendered":"<p>Salesforce\u306eApex\u958b\u767a\u306b\u304a\u3044\u3066\u3001\u591a\u304f\u306e\u4eba\u304c\u76f4\u9762\u3059\u308b\u306e\u304cNullPointerException\u306e\u30a8\u30e9\u30fc\u3067\u3059\u3002<\/p>\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001\u3053\u306e\u30a8\u30e9\u30fc\u3092\u56de\u907f\u3067\u304d\u308b\u300cSafe Navigation Operator\uff08?.\uff09\u300d\u306e\u6d3b\u7528\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u8907\u96d1\u306aif\u6587\u306b\u3088\u308bNull\u30c1\u30a7\u30c3\u30af\u304c\u4e0d\u8981\u306b\u306a\u308b\u305f\u3081\u3001\u30b3\u30fc\u30c9\u306e\u8996\u8a8d\u6027\u5411\u4e0a\u3068\u30d0\u30b0\u306e\u6291\u5236\u304c\u671f\u5f85\u3067\u304d\u307e\u3059\u3002<!-- notionvc: f664121c-eb34-4930-bab6-a1aa9ec72f94 --><\/p>\n<h2>\u300cNullPointerException\u300d\u3068\u5f93\u6765\u306e\u5bfe\u7b56\uff1a<\/h2>\n<p>Salesforce\u3067\u958b\u767a\u3092\u884c\u3046\u969b\u3001\u30d5\u30ed\u30fc\u3067\u306f\u30ab\u30d0\u30fc\u3067\u304d\u306a\u3044\u8907\u96d1\u306a\u51e6\u7406\u306b\u306fApex\u30b3\u30fc\u30c9\u304c\u4f7f\u308f\u308c\u307e\u3059\u3002<br \/>\n\u3057\u304b\u3057\u3001\u79c1\u3092\u542b\u3081\u3001\u591a\u304f\u306e\u958b\u767a\u8005\u304c\u4e00\u5ea6\u306f\u906d\u9047\u3057\u82e6\u3057\u3081\u3089\u308c\u308b\u306e\u304c\u300cSystem.NullPointerException\u300d\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u4e2d\u8eab\u304c\u7a7a\uff08Null\uff09\u306e\u5909\u6570\u306b\u5bfe\u3057\u3066\u3001\u5024\u306e\u53d6\u5f97\u3084\u30e1\u30bd\u30c3\u30c9\u306e\u5b9f\u884c\u3057\u305f\u969b\u306b\u767a\u751f\u3059\u308b\u30a8\u30e9\u30fc\u3092\u6307\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u308b\u3068\u51e6\u7406\u304c\u5f37\u5236\u7d42\u4e86\u3059\u308b\u305f\u3081\u3001\u3053\u308c\u307e\u3067\u306fif\u6587\u3084\u4e09\u9805\u6f14\u7b97\u5b50\u306b\u3088\u308b\u5bfe\u7b56\u304c\u5fc5\u9808\u3067\u3057\u305f\u3002<br \/>\n\u30c7\u30fc\u30bf\u304c\u5b58\u5728\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u4e8b\u524d\u306b\u5224\u5b9a\u3057\u3001\u7a7a\u3067\u306a\u3044\u5834\u5408\u306e\u307f\u51e6\u7406\u3092\u9032\u3081\u308b\u3068\u3044\u3046\u5b9f\u88c5\u65b9\u6cd5\u3067\u3059\u3002<br \/>\n\u7d50\u679c\u3068\u3057\u3066\u30b3\u30fc\u30c9\u306e\u884c\u6570\u304c\u7121\u99c4\u306b\u5897\u3048\u3066\u3057\u307e\u3044\u3001\u6570\u30f6\u6708\u524d\u306e\u81ea\u5206\u304c\u66f8\u3044\u305f\u30b3\u30fc\u30c9\u304c\u8aad\u3081\u306a\u304f\u306a\u308b\u8ab2\u984c\u3092\u62b1\u3048\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<h2>2\u6587\u5b57\u3067\u89e3\u6c7a\u3059\u308b\u300c?.\u300d\u306e\u4ed5\u7d44\u307f\u3068\u5177\u4f53\u7684\u306a\u30b3\u30fc\u30c9\u4f8b\uff1a<\/h2>\n<p>\u3053\u3046\u3057\u305f\u30b3\u30fc\u30c9\u306e\u8907\u96d1\u5316\u3092\u89e3\u6c7a\u3057\u3066\u304f\u308c\u308b\u306e\u304c\u3001\u300cSafe Navigation Operator\uff08?.\uff09\u300d\u3068\u3044\u3046\u6f14\u7b97\u5b50\u3067\u3059\u3002<br \/>\n\u4f7f\u3044\u65b9\u306f\u30b7\u30f3\u30d7\u30eb\u3067\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5909\u6570\u306e\u5f8c\u308d\u306b\u3042\u308b\u30c9\u30c3\u30c8\uff08.\uff09\u306e\u524d\u306b\u7591\u554f\u7b26\uff08?\uff09\u3092\u4ed8\u3051\u308b\u3060\u3051\u3067\u3059\u3002<br \/>\n\u4f55\u91cd\u306b\u3082\u30cd\u30b9\u30c8\u3057\u3066\u3044\u305fif\u6587\u306eNull\u30c1\u30a7\u30c3\u30af\u304c\u3001\u3053\u306e\u6f14\u7b97\u5b50\u3092\u4f7f\u3046\u3053\u3068\u30671\u884c\u306b\u307e\u3068\u307e\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u30b3\u30fc\u30c9\u4f8b1\uff1a\u6df1\u304f\u30cd\u30b9\u30c8\u3057\u305fNull\u30c1\u30a7\u30c3\u30af\u30921\u884c\u306b\u307e\u3068\u3081\u308b\u5834\u5408<\/strong><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\/\/ \u5f93\u6765\u306e\u66f8\u304d\u65b9\uff08\u53d6\u5f15\u5148 \u2794 \u62c5\u5f53\u8005 \u2794 \u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9 \u3068\u6df1\u304f\u53c2\u7167\u3059\u308b\u307b\u3069\u30cd\u30b9\u30c8\u304c\u6df1\u304f\u306a\u308b\uff09\nString email = null;\nif (acc != null) {\n    if (acc.MainContact__c != null) {\n        email = acc.MainContact__c.Email;\n    }\n}\n\n\/\/ \u300c?.\u300d\u3092\u4f7f\u3063\u305f\u66f8\u304d\u65b9\uff08\u9014\u4e2d\u306e\u30c7\u30fc\u30bf\u304cNull\u3067\u3082\u30a8\u30e9\u30fc\u306b\u306a\u3089\u305a\u30011\u884c\u306b\u96c6\u7d04\uff09\nString email = acc?.MainContact__c?.Email;<!-- notionvc: fe937686-052f-428e-93f2-af6e94701a3a --><\/code><\/pre>\n<\/div>\n<p><strong><span data-token-index=\"0\" class=\"notion-enable-hover\">\u30b3\u30fc\u30c9\u4f8b2\uff1a\u6587\u5b57\u5217\u64cd\u4f5c\u306a\u3069\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u5834\u5408<\/span><\/strong><!-- notionvc: b33d5d14-762a-48b1-a2cc-bf61d2dfe728 --><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>String text = getSomeText(); \/\/ Null\u304c\u8fd4\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u51e6\u7406\n\n\/\/ text\u304cNull\u306a\u3089\u5927\u6587\u5b57\u5909\u63db\u306f\u5b9f\u884c\u3055\u308c\u305a\u3001\u30a8\u30e9\u30fc\u3092\u8d77\u3053\u3055\u305a\u306b\u5168\u4f53\u3068\u3057\u3066Null\u3092\u8fd4\u3057\u307e\u3059\nString upperText = text?.toUpperCase();<!-- notionvc: f9138dde-bda4-41ef-ab0f-c21cd150f931 --><\/code><\/pre>\n<\/div>\n<p>\u4e0a\u8a18\u30b3\u30fc\u30c9\u4f8b\u306e\u3088\u3046\u306b\u3001\u9805\u76ee\u5024\u306e\u53c2\u7167\u3060\u3051\u3067\u306a\u304f\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u306e\u5834\u9762\u3067\u3082\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30a8\u30e9\u30fc\u3092\u56de\u907f\u3059\u308b\u969b\u306e\u6ce8\u610f\u70b9\u3068\u5b9f\u52d9\u306b\u304a\u3051\u308b\u4f7f\u3044\u5206\u3051\uff1a<\/h2>\n<p>\u4fbf\u5229\u306a\u6f14\u7b97\u5b50\u3067\u3059\u304c\u3001\u300c\u672c\u5f53\u306bNull\u306e\u307e\u307e\u51e6\u7406\u3092\u6d41\u3057\u3066\u3044\u3044\u306e\u304b\u300d\u3092\u898b\u6975\u3081\u308b\u8996\u70b9\u3082\u5fc5\u8981\u3067\u3059\u3002<br \/>\n\u30c7\u30fc\u30bf\u304c\u7a7a\u306e\u307e\u307e\u51e6\u7406\u304c\u7d9a\u304f\u3068\u3001\u5f8c\u7d9a\u306e\u5fc5\u9808\u51e6\u7406\u3067\u4e88\u671f\u305b\u306c\u30c7\u30fc\u30bf\u4e0d\u6574\u5408\u3092\u5f15\u304d\u8d77\u3053\u3059\u30ea\u30b9\u30af\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u30a8\u30e9\u30fc\u3092\u3042\u3048\u3066\u767a\u751f\u3055\u305b\u3066\u51e6\u7406\u3092\u6b62\u3081\u308b\u3079\u304d\u304b\u3001Null\u306e\u307e\u307e\u6d41\u3059\u3079\u304d\u304b\u3001\u5b9f\u52d9\u306b\u5fdc\u3058\u305f\u4f7f\u3044\u5206\u3051\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u58f2\u4e0a\u91d1\u984d\u306e\u8a08\u7b97\u3084\u5951\u7d04\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u66f4\u65b0\u306a\u3069\u3001\u57fa\u5e79\u30c7\u30fc\u30bf\u306b\u95a2\u308f\u308b\u91cd\u8981\u306a\u51e6\u7406\u3067\u306f\u30a8\u30e9\u30fc\u3067\u6b62\u3081\u308b\u3079\u304d\u3067\u3059\u3002<br \/>\n\u5024\u304c\u6b20\u843d\u3057\u305f\u307e\u307e\u51e6\u7406\u304c\u9032\u3080\u3068\u3001\u5f8c\u304b\u3089\u30c7\u30fc\u30bf\u306e\u4e0d\u6574\u5408\u306b\u6c17\u3065\u3044\u305f\u3068\u304d\u306e\u4fee\u6b63\u304c\u975e\u5e38\u306b\u56f0\u96e3\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306e\u5834\u5408\u306f\u300c?.\u300d\u3092\u4f7f\u308f\u305a\u3001\u3057\u3063\u304b\u308a\u3068if\u6587\u3067\u4f8b\u5916\u51e6\u7406\u3092\u884c\u3046\u8a2d\u8a08\u306b\u3059\u308b\u306e\u304c\u5b89\u5168\u3067\u3059\u3002<\/p>\n<p>\u4e00\u65b9\u3067\u3001\u753b\u9762\u306b\u8868\u793a\u3059\u308b\u3060\u3051\u306e\u88dc\u8db3\u60c5\u5831\u306a\u3069\u3067\u3042\u308c\u3070Null\u306e\u307e\u307e\u6d41\u3057\u3066\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u60c5\u5831\u304c\u6b20\u3051\u3066\u3044\u3066\u3082\u5168\u4f53\u306e\u30d3\u30b8\u30cd\u30b9\u30ed\u30b8\u30c3\u30af\u306f\u7834\u7dbb\u3057\u306a\u3044\u305f\u3081\u3001\u30b7\u30b9\u30c6\u30e0\u3092\u5f37\u5236\u7d42\u4e86\u3055\u305b\u308b\u5fc5\u8981\u304c\u306a\u3044\u304b\u3089\u3067\u3059\u3002<\/p>\n<h2>Safe Navigation Operator\uff08?.\uff09\u3092\u6d3b\u7528\u3057\u3066\u52b9\u7387\u7684\u306aApex\u958b\u767a\u3092\uff1a<\/h2>\n<p>Apex\u30b3\u30fc\u30c9\u306b\u304a\u3051\u308b\u300cSafe Navigation Operator\uff08?.\uff09\u300d\u306e\u4f7f\u3044\u65b9\u3068\u3001\u5b9f\u52d9\u3067\u306e\u6ce8\u610f\u70b9\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002\u5197\u9577\u306aif\u6587\u3092\u6e1b\u3089\u3059\u3060\u3051\u3067\u3001\u30b3\u30fc\u30c9\u306e\u898b\u901a\u3057\u304c\u826f\u304f\u306a\u308a\u3001\u65e5\u3005\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3082\u697d\u306b\u306a\u308a\u307e\u3059\u3002\u305f\u3060\u4fbf\u5229\u306a\u6a5f\u80fd\u3068\u3057\u3066\u4f7f\u3046\u3060\u3051\u3067\u306a\u304f\u3001\u696d\u52d9\u306e\u91cd\u8981\u5ea6\u306b\u5408\u308f\u305b\u3066\u300c\u51e6\u7406\u3092\u6d41\u3059\u304b\u6b62\u3081\u308b\u304b\u300d\u3092\u5224\u65ad\u3059\u308b\u3053\u3068\u304c\u5927\u5207\u3067\u3059\u3002<\/p>\n<p>\u3061\u3087\u3063\u3068\u3057\u305f\u69cb\u6587\u306e\u5de5\u592b\u3092\u7a4d\u307f\u91cd\u306d\u308b\u3053\u3068\u3067\u3001\u958b\u767a\u8005\u306b\u3068\u3063\u3066\u3082\u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u3082\u6271\u3044\u3084\u3059\u3044\u30b7\u30b9\u30c6\u30e0\u306b\u8fd1\u3065\u304d\u307e\u3059\u3002<\/p>\n<p><!-- notionvc: 4f4c9fbc-7535-44f1-8843-744c884967cd --><\/p>\n<p><!-- notionvc: a05e8746-2092-442f-94e8-aa2c9b47587c --><\/p>\n","protected":false},"featured_media":17754,"template":"","meta":{"swell_btn_cv_data":"","footnotes":""},"blog_cat":[7,21],"blog_tag":[11,14,34],"class_list":["post-17639","blog","type-blog","status-publish","has-post-thumbnail","hentry","blog_cat-column","blog_cat-system","blog_tag-sfa-crm","blog_tag-system-development","blog_tag-apex"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Salesforce\u306eApex\u958b\u767a\u306b\u304a\u3044\u3066\u3001\u591a\u304f\u306e\u4eba\u304c\u76f4\u9762\u3059\u308b\u306e\u304cNullPointerException\u306e\u30a8\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.sunbridge.com\/blog\/column\/how-to-use-safe-navigation-operator\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Rewa Tech -\u30ea\u30ef\u30c6\u30af- -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u30b3\u30fc\u30c9\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u3002Safe Navigation Operator\uff08?.\uff09\u306e\u4f7f\u3044\u65b9\u3068\u5b9f\u52d9\u3067\u306e\u6ce8\u610f\u70b9 - Rewa Tech -\u30ea\u30ef\u30c6\u30af-\" \/>\n\t\t<meta property=\"og:description\" content=\"Salesforce\u306eApex\u958b\u767a\u306b\u304a\u3044\u3066\u3001\u591a\u304f\u306e\u4eba\u304c\u76f4\u9762\u3059\u308b\u306e\u304cNullPointerException\u306e\u30a8\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.sunbridge.com\/blog\/column\/how-to-use-safe-navigation-operator\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-07-03T06:00:21+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-07-03T06:00:21+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u30b3\u30fc\u30c9\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u3002Safe Navigation Operator\uff08?.\uff09\u306e\u4f7f\u3044\u65b9\u3068\u5b9f\u52d9\u3067\u306e\u6ce8\u610f\u70b9 - Rewa Tech -\u30ea\u30ef\u30c6\u30af-\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Salesforce\u306eApex\u958b\u767a\u306b\u304a\u3044\u3066\u3001\u591a\u304f\u306e\u4eba\u304c\u76f4\u9762\u3059\u308b\u306e\u304cNullPointerException\u306e\u30a8\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/column\\\/how-to-use-safe-navigation-operator\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/blog\\\/#listItem\",\"name\":\"\\u30d6\\u30ed\\u30b0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/blog\\\/#listItem\",\"position\":2,\"name\":\"\\u30d6\\u30ed\\u30b0\",\"item\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/blog_cat\\\/column\\\/#listItem\",\"name\":\"\\u6280\\u8853\\u30b3\\u30e9\\u30e0\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/blog_cat\\\/column\\\/#listItem\",\"position\":3,\"name\":\"\\u6280\\u8853\\u30b3\\u30e9\\u30e0\",\"item\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/blog_cat\\\/column\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/blog_cat\\\/system\\\/#listItem\",\"name\":\"\\u30b7\\u30b9\\u30c6\\u30e0\\u958b\\u767a\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/blog\\\/#listItem\",\"name\":\"\\u30d6\\u30ed\\u30b0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/blog_cat\\\/system\\\/#listItem\",\"position\":4,\"name\":\"\\u30b7\\u30b9\\u30c6\\u30e0\\u958b\\u767a\",\"item\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/blog_cat\\\/system\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/column\\\/how-to-use-safe-navigation-operator\\\/#listItem\",\"name\":\"\\u30b3\\u30fc\\u30c9\\u3092\\u30b7\\u30f3\\u30d7\\u30eb\\u306b\\u3002Safe Navigation Operator\\uff08?.\\uff09\\u306e\\u4f7f\\u3044\\u65b9\\u3068\\u5b9f\\u52d9\\u3067\\u306e\\u6ce8\\u610f\\u70b9\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/blog_cat\\\/column\\\/#listItem\",\"name\":\"\\u6280\\u8853\\u30b3\\u30e9\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/column\\\/how-to-use-safe-navigation-operator\\\/#listItem\",\"position\":5,\"name\":\"\\u30b3\\u30fc\\u30c9\\u3092\\u30b7\\u30f3\\u30d7\\u30eb\\u306b\\u3002Safe Navigation Operator\\uff08?.\\uff09\\u306e\\u4f7f\\u3044\\u65b9\\u3068\\u5b9f\\u52d9\\u3067\\u306e\\u6ce8\\u610f\\u70b9\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/blog_cat\\\/system\\\/#listItem\",\"name\":\"\\u30b7\\u30b9\\u30c6\\u30e0\\u958b\\u767a\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/#organization\",\"name\":\"Rewa Tech -\\u30ea\\u30ef\\u30c6\\u30af-\",\"url\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/column\\\/how-to-use-safe-navigation-operator\\\/#webpage\",\"url\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/column\\\/how-to-use-safe-navigation-operator\\\/\",\"name\":\"\\u30b3\\u30fc\\u30c9\\u3092\\u30b7\\u30f3\\u30d7\\u30eb\\u306b\\u3002Safe Navigation Operator\\uff08?.\\uff09\\u306e\\u4f7f\\u3044\\u65b9\\u3068\\u5b9f\\u52d9\\u3067\\u306e\\u6ce8\\u610f\\u70b9 - Rewa Tech -\\u30ea\\u30ef\\u30c6\\u30af-\",\"description\":\"Salesforce\\u306eApex\\u958b\\u767a\\u306b\\u304a\\u3044\\u3066\\u3001\\u591a\\u304f\\u306e\\u4eba\\u304c\\u76f4\\u9762\\u3059\\u308b\\u306e\\u304cNullPointerException\\u306e\\u30a8\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/column\\\/how-to-use-safe-navigation-operator\\\/#breadcrumblist\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/4\\\/2026\\\/07\\\/thumbnail-background-back_office-1.jpg\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/column\\\/how-to-use-safe-navigation-operator\\\/#mainImage\",\"width\":1200,\"height\":630,\"caption\":\"Rewa Tech \\u30ea\\u30ef\\u30c6\\u30af\\u3000\\u6280\\u8853\\u30b3\\u30e9\\u30e0 \\u30b7\\u30b9\\u30c6\\u30e0\\u958b\\u767a\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/column\\\/how-to-use-safe-navigation-operator\\\/#mainImage\"},\"datePublished\":\"2026-07-03T15:00:21+09:00\",\"dateModified\":\"2026-07-03T15:00:21+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/\",\"name\":\"Rewa Tech -\\u30ea\\u30ef\\u30c6\\u30af-\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sunbridge.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u30b3\u30fc\u30c9\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u3002Safe Navigation Operator\uff08?.\uff09\u306e\u4f7f\u3044\u65b9\u3068\u5b9f\u52d9\u3067\u306e\u6ce8\u610f\u70b9 - Rewa Tech -\u30ea\u30ef\u30c6\u30af-","description":"Salesforce\u306eApex\u958b\u767a\u306b\u304a\u3044\u3066\u3001\u591a\u304f\u306e\u4eba\u304c\u76f4\u9762\u3059\u308b\u306e\u304cNullPointerException\u306e\u30a8","canonical_url":"https:\/\/www.sunbridge.com\/blog\/column\/how-to-use-safe-navigation-operator\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/www.sunbridge.com\/blog\/column\/how-to-use-safe-navigation-operator\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.sunbridge.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.sunbridge.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.sunbridge.com\/blog\/blog\/#listItem","name":"\u30d6\u30ed\u30b0"}},{"@type":"ListItem","@id":"https:\/\/www.sunbridge.com\/blog\/blog\/#listItem","position":2,"name":"\u30d6\u30ed\u30b0","item":"https:\/\/www.sunbridge.com\/blog\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.sunbridge.com\/blog\/blog_cat\/column\/#listItem","name":"\u6280\u8853\u30b3\u30e9\u30e0"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.sunbridge.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.sunbridge.com\/blog\/blog_cat\/column\/#listItem","position":3,"name":"\u6280\u8853\u30b3\u30e9\u30e0","item":"https:\/\/www.sunbridge.com\/blog\/blog_cat\/column\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.sunbridge.com\/blog\/blog_cat\/system\/#listItem","name":"\u30b7\u30b9\u30c6\u30e0\u958b\u767a"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.sunbridge.com\/blog\/blog\/#listItem","name":"\u30d6\u30ed\u30b0"}},{"@type":"ListItem","@id":"https:\/\/www.sunbridge.com\/blog\/blog_cat\/system\/#listItem","position":4,"name":"\u30b7\u30b9\u30c6\u30e0\u958b\u767a","item":"https:\/\/www.sunbridge.com\/blog\/blog_cat\/system\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.sunbridge.com\/blog\/column\/how-to-use-safe-navigation-operator\/#listItem","name":"\u30b3\u30fc\u30c9\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u3002Safe Navigation Operator\uff08?.\uff09\u306e\u4f7f\u3044\u65b9\u3068\u5b9f\u52d9\u3067\u306e\u6ce8\u610f\u70b9"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.sunbridge.com\/blog\/blog_cat\/column\/#listItem","name":"\u6280\u8853\u30b3\u30e9\u30e0"}},{"@type":"ListItem","@id":"https:\/\/www.sunbridge.com\/blog\/column\/how-to-use-safe-navigation-operator\/#listItem","position":5,"name":"\u30b3\u30fc\u30c9\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u3002Safe Navigation Operator\uff08?.\uff09\u306e\u4f7f\u3044\u65b9\u3068\u5b9f\u52d9\u3067\u306e\u6ce8\u610f\u70b9","previousItem":{"@type":"ListItem","@id":"https:\/\/www.sunbridge.com\/blog\/blog_cat\/system\/#listItem","name":"\u30b7\u30b9\u30c6\u30e0\u958b\u767a"}}]},{"@type":"Organization","@id":"https:\/\/www.sunbridge.com\/blog\/#organization","name":"Rewa Tech -\u30ea\u30ef\u30c6\u30af-","url":"https:\/\/www.sunbridge.com\/blog\/"},{"@type":"WebPage","@id":"https:\/\/www.sunbridge.com\/blog\/column\/how-to-use-safe-navigation-operator\/#webpage","url":"https:\/\/www.sunbridge.com\/blog\/column\/how-to-use-safe-navigation-operator\/","name":"\u30b3\u30fc\u30c9\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u3002Safe Navigation Operator\uff08?.\uff09\u306e\u4f7f\u3044\u65b9\u3068\u5b9f\u52d9\u3067\u306e\u6ce8\u610f\u70b9 - Rewa Tech -\u30ea\u30ef\u30c6\u30af-","description":"Salesforce\u306eApex\u958b\u767a\u306b\u304a\u3044\u3066\u3001\u591a\u304f\u306e\u4eba\u304c\u76f4\u9762\u3059\u308b\u306e\u304cNullPointerException\u306e\u30a8","inLanguage":"ja","isPartOf":{"@id":"https:\/\/www.sunbridge.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.sunbridge.com\/blog\/column\/how-to-use-safe-navigation-operator\/#breadcrumblist"},"image":{"@type":"ImageObject","url":"https:\/\/www.sunbridge.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/07\/thumbnail-background-back_office-1.jpg","@id":"https:\/\/www.sunbridge.com\/blog\/column\/how-to-use-safe-navigation-operator\/#mainImage","width":1200,"height":630,"caption":"Rewa Tech \u30ea\u30ef\u30c6\u30af\u3000\u6280\u8853\u30b3\u30e9\u30e0 \u30b7\u30b9\u30c6\u30e0\u958b\u767a"},"primaryImageOfPage":{"@id":"https:\/\/www.sunbridge.com\/blog\/column\/how-to-use-safe-navigation-operator\/#mainImage"},"datePublished":"2026-07-03T15:00:21+09:00","dateModified":"2026-07-03T15:00:21+09:00"},{"@type":"WebSite","@id":"https:\/\/www.sunbridge.com\/blog\/#website","url":"https:\/\/www.sunbridge.com\/blog\/","name":"Rewa Tech -\u30ea\u30ef\u30c6\u30af-","inLanguage":"ja","publisher":{"@id":"https:\/\/www.sunbridge.com\/blog\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"Rewa Tech -\u30ea\u30ef\u30c6\u30af- -","og:type":"article","og:title":"\u30b3\u30fc\u30c9\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u3002Safe Navigation Operator\uff08?.\uff09\u306e\u4f7f\u3044\u65b9\u3068\u5b9f\u52d9\u3067\u306e\u6ce8\u610f\u70b9 - Rewa Tech -\u30ea\u30ef\u30c6\u30af-","og:description":"Salesforce\u306eApex\u958b\u767a\u306b\u304a\u3044\u3066\u3001\u591a\u304f\u306e\u4eba\u304c\u76f4\u9762\u3059\u308b\u306e\u304cNullPointerException\u306e\u30a8","og:url":"https:\/\/www.sunbridge.com\/blog\/column\/how-to-use-safe-navigation-operator\/","article:published_time":"2026-07-03T06:00:21+00:00","article:modified_time":"2026-07-03T06:00:21+00:00","twitter:card":"summary_large_image","twitter:title":"\u30b3\u30fc\u30c9\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u3002Safe Navigation Operator\uff08?.\uff09\u306e\u4f7f\u3044\u65b9\u3068\u5b9f\u52d9\u3067\u306e\u6ce8\u610f\u70b9 - Rewa Tech -\u30ea\u30ef\u30c6\u30af-","twitter:description":"Salesforce\u306eApex\u958b\u767a\u306b\u304a\u3044\u3066\u3001\u591a\u304f\u306e\u4eba\u304c\u76f4\u9762\u3059\u308b\u306e\u304cNullPointerException\u306e\u30a8"},"aioseo_meta_data":{"post_id":"17639","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-07-21 05:32:56","updated":"2026-07-21 05:32:56"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.sunbridge.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.sunbridge.com\/blog\/blog\/\" title=\"\u30d6\u30ed\u30b0\">\u30d6\u30ed\u30b0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.sunbridge.com\/blog\/blog_cat\/column\/\" title=\"\u6280\u8853\u30b3\u30e9\u30e0\">\u6280\u8853\u30b3\u30e9\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.sunbridge.com\/blog\/blog_cat\/system\/\" title=\"\u30b7\u30b9\u30c6\u30e0\u958b\u767a\">\u30b7\u30b9\u30c6\u30e0\u958b\u767a<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\u30b3\u30fc\u30c9\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u3002Safe Navigation Operator\uff08?.\uff09\u306e\u4f7f\u3044\u65b9\u3068\u5b9f\u52d9\u3067\u306e\u6ce8\u610f\u70b9\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.sunbridge.com\/blog"},{"label":"\u30d6\u30ed\u30b0","link":"https:\/\/www.sunbridge.com\/blog\/blog\/"},{"label":"\u6280\u8853\u30b3\u30e9\u30e0","link":"https:\/\/www.sunbridge.com\/blog\/blog_cat\/column\/"},{"label":"\u30b7\u30b9\u30c6\u30e0\u958b\u767a","link":"https:\/\/www.sunbridge.com\/blog\/blog_cat\/system\/"},{"label":"\u30b3\u30fc\u30c9\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u3002Safe Navigation Operator\uff08?.\uff09\u306e\u4f7f\u3044\u65b9\u3068\u5b9f\u52d9\u3067\u306e\u6ce8\u610f\u70b9","link":"https:\/\/www.sunbridge.com\/blog\/column\/how-to-use-safe-navigation-operator\/"}],"views":100,"_links":{"self":[{"href":"https:\/\/www.sunbridge.com\/blog\/wp-json\/wp\/v2\/blog\/17639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sunbridge.com\/blog\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.sunbridge.com\/blog\/wp-json\/wp\/v2\/types\/blog"}],"version-history":[{"count":0,"href":"https:\/\/www.sunbridge.com\/blog\/wp-json\/wp\/v2\/blog\/17639\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sunbridge.com\/blog\/wp-json\/wp\/v2\/media\/17754"}],"wp:attachment":[{"href":"https:\/\/www.sunbridge.com\/blog\/wp-json\/wp\/v2\/media?parent=17639"}],"wp:term":[{"taxonomy":"blog_cat","embeddable":true,"href":"https:\/\/www.sunbridge.com\/blog\/wp-json\/wp\/v2\/blog_cat?post=17639"},{"taxonomy":"blog_tag","embeddable":true,"href":"https:\/\/www.sunbridge.com\/blog\/wp-json\/wp\/v2\/blog_tag?post=17639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}