Hi ,
I am using JDevelper11.1.1.7.
I followed this blog http://www.jobinesh.com/2010/04/invoking-applicationmodule-from-servlet.html to instantiate BindingContext before the servlet come into action.
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import oracle.adf.model.servlet.ADFBindingFilter;
public class CustomBindingFilter extends ADFBindingFilter {
private FilterConfig \_filterConfig = null;
public void init(FilterConfig filterConfig) throws ServletException {
\_filterConfig = filterConfig;
}
public void destroy() {
\_filterConfig = null;
}
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException,
ServletException {
super.doFilter(request, response, chain);
}
}
I mapped this filter to my servlet in web.xml declaratively.

When the servlet is called, I am getting the breakpoint at line no 31. But after that Null Pointer Exception is thrown.
java.lang.NullPointerException
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:169)
at com.symmetry.dashboard.panels.view.backing.scan.CustomBindingFilter.doFilter(CustomBindingFilter.java:28)
Could you please help me in solving this problem.
Thanks and Regards,
John.