Normativa di Farmacovigilanza

Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> splitter[5]  [in template "20115#20151#770221" at line 28, column 109]

----
Tip: It's the final [] step 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: #assign file = dlFileEntryService.get...  [in template "20115#20151#770221" at line 28, column 45]
----
1<div class=" u-text-r-xs"> 
2    ${content.getData()} 
3</div> 
4<#if allegati.titoloAllegato.getSiblings()?has_content> 
5    <div class="underline_title istituzionale">  
6       <h2 class="portlet-content portlet-title-text-model portlet-title-text"> 
7           <@liferay_ui['message'] key='label.templates.documenti.correlati' /> 
8       </h2>  
9        <div class="u-text-r-xxl u-padding-r-bottom">  
10            <div class="u-layout-wide">  
11                <div class="u-layout-centerContent u-padding-r-bottom">  
12                    <section class="u-layout-wide">  
13                        <div class="Grid Grid--withGutter">  
14                            <#list allegati.titoloAllegato.getSiblings() as cur_allegato> 
15                             
16                                <div class="Grid-cell u-md-size1of1 u-lg-size1of1 u-padding-r-left u-padding-r-bottom" 
17                                <#if cur_allegato?index % 2 == 0> style="background-color: #ddd !important"</#if>> 
18                                    <div class="u-color-grey-30 u-border-top-xxs u-padding-right-xxl u-padding-r-top"> 
19                                        <i class="far fa-file-pdf icon-download-file u-color-blu"></i>  
20                                        <p class="link-download u-color-50 u-textWeight-700 u-text-r-xs u-padding-r-top">  
21                                         
22 
23 
24                                            <#assign dlFileEntryService = serviceLocator.findService('com.liferay.document.library.kernel.service.DLFileEntryService') /> 
25 
26                                            <#assign splitter = cur_allegato.allegato.getData()?split("/") />  
27                             
28                                            <#assign file = dlFileEntryService.getFileEntryByUuidAndGroupId(splitter[5]?split("?")[0], splitter[2]?number) /> 
29                                            ${file.getExtension()?upper_case}   
30                                            <a class="u-color-black" href="${cur_allegato.allegato.getData()}" target="_blank"> 
31                                                ${cur_allegato.getData()} [${(file.getSize()/(1024*1024))?string["0.##"]} Mb] &gt;  
32                                            </a>  
33                                        </p>  
34                                    </div>  
35                                </div>  
36                            </#list> 
37                        </div>  
38                    </section>  
39                </div>  
40            </div>  
41        </div>  
42    </div> 
43</#if>