[izpack-users] Error
Sonal Deshpande
sonal.deshpande at tcs.com
Wed Jan 3 08:35:37 CET 2007
Hi,
I get following error when I try to debug my code
main class is Installer.java
in installer main
TRACE enabled.
No custom langpack available.
[ Starting automated installation ]
[ Automated installation FAILED! again]
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
at java.util.Vector.elementAt(Unknown Source)
at com.izforge.izpack.installer.AutomatedInstaller.doInstall(
AutomatedInstaller.java:242)
at com.izforge.izpack.installer.Installer.main(Installer.java:69)
Problem comes in following code segment (XMLElement.java)
Here it passes name as . . . . .UserInoutPanel and
/////////////////condition 1//////////// never gets satisfied
|
public Vector getChildrenNamed(String name) |
{ |
Vector result = new Vector(this.children.size()); |
Enumeration enumeration = this.children.elements(); |
|
while (enumeration.hasMoreElements()) |
{ |
XMLElement child = (XMLElement) enumeration.nextElement();
String cName = child.getName(); |
|
V
if (cName != null && cName.equals(name))
/////////////////condition 1////////////
{
result.addElement(child);
}
}
return result;
}
Regards
Sonal B Deshpande
Tata Consultancy Services
Mailto: sonal.deshpande at tcs.com
Website: http://www.tcs.com
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20070103/919e7443/attachment.html
More information about the izpack-users
mailing list