[izpack-users] izpack-users Digest, Vol 7, Issue 2
Sonal Deshpande
sonal.deshpande at tcs.com
Thu Jan 4 13:32:09 CET 2007
Hi,
My issue got resolved by changing my code
Regards
Sonal B Deshpande
Tata Consultancy Services
Mailto: sonal.deshpande at tcs.com
Website: http://www.tcs.com
izpack-users-request at lists.berlios.de
Sent by: izpack-users-bounces at lists.berlios.de
01/03/2007 04:17 PM
Please respond to
izpack-users at lists.berlios.de
To
izpack-users at lists.berlios.de
cc
Subject
izpack-users Digest, Vol 7, Issue 2
Send izpack-users mailing list submissions to
izpack-users at lists.berlios.de
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.berlios.de/mailman/listinfo/izpack-users
or, via email, send a message with subject or body 'help' to
izpack-users-request at lists.berlios.de
You can reach the person managing the list at
izpack-users-owner at lists.berlios.de
When replying, please edit your Subject line so it is more specific
than "Re: Contents of izpack-users digest..."
Today's Topics:
1. Error (Sonal Deshpande)
2. Error in My Panel (Sonal Deshpande)
----------------------------------------------------------------------
Message: 1
Date: Wed, 3 Jan 2007 13:05:37 +0530
From: Sonal Deshpande <sonal.deshpande at tcs.com>
Subject: [izpack-users] Error
To: izpack-users at lists.berlios.de
Message-ID:
<OF42F742EE.D5451893-ON65257258.00290795-65257258.002A0A09 at tcs.com>
Content-Type: text/plain; charset="us-ascii"
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-0001.html
------------------------------
Message: 2
Date: Wed, 3 Jan 2007 16:16:18 +0530
From: Sonal Deshpande <sonal.deshpande at tcs.com>
Subject: [izpack-users] Error in My Panel
To: izpack-users at lists.berlios.de
Message-ID:
<OFD8B48C5D.DBEBBA9D-ON65257258.0039F6F8-65257258.003B7EF9 at tcs.com>
Content-Type: text/plain; charset="us-ascii"
Hi,
I am facing strange error when I use ClientServerSelectPanel(its src code
is attached herewith)
In my install.xml when I use UserInputPanel I dont face any error but when
i use ClientServerSelectPanel I get "only "=" and "!=" are allowed
currently"
My install.xml panel tag is as follows.....
<panels>
<panel classname="InfoPanel"/>
<panel classname="LicencePanel"/>
<panel classname="ClientServerSelectPanel" />------(1)
<panel classname="ClientServerSelectPanel" />------(2)
<panel classname="ConditionalUserInputPanel"/>
<panel classname="ConditionalUserInputPanel"/>
<panel classname="ConditionalUserInputPanel"/>
.
.
.
.
.
when I use UserInputPanel at (1) I dont see my panel at all
when I use ClientServerSelectPanel at both (1) and (2) I get above
mentioned error.
When I use UserInputPanel at (1) and (2) I dont get any error
Any solution plz I tried a lot but could not resolve the prob.....
I created ClientServerSelectPanel.jar manually
It contains following classes
ClientServerSelectPanel$SearchField.class
ClientServerSelectPanel$TextValuePair.class
ClientServerSelectPanel.class
PasswordGroup.class
ProcessingClient.class
Processor.class
RuleInputField$FieldSpec.class
RuleInputField.class
RuleTextField$Rule.class
RuleTextField.class
UserInputPanelAutomationHelper.class
Validator.class
Regards
Sonal
=====-----=====-----=====
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/37e0d6cf/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ClientServerSelectPanel.java
Type: application/octet-stream
Size: 107126 bytes
Desc: not available
Url :
https://lists.berlios.de/pipermail/izpack-users/attachments/20070103/37e0d6cf/attachment.obj
------------------------------
_______________________________________________
izpack-users mailing list
izpack-users at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-users
End of izpack-users Digest, Vol 7, Issue 2
******************************************
ForwardSourceID:NT000031AA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20070104/e1c8f775/attachment.html
More information about the izpack-users
mailing list