[jboss-jira] [JBoss JIRA] Resolved: (JBDEPLOY-276) End of file new line in aliases.txt creates empty alias

Ales Justin (JIRA) jira-events at lists.jboss.org
Sun Jul 24 08:24:23 EDT 2011


     [ https://issues.jboss.org/browse/JBDEPLOY-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ales Justin resolved JBDEPLOY-276.
----------------------------------

    Fix Version/s: JBDEPLOY-2.2.2.GA
       Resolution: Done


> End of file new line in aliases.txt creates empty alias
> -------------------------------------------------------
>
>                 Key: JBDEPLOY-276
>                 URL: https://issues.jboss.org/browse/JBDEPLOY-276
>             Project: JBoss Deployers
>          Issue Type: Bug
>          Components: vfs
>    Affects Versions: JBDEPLOY-2.2.1.GA
>            Reporter: Pontus Ullgren
>            Assignee: Ales Justin
>            Priority: Minor
>             Fix For: JBDEPLOY-2.2.2.GA
>
>         Attachments: JBDEPLOY-276.diff.gz
>
>
> A empty line in aliases.txt will result in a alias without name being created.
> This becomes obvious when two modules happens to have a empty new line in the end of the aliases.txt file the result is then 
> Caused by: java.lang.IllegalStateException: 
> _Alias_AbstractKernelController[29048474] is already installed.
> at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:716)
> My suggestion is to simply filter out any empty line in org.jboss.deployers.vfs.plugins.dependency.AliasesParserDeployer#parse(...).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list