on 07-09-2008 10:09 PM
Hi all,
I develop and implemented my WD project using an Adaptive RFC. Due some modifications in the business Logic the RFC model changed adding more tables and removing some fields.
When I re-import the Model all my WD project crashed!!!! All the WD java classes for my WD aren't found. Things like:
Kind Status Priority Description Resource In Folder Location
Error IPrivateComponent cannot be resolved (or is not a valid type) for the field Component.wdContext Component.java Project/gen_wdp/packages/com/test/.... line 78
This is not the first time I got this error!!! But previous times my WD wasn´t completed implemented and I re-do the project.
Does anyone have a problem like this before? Is it fixable?
Regards,
Orlando Covault
P.D.
About SAP NetWeaver Developer Studio
Version: 2.0.16
Build id: 200602130353
Hi
A general rule " Whenever there is a change in the fields of the RFC you are using, they is always a need of restart of J2EE server"..However if there is a change in business logic in the Source Code of your RFC, there is no need of restart of J2EE server..
I too faced same problem. Resolved by doing so..
Thanks
Narendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Orlando,
You have a choice to get rid of your problem. First of all delete your existing model, save and rebuild your project. Now freshly reimport and rebuild it. If your problems is still persisting...........
goto this path
D:\Documents and Settings\<user>\Documents\SAP\workspace
you'll find a .metadata folder, delete it (keep a backup if u need).
Now reimport your project in NWDS. Once check whether the problem is due to the version of NWDS you're using if its 7.0 try updating it to 7.0.09
Hope this will be useful to you.
Award if truely useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Orlando,
If this problem still there ... install SP13.
regards,
Sumit Malhotra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Orlando,
yes this is a solvable problem. Sometimes we get this kind of web dynpro "madness": hundreds of errors that spurt out with no apparent reason. If you carefully analyze the log you will find a few error that are true and that in turn stop the generation of standard classes and cause the other errors.
In you scenario I suppose the removed fields where used somewhere, maybe in the context or in some methods.
Track this errors first and look also for wrong import statements.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It seems that project is corrupted. Have you tried repairing project? Also, have you tried closing the project & reopening it again?
Regards,
Apurva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you re-import Model, you need to restart J2EE server in order to reflect all the meta data changes.
plz refer RFC Troubleshooting Guide
The error may be because of
1) attribute type information from R/3 (RFC) is not getting
2) actions with methods deleted.
nikhil
Edited by: Nikhil ßos on Jul 10, 2008 12:28 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
This may happen if the metadata of your application are corrupted. In that case, the code generation may crash leaving an incomplete Java source file.
To fix this, try the following.
First, check if there are any errors displayed in the "Problems" view that are related to the metamodel like corrupted data bindings, context mappings or events bound to deleted actions etc. Try to fix these using the IDE editors.
After that, open the "Navigator" and delete all generated sources inside folder gen_wdp. Return to the Web Dynpro Explorer and make a full rebuild of the project
Mandeep Virk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Whenever you re import the model, you have to re build it immediatly and then you can go for any other mappings.. i faced this problems some times when I re import the model and without re building it i used some mapping and others. So immediatly after re import use rebuild.
if problem persist, go to navigation tab -> go to src and remove gen_wdp and re build the project. this should solve your current problem.
regards,
Pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Orlando,
Did you try to delete the entire model and reimport it again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
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.