]
Ales Justin reassigned JBDEPLOY-276:
------------------------------------
Assignee: Ales Justin
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
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: