[ 
https://issues.apache.org/jira/browse/SLING-6511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859989#comment-15859989
 ] 

Sajid Momin commented on SLING-6511:
------------------------------------

Hey Oliver,

Test.html is in the `/apps/audi/test/test.html` which is provided in the 
test.zip.  Now what might be missing is the content node called `test` in the 
`/content/geometrixx/en/jcr:content/par`.  I retried the Test.zip on my local 
and I didn't have any issues.  Were you able to upload & install the Test.zip 
in the package manager, http://localhost:4502/crx/packmgr/index.jsp?

Sajid

> SlingTemplateResource unable to handle missing localization for a language
> --------------------------------------------------------------------------
>
>                 Key: SLING-6511
>                 URL: https://issues.apache.org/jira/browse/SLING-6511
>             Project: Sling
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: Scripting Thymeleaf 1.0.0
>            Reporter: Sajid Momin
>            Assignee: Oliver Lietz
>         Attachments: error.log, javassist-3.20.0-GA.jar, 
> org.apache.sling.scripting.thymeleaf-1.0.0.jar, Test.zip, 
> thymeleaf-i18n-error.log
>
>
> I am currently deploying Sling Thymeleaf HTML template processor to AEM 6.2.  
> In my attempt to use i18n in my template, I am receiving a null pointer 
> exception.  When the message resolver is looping through the localization of 
> the language, it's unable to skip the processing of the missing localization 
> file resulting in a null pointer.  The only way to fix the issue is to define 
> all localization resource bundle for the language in order to process the 
> template.  It would be nice for the message resolver to ignore the missing 
> localized language resource bundle and continue to the next.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to