An error occurred while processing the template.
The following has evaluated to null or missing:
==> CurrentRoom.amenities  [in template "20115#20151#HOTEL-TABBED-CONTENT-TEMPLATE-1.0.0" at line 174, column 24]

----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #list CurrentRoom.amenities as amenity  [in template "20115#20151#HOTEL-TABBED-CONTENT-TEMPLATE-1.0.0" at line 174, column 17]
----
1<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()> 
2<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
3<#include "${fullTemplatesPath}/utils/api-hotels.ftl"> 
4<#include "${fullTemplatesPath}/utils/dictionary.ftl"> 
5<#include "${fullTemplatesPath}/utils/general.ftl"> 
6<#include "${fullTemplatesPath}/utils/media-links.ftl"> 
7<#include "${fullTemplatesPath}/utils/url.ftl"> 
8<#assign dataHotel = getHotelWithRoomsByCodeAndBrandCode(HotelCode.getData(), BrandCode.getData())> 
9 
10<!-- partial: component/block/tabbed-content/tabbed-content.hbs --> 
11<#if dataHotel?? && dataHotel?size != 0> 
12  <#if dataHotel[0].roomLinksContent?? && dataHotel[0].roomLinksContent?size != 0> 
13    <#if dataHotel[0].roomLinksContent?is_hash> 
14      <#assign rooms = [dataHotel[0].roomLinksContent]> 
15    <#else> 
16      <#assign rooms = dataHotel[0].roomLinksContent> 
17    </#if> 
18 
19    <#list rooms as room> 
20      <#if room.code == RoomCode.getData()> 
21        <#assign CurrentRoom = room> 
22      </#if> 
23    </#list> 
24 
25    <#if CurrentRoom?has_content > 
26    <section class="tabbed-content content-spacing is-hidden" data-component="tabbed-content" data-scroll-component> 
27      <div data-tabs> 
28 
29        <!-- partial: component/block/sticky-tab-header/sticky-tab-header.hbs --> 
30        <div class="sticky-tab-header is-hidden" data-component="sticky-tab-header" data-scroll-component> 
31          <div class="content-wrapper"> 
32            <div class="title-wrapper"> 
33              <h3 class="title" data-title> 
34                ${_DISCOVER_SUITE[locale]} 
35              </h3> 
36            </div> 
37            <div class="tabs-list-wrapper" data-tabs-header> 
38              <div class="drag-wrapper" data-drag-wrapper> 
39                <ul class="tabs-list" data-tabs-list> 
40                  <li class="tabs-item" data-tab-nav-item> 
41                    <span data-tab-label>Highlights</span> 
42                  </li> 
43                  <li class="tabs-item" data-tab-nav-item> 
44                    <span data-tab-label>${_COMMENTS[locale]}</span> 
45                  </li> 
46                  <li class="tabs-item" data-tab-nav-item> 
47                    <span data-tab-label>Facilities</span> 
48                  </li> 
49                </ul> 
50                <span class="underline" data-active-indicator></span> 
51              </div> 
52            </div> 
53          </div> 
54        </div> 
55        <!-- / component/block/sticky-tab-header/sticky-tab-header.hbs --> 
56        <div class="tab-content-container" data-tab-content-container> 
57          <div class="content-wrapper"> 
58            <div class="tab-content" data-tab-content> 
59              <div class="hightlight-wrapper"> 
60                <#if (dataHotel[0].highLights?? && !dataHotel[0].highLights?is_hash && dataHotel[0].highLights?size > 0)> 
61                <#list dataHotel[0].highLights as highLight> 
62                  <div class="hightlight-item"> 
63                    <span class="number">${highLight.value}</span> 
64                    <p class="copy-1 copy">${highLight.text}</p> 
65                  </div> 
66                </#list> 
67                </#if> 
68              </div> 
69 
70            </div> 
71          </div> 
72          <div class="content-wrapper"> 
73            <div class="tab-content" data-tab-content> 
74 
75              <!-- partial: component/block/quote-module/quote-module.hbs --> 
76              <#if ((dataHotel[0].quotes)?has_content)> 
77              <div class="quote-module is-hidden content-spacing is-carousel hide-bg" data-component="quote-module" data-scroll-component> 
78                <div class="content-wrapper" data-content-wrapper> 
79                  <div class="carousel-wrapper" data-carousel-wrapper> 
80                    <ol class="testimonial-list" data-testimonial-list> 
81                    <#if dataHotel[0].quotes?is_string> 
82                      <#assign quotes = [dataHotel[0].quotes] > 
83                    <#else> 
84                      <#assign quotes = dataHotel[0].quotes > 
85                    </#if> 
86                    <#list quotes as quote> 
87                    <#assign split = quote?split("|")> 
88                      <#if split?size == 3> 
89                      <li class="testimonial-item" data-testimonial-item> 
90                        <div class="quote-wrapper" data-quote-wrapper> 
91                          <div data-quote-element> 
92                            <!-- partial: component/general/icon/icon.hbs --> 
93                            <span class="icon quotes-icon" data-component="icon" data-icon="quotes"></span> 
94                            <!-- / component/general/icon/icon.hbs --> 
95                            <p class="quote copy-1"> 
96                            ${split[0]} 
97                            </p> 
98                          </div> 
99                          <div class="author copy-1" data-quote-element> 
100                            <span class="name">${split[1]}</span> 
101                            <span class="date">${split[2]}</span> 
102                          </div> 
103                        </div> 
104                      </li> 
105                      </#if> 
106                      </#list> 
107                    </ol> 
108                  </div> 
109 
110                  <div class="carousel-controls"> 
111                    <div class="button-wrapper" style="${(quotes?size > 1)?then('', 'visibility:"hidden"')}"> 
112                      <button class="button previous" data-prev-button> 
113 
114                        <!-- partial: component/general/button-arrow/button-arrow.hbs --> 
115                        <div class="button-arrow direction-left size-big outlined " data-component="button-arrow"> 
116 
117                          <!-- partial: component/general/icon/icon.hbs --> 
118                          <span class="icon circle-hover-icon" data-component="icon" data-icon="circle"></span> 
119                          <!-- / component/general/icon/icon.hbs --> 
120 
121                          <!-- partial: component/general/icon/icon.hbs --> 
122                          <span class="icon circle-icon" data-component="icon" data-icon="circle"></span> 
123                          <!-- / component/general/icon/icon.hbs --> 
124                          <div class="chevron-wrapper"> 
125 
126                            <!-- partial: component/general/icon/icon.hbs --> 
127                            <span class="icon chevron-icon" data-component="icon" data-icon="chevron-right"></span> 
128                            <!-- / component/general/icon/icon.hbs --> 
129                          </div> 
130                        </div> 
131                        <!-- / component/general/button-arrow/button-arrow.hbs --> 
132                      </button> 
133                      <button class="button next" data-next-button> 
134 
135                        <!-- partial: component/general/button-arrow/button-arrow.hbs --> 
136                        <div class="button-arrow direction-right size-big outlined " data-component="button-arrow"> 
137 
138                          <!-- partial: component/general/icon/icon.hbs --> 
139                          <span class="icon circle-hover-icon" data-component="icon" data-icon="circle"></span> 
140                          <!-- / component/general/icon/icon.hbs --> 
141 
142                          <!-- partial: component/general/icon/icon.hbs --> 
143                          <span class="icon circle-icon" data-component="icon" data-icon="circle"></span> 
144                          <!-- / component/general/icon/icon.hbs --> 
145                          <div class="chevron-wrapper"> 
146 
147                            <!-- partial: component/general/icon/icon.hbs --> 
148                            <span class="icon chevron-icon" data-component="icon" data-icon="chevron-right"></span> 
149                            <!-- / component/general/icon/icon.hbs --> 
150                          </div> 
151                        </div> 
152                        <!-- / component/general/button-arrow/button-arrow.hbs --> 
153                      </button> 
154                    </div> 
155 
156                    <div class="logo"> 
157 
158                      <!-- partial: component/general/icon/icon.hbs --> 
159                      <span class="icon " data-component="icon" data-icon="tripadvisor"></span> 
160                      <!-- / component/general/icon/icon.hbs --> 
161                    </div> 
162                  </div> 
163                </div> 
164              </div> 
165              <!-- / component/block/quote-module/quote-module.hbs --> 
166              </#if> 
167 
168            </div> 
169          </div> 
170          <div class="content-wrapper"> 
171            <div class="tab-content" data-tab-content> 
172 
173              <ul class="facilities-list"> 
174                <#list CurrentRoom.amenities as amenity> 
175                  <li class="copy-1 facilities-item">${amenity}</li> 
176                </#list> 
177              </ul> 
178            </div> 
179          </div> 
180        </div> 
181      </div> 
182    </section> 
183    <#else> 
184      <h1>Error: no hay cuarto para la marca ${BrandCode.getData()}, hotel ${HotelCode.getData()}, cuarto ${RoomCode.getData()}</h1> 
185    </#if> 
186 
187  <#else> 
188  <h1>Error: No se encontraron habitaciones para la marca ${BrandCode.getData()}, hotel ${HotelCode.getData()}</h1> 
189  </#if> 
190<#else> 
191  <h1>Error: No se encontró hotel para la marca ${BrandCode.getData()}, hotel ${HotelCode.getData()}</h1> 
192</#if> 
193<!-- / component/block/tabbed-content/tabbed-content.hbs -->