cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

java.lang.IllegalArgumentException: Attribute name 'DateStart' not defined

Former Member
0 Likes
2,014

When I tried to do this:

wdContext.currentCheck_Material_PriceElement().setDateStart("2009-04-27");

It gives the error:

java.lang.IllegalArgumentException: Attribute name 'DateStart' not defined

What could be the error?

View Entire Topic
pravesh_verma
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Jackson,

Please check in the Check_Material_Price node that whether the DateStart attribute is present or not. I guess that is not present.

However if that is present then is this node a model imported node. If this is a model imported node then it might be the case that there is some chnages in the model. You need to check in the backend RFC that whether this attribute actually exist in backend or not.

Finally, Just restart your server and redeploy the application, and then try to run the application again. I have a feeling that if all the above mentioned things are correct then your application is not getting deployed properly.

You can just try to undeploy your application and then redeploy of that once again.

I hope this solves your issue. Please revert back in case there is still some problem.

Thanks and Regards

Pravesh

Former Member
0 Likes

Yep DateStart attribute exists.

My j2ee webservices could work, backend could work too when i enter value for dateStart, but from the UI itself when I tried to set the value for UI, it gives me the error?

Help

pravesh_verma
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi jackson,

Hve you tried to undeploy and then redeploy the application. This is one last thing I have mentioned in my reply above. Try this, may be this can help.

Thanks and Regards,

Pravesh

Former Member
0 Likes

Yes I tried redeployed all the services, and the application too.. it still gives the error which I have no idea why..