Voeux de Dr Gaétan Barrette

Une erreur s'est produite en traitant le calibre.
Invocation of method 'replaceAll' in  class org.fmsq.liferay.util.SpecialCharTool threw exception java.lang.NullPointerException at 20302NOUVELLE_ABSTRACT_1[line 60, column 26]
1<article class="news abstract-1"> 
2    #set( $publishDate = $dateTool.toDate("EEE, dd MMM yyyy hh:mm:ss Z", $reserved-article-display-date.getData(), $localeUtil.getDefault()) ) 
3    #set( $publishDateFormat1 = $dateTool.format("yyyy-MM-dd", $publishDate, $locale) ) 
4    #set( $publishDateFormat2 = $dateTool.format("dd MMMM yyyy", $publishDate, $locale) ) 
5    #set( $publishDateFormat3 = $dateTool.format("MMMM dd, yyyy", $publishDate, $locale) ) 
6    #set( $lang = $locale.language) 
7    #set($articleService = $portal.getClass().forName('com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil')) 
8    #set($article = $articleService.getArticle($getterUtil.getLong($groupId), $reserved-article-id.data)) 
9    #set($hasSmallImage = $article.getSmallImage()) 
10    #set($smallImageId = $article.getSmallImageId()) 
11    #set($imageService = $portal.getClass().forName('com.liferay.portal.service.ImageLocalServiceUtil')) 
12    #set ($image = $imageService.getImage($smallImageId)) 
13    #set($articleType = $article.getStructureId()) 
14 
15    #if($lang == 'fr') 
16        <time pubdate="pubdate" datetime="$publishDateFormat1">$publishDateFormat2</time> 
17    #end 
18    #if($lang == 'en') 
19        <time pubdate="pubdate" datetime="$publishDateFormat1">$publishDateFormat3</time> 
20    #end 
21 
22    <h2> 
23#if ($articleType=="COMMUNIQUE") 
24        <a style="text-decoration: none;" href="/$lang/communique/-/contenu/${reserved-article-url-title.data}/${reserved-article-id.data}"> 
25            $specialTool.replaceAll($title.getData()) 
26        </a> 
27#else 
28       <a style="text-decoration: none;" href="/$lang/nouvelle/-/contenu/${reserved-article-url-title.data}/${reserved-article-id.data}"> 
29            $specialTool.replaceAll($title.getData()) 
30        </a> 
31#end 
32    </h2> 
33 
34    #if ("$!thumbnail.data" != "") 
35        #if ("$!image.data" == "") 
36            <img class="main-image" src="$thumbnail.getData()"/> 
37        #end 
38        #if ("$!image.data" != "") 
39            <a href="$image.getData()" rel="facebox"> 
40                <img class="main-image" src="$thumbnail.getData()"/> 
41            </a> 
42        #end 
43    #else  
44        #if ($hasSmallImage)  
45            #if ($reserved-article-small-image-url.getData() != "") 
46                <img class="main-image"  src="$reserved-article-small-image-url.getData()" /> 
47            #else 
48                #if ($image) 
49                    <img class="main-image"  src="/image/image_gallery?img_id=$smallImageId" /> 
50                #end 
51            #end 
52        #end 
53    #end 
54 
55    <div class="content"> 
56        #if ("$!reserved-article-description.data" != "") 
57            $fmsqTool.localise($reserved-article-description.getData(), $locale) 
58        #end 
59        #if ("$!reserved-article-description.data" == "") 
60            $specialTool.replaceAll($stringUtil.shorten($htmlUtil.extractText($text.getData()),200)) 
61        #end 
62        <a href="/$lang/nouvelle/-/contenu/${reserved-article-url-title.data}/${reserved-article-id.data}"><b>&gt;&gt;</b></a> 
63    </div> 
64</article> 

L'édition 2011 de la JFI : un vif succès !

La quatrième Journée de formation interdisciplinaire organisée par l'Office de développement professionnel de la Fédération des médecins spécialistes du Québec a connu un vif succès. >>