on 10-30-2008 12:01 PM
Hi,
I am importing a Web Service as Model an bind a DropDownList to the Context node.
I am getting the following error when running the application:
The initial exception that caused the request to fail, was:
java.lang.IllegalArgumentException: text must not be null
Any idea's?
Thanks,
Ridouan
Hi,
It looks like you have missed the binding of DropDownByIndex text property to the respective Context attribute
Could be because you might have missed one of the mandatory parameter for the WebService.
If you could post the entire stack trace for the error it would be of real help.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
is there any attribute with name "text" ?
then do like this
if(value!=null)
wdContext.----
.settext(value);
Regards,
ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
No, there is no attribute with the name "text".
This is the code I use to bind a DropDownList with the Context node.
LangModel model = new LangModel();
Request_GetLanguage language = new Request_GetLanguage(model);
wdContext.nodeRequest_GetLanguage().bind(language);
try {
wdContext.currentRequest_GetLanguageElement().modelObject()
.execute();
wdContext.nodeResponse().invalidate();
} catch (Exception e) {
wdComponentAPI.getMessageManager().reportException(
e.getLocalizedMessage());
Thanks,
Ridouan
Hi
You might be passing Illegal Argument as a input parameter,
Plz check the your defined data type
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.