Contradictions when you look back at the top of DataControl

Hello

I have the method in a workflow method to return the Module application below

private static ApplicationModule getAppModule (String dataControlName) {}
BindingContext, bc is BindingContext.getCurrent ();
DC DCDataControl = bc.findDataControl (dataControlName);
Return dc.getApplicationModule ();
}

When I connect firstly in the application all running fine in the method, and it returns the module of the application. However, if I log out of the application and sign back with another browser and call the workflow I get a Null pointer Exception when I call dc.getApplicationModule () as the DataControl is null. Even if I log out and log in as the original user, I always get the NPE.

Can anyone help to shed light on this issue and how can I solve it

Thanks for your help

Hello

your question has no information about the version of JDeveloper. In addition, according to the best practices of the ADF, all access to methods exposed on the application module must be through the link layer. So please, create a file PageDef and expose the client method as a method binding.

Frank

Tags: Java

Similar Questions

Maybe you are looking for