[ https://issues.apache.org/jira/browse/SLING-2476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler reassigned SLING-2476: --------------------------------------- Assignee: Carsten Ziegeler > Sling installer swallows exceptions for properties config file parsing > ---------------------------------------------------------------------- > > Key: SLING-2476 > URL: https://issues.apache.org/jira/browse/SLING-2476 > Project: Sling > Issue Type: Improvement > Components: Installer > Affects Versions: Installer Core 3.3.4 > Reporter: Alexander Klimetschek > Assignee: Carsten Ziegeler > Priority: Minor > Fix For: Installer Core 3.3.8 > > > If there is a syntax error in the properties config file (.config), all you > get is this: > org.apache.sling.installer.core.impl.OsgiInstallerImpl Cannot create internal > resource (resource will be ignored):InstallableResource, priority=100, > id=/libs/sling/config/org.apache.sling.i18n.impl.I18NFilter.config > java.io.IOException: Unable to read dictionary from input stream: > /libs/sling/config/org.apache.sling.i18n.impl.I18NFilter.config > at > org.apache.sling.installer.core.impl.InternalResource.create(InternalResource.java:99) > at > org.apache.sling.installer.core.impl.OsgiInstallerImpl.createResources(OsgiInstallerImpl.java:277) > at > org.apache.sling.installer.core.impl.OsgiInstallerImpl.updateResources(OsgiInstallerImpl.java:316) > at > org.apache.sling.installer.provider.jcr.impl.JcrInstaller.runOneCycle(JcrInstaller.java:579) > at > org.apache.sling.installer.provider.jcr.impl.JcrInstaller$StoppableThread.run(JcrInstaller.java:265) > However, debugging shows there is a more specific IOException message > available from the dictionary parser: > java.io.IOException: Unexpected token 78; expected: 61 (line=2, pos=4) > InternalResource#readDictionary() is swallowing the IOException in line 250 > [0]. It should be added to the exception chain. > [0] > http://svn.apache.org/viewvc/sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/InternalResource.java?revision=1240017&view=markup -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira