[ https://issues.apache.org/jira/browse/SLING-6511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859381#comment-15859381 ]
Oliver Lietz edited comment on SLING-6511 at 2/9/17 5:26 PM: ------------------------------------------------------------- {{test.html}} is missing: {noformat} Not Found Cannot serve request to /content/geometrixx/en/jcr:content/par/test.html in org.apache.sling.servlets.get.DefaultGetServlet Request Progress: 0 TIMER_START{Request Processing} 0 COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message> 0 LOG Method=GET, PathInfo=/content/geometrixx/en/jcr:content/par/test.html 0 TIMER_START{ResourceResolution} 0 TIMER_END{0,ResourceResolution} URI=/content/geometrixx/en/jcr:content/par/test.html resolves to Resource=JcrNodeResource, type=audi/test, superType=null, path=/content/geometrixx/en/jcr:content/par/test 0 LOG Resource Path Info: SlingRequestPathInfo: path='/content/geometrixx/en/jcr:content/par/test', selectorString='null', extension='html', suffix='null' 0 TIMER_START{ServletResolution} 0 TIMER_START{resolveServlet(/content/geometrixx/en/jcr:content/par/test)} 0 TIMER_END{0,resolveServlet(/content/geometrixx/en/jcr:content/par/test)} Using servlet org.apache.sling.servlets.get.DefaultGetServlet 0 TIMER_END{0,ServletResolution} URI=/content/geometrixx/en/jcr:content/par/test.html handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet 0 LOG Applying Requestfilters 0 LOG Calling filter: com.adobe.granite.resourceresolverhelper.impl.ResourceResolverHelperImpl 0 LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter 0 LOG Calling filter: com.adobe.granite.rest.impl.servlet.ApiResourceFilter 0 LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter 0 LOG Calling filter: com.adobe.granite.httpcache.impl.InnerCacheFilter 0 LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter 0 LOG Calling filter: com.adobe.cq.mcm.campaign.servlets.CampaignCopyTracker 0 LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter 0 LOG Calling filter: com.adobe.cq.history.impl.HistoryRequestFilter 0 LOG Calling filter: com.adobe.granite.optout.impl.OptOutFilter 0 LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet 0 LOG Calling filter: com.adobe.cq.social.commons.cors.CORSAuthenticationFilter 0 LOG Calling filter: com.day.cq.analytics.provisioning.impl.UserAuthenticationRequestFilter 0 LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter 0 LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter 0 LOG RedirectFilter did not redirect (not redirecting in author mode) 0 LOG Calling filter: com.day.cq.wcm.core.impl.warp.TimeWarpFilter 0 LOG Calling filter: com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl 0 LOG Calling filter: org.apache.sling.security.impl.ContentDispositionFilter 0 LOG Calling filter: com.adobe.granite.csrf.impl.CSRFFilter 0 LOG Calling filter: com.adobe.granite.requests.logging.impl.RequestLoggerImpl 0 LOG Calling filter: com.day.cq.dam.core.impl.servlet.ActivityRecordHandler 0 LOG Calling filter: com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareAuthHandler 0 LOG Calling filter: com.adobe.cq.social.ugcbase.security.impl.SaferSlingPostServlet 0 LOG Applying Componentfilters 0 LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter 0 LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter 0 LOG Calling filter: com.day.cq.personalization.impl.TargetComponentFilter 0 TIMER_START{org.apache.sling.servlets.get.DefaultGetServlet#0} 0 LOG No renderer for extension html 0 LOG Applying Error filters 0 LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter 0 LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter 0 TIMER_START{handleError:status=404} 0 TIMER_END{0,handleError:status=404} Using handler /libs/sling/servlet/errorhandler/404.jsp 1 LOG Found processor for post processing ProcessorConfiguration: {contentTypes=[text/html], order=-1, active=true, valid=true, processErrorResponse=true, pipeline=(generator=Config(type=htmlparser, config={}), transformers=(Config(type=linkchecker, config={}), Config(type=mobile, config=JcrPropertyMap [node=Node[NodeDelegate{tree=/libs/cq/config/rewriter/default/transformer-mobile: { jcr:primaryType = nt:unstructured, component-optional = true}}], values={jcr:primaryType=nt:unstructured, component-optional=true}]), Config(type=mobiledebug, config=JcrPropertyMap [node=Node[NodeDelegate{tree=/libs/cq/config/rewriter/default/transformer-mobiledebug: { jcr:primaryType = nt:unstructured, component-optional = true}}], values={jcr:primaryType=nt:unstructured, component-optional=true}]), Config(type=contentsync, config=JcrPropertyMap [node=Node[NodeDelegate{tree=/libs/cq/config/rewriter/default/transformer-contentsync: { jcr:primaryType = nt:unstructured, component-optional = true}}], values={jcr:primaryType=nt:unstructured, component-optional=true}]), serializer=Config(type=htmlwriter, config={}))} 1 TIMER_END{1,Request Processing} Dumping SlingRequestProgressTracker Entries {noformat} was (Author: olli): {{test.html}} is missing. > 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)