cancel
Showing results for 
Search instead for 
Did you mean: 

Problem during changing methode parameters

Joseph_BERTHE
Active Contributor
0 Kudos

Hi,

In my WD project, I've change the type of my parameters and unfortunatly after reloading and rebuilding, nothing happened !

I try to add a new methode into the same view, and the same effect appears.... So I am completly blocked !!!!!!!

Any suggestion ?

regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi bethe,

delete the <b>gen_wdp</b> folder itself and reload. it nothing works just try to close the project and then open again.

regards,

Gopi

Joseph_BERTHE
Active Contributor
0 Kudos

Hi,

So I delete all the folder, then I reloaded all.

My problem is the same :'(.

<u>The error message is : </u>

<b>The method wdFirePlugShowMaterialConfig(String, String, String, String, boolean) in the type IPrivateMaterialSelectionView is not applicable for the arguments (String, String, String, int, boolean) MaterialSelectionView.java LocalDevelopmentes0731aegis.inte6/gen_wdp/packages/aegis/inte6/esales line 784

</b>

As you can see, the system has (String, String, String, String, boolean) --> this is what I want

And in the Plug Tab there is : (String, String, String, int, boolean) --> That I don't want anymore.

Regards,

Former Member
0 Kudos

Can you open the Eclipse view "PDE runtime -> Error Log" and check if there is an exception thrown when changing the method signature?

You can also delete the method/plug and create it again. The manually added code will be preserved in the comment section "obsolete user coding areas" at the bottom. You can insert it again into the newly generated method body.

Armin

roberto_tagliento
Active Contributor
0 Kudos

ooooo that is the matter.

remember that when create plug, into view are created the event handler method.

Method and event associated doesn´t bind good.

Delete the PLUG. SAVE and rebuild.

after

create new one.

Joseph_BERTHE
Active Contributor
0 Kudos

OK, so thanks very much, it works well.

Big thanks

Answers (2)

Answers (2)

roberto_tagliento
Active Contributor
0 Kudos

How did you change the type?

Don´t tell me: "direct from code".

You must use NWDS user interface, "method" tab.

It´s strange error.

Joseph_BERTHE
Active Contributor
0 Kudos

Hi,

Of course I do not do it from the code I've used the tab.

Regards,

roberto_tagliento
Active Contributor
0 Kudos

Never happen somthing like that!

And hope does not will!!!

Former Member
0 Kudos

Hi,

You can try deleting all the files under gen_wdp folder and then try adding the method again.

Regards,

Satyajit.

Joseph_BERTHE
Active Contributor
0 Kudos

Hi,

Thanks for answering.

It is a good idear but it didn't work at all :'(

So I deleted the files from the forlder you said, and I reloaded the project..did not work!

Any further suggestion ?

Regards,

roberto_tagliento
Active Contributor
0 Kudos

Same for ADD a method.

Otherwise, you can do it directly into CODE, between this 2 line:


//@@begin others

//@@end

Joseph_BERTHE
Active Contributor
0 Kudos

Hi,

I can't do it via this solution because The methode where I want to change the parameter's type is a PlugIn.

Regards