TopLink, ADF 11g, RemoteSession and Stack Over Flow

Hi,
I am using TopLink and ADF 11g. From managed bean I can invoke Toplink Remote Session. After commit transaction on Remote Unit Of Work I get next exception:
11.8.2009 14:52:47 oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator handleError
SEVERE: Server Exception during PPR, #1
javax.el.ELException: java.lang.StackOverflowError
     at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
     at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
     at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:138)
     at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:142)
     at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:876)
     at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:752)
     at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:526)
     at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:142)
     at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:110)
     at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:79)
     at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:43)
     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
     at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
     at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:145)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:787)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:280)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.StackOverflowError
     at oracle.toplink.internal.sessions.UnitOfWorkImpl.getParent(UnitOfWorkImpl.java:2488)
     at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
     at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
     at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
     at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
     at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
     at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
     at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
     at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
     at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
     at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
     at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
     at oracle.toplink.internal.remote.RemoteUnitOfWork.getDescriptor(RemoteUnitOfWork.java:254)
Where can be problem? When I use DatabaseSession, all work correctly.
Edited by: user480864 on 11.8.2009 6:20

Hi Chris,
thanks for your response. I was take next fragment of source code for Server session, Client session and Remote session.
On server side:
Acquire Server Session:
private synchronized void createServerSession(boolean setEventListener){
serverSession = null;
if (toplinkProjekt == null) return;
Server serverSess = toplinkProjekt.createServerSession();
if (setEventListener) {
SessionEventListener eventListener = new SessionEventListener("ToplinkProjectManager.createServerSession", true, ESessionType.ServerSession);
serverSess.getEventManager().addListener(eventListener);
serverSess.setLogLevel(DefaultSessionLog.ALL);
serverSess.login();
serverSession = serverSess;
Acquire client session:
public RMIRemoteSessionController getRemoteSessionController(String firma) {
RMIRemoteSessionController rmirsController = null;
try {
ClientSession clientSession = getClientSession(firma);
if (clientSession != null) {
try {
rmirsController = new RMIRemoteSessionControllerDispatcher(clientSession);
} catch (RemoteException e) {
e.printStackTrace();
} else {
System.out.println("\n" + userIdentifikator + "\nzamietnuty pristup.\n\n");
} catch (Exception e){
e.printStackTrace();
System.out.println("\n\n\n" + userIdentifikator + " dostal RMI controller: " + rmirsController+ "\n\n\n\n\n");
return rmirsController;
private ClientSession getClientSession(String firma) {
if (AccessControl.canAccess(firma, userIdentifikator)) {
return DBConnectionManager.getClientSession(firma, userIdentifikator);
} else {
return null;
Methods getClientSession and getRemoteSessionController are in Statefull EJB T3ConnectionManagerSessionEJBBean and getRemoteSessionController is published accross the Remote interface.
Remote site:
private static Context getInitialContext() throws NamingException {
Hashtable env = new Hashtable();
env.put( Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory" );
env.put(Context.PROVIDER_URL, "t3://192.168.1.107:7101");
return new InitialContext( env );
private static RemoteSession createRemoteSession(String firma){
T3ConnectionManagerEJBBeanRemote t3Connection = null;
try {
final Context context = getInitialContext();
t3Connection = (T3ConnectionManagerEJBBeanRemote)context.lookup("T3ConnectionManagerSessionEJBBean#sk.egroup.toplink.sessions.t3connection.T3ConnectionManagerEJBBeanRemote");
} catch (Exception e) {
System.out.println("Lookup error - " + e.toString());
return null;
if (t3Connection == null) return null;
RMIRemoteSessionController controller = null;
try {
controller = t3Connection.getRemoteSessionController(firma);
} catch (Exception e) {
e.printStackTrace();
return null;
if (controller != null) {
RMIConnection rmiConnection = new RMIConnection(controller);
RemoteSession session = (RemoteSession)rmiConnection.createRemoteSession();
SessionEventListener eventListener = new SessionEventListener("FIRMA = " + firma, true, ESessionType.RemoteSession);
session.getEventManager().addListener(eventListener);
session.setLogLevel(DefaultSessionLog.ALL);
return (RemoteSession) session;
} else {
System.out.println("Nepodarilo sa ziskat remote session.");
return null;
Best Regards,
Jozef

Similar Messages

  • Asking too much and getting a "stack over flow error"

    I’m having AS3 create 12 random var (play1, play2, etc) and then I ask it to average the 12 vars (numbers) until I get a specific average number. When I run this in AS2 I get the “script time error, keep running?” question. I tell it to keep running and eventually AS2 finds the right set of 12 numbers to equal a specific average number. In AS3 I get a “stack over flow error”. I know that all my AS3 swf needs is just more time to find it.
    Any ideas for a fix?

    // set AvgLenght if it is undefined
    if (!AvgLenght) {
        var AvgLenght:Number = 4.5;
        ShowAvgLenght.text = String(AvgLenght);
    // build play lengths//
    var Hteamplay1:int = Math.random() * 5;
    var Hteamplay2:int = Math.random() * 5;
    var Hteamplay3:int = Math.random() * 5;
    var Hteamplay4:int = Math.random() * 5;
    var Hteamplay5:int = Math.random() * 10;
    var Hteamplay6:int = Math.random() * 10;
    var Hteamplay7:int = Math.random() * 10;
    var Hteamplay8:int = Math.random() * 10;
    var Hteamplay9:int = Math.random() * 20;
    var Hteamplay10:int = Math.random() * 20;
    var Hteamplay11:int = Math.random() * 50;
    var Hteamplay12:int = Math.random() * 100;
    trace("12 play sets", Hteamplay1, Hteamplay2, Hteamplay3, Hteamplay4, Hteamplay5, Hteamplay6, Hteamplay7, Hteamplay8, Hteamplay9, Hteamplay10, Hteamplay11, Hteamplay12);
    var playsum:Number = (Hteamplay1 + Hteamplay2 + Hteamplay3 + Hteamplay4 + Hteamplay5 + Hteamplay6 + Hteamplay7 + Hteamplay8 + Hteamplay9 + Hteamplay10 + Hteamplay11 + Hteamplay12);
    var PlaySets:Number = playsum / 12;
    trace ("Average of all plays:", PlaySets)
    if (PlaySets >= AvgLenght && PlaySets <= AvgLenght + .1) {
        gotoAndStop("Equals target avg");
        ShowAvgLenght.text = String(AvgLenght);
    } else
    nextFrame();
    // The next frame "goes to and plays this frame
    // ShowAvgLenght.text = String(AvgLenght);
    trace("AvgLenght:", AvgLenght);
    the code work with higher "AvgLenght",a lower "AvgLenght" takes longer and I get the below error:
    output:
    12 play sets 2 2 2 1 0 3 0 7 16 16 25 17
    Average of all plays: 7.583333333333333
    AvgLenght: 2
    tried: 3489
    12 play sets 0 4 4 0 3 4 1 2 19 9 10 30
    Average of all plays: 7.166666666666667
    AvgLenght: 2
    Error: Error #1023: Stack overflow occurred.
    tried: 3490
    Error: Error #1023: Stack overflow occurred.
    Error: Error #1023: Stack overflow occurred.

  • Arg, stack over flow...

    I'm working on a equation parser (using recursion).
    I'm getting a stack over flow error on the first recursive call by making with parameters consiting of only:
    1) 1 TreeNode containing a very short string
    2) 1 ArrayList containing only 1 element at that time.
    Now I'm confused about how stack overflow works, doesn't it only happen when you try to use too much memory. (ie a recursion that goes too deep)
    So can someone tell me why this is causing a stack overflow and clear up for me what really behind stack overflow errors in general? thanks

    Now I'm confused about how stack overflow works,
    doesn't it only happen when you try to use too much
    memory. (ie a recursion that goes too deep)Yes.
    So can someone tell me why this is causing a stack
    overflow Not easy without the code.
    What are the termination conditions for the recursive method with the given inputs?
    Pete

  • Oracle ADF 11G R1 and 11G R2 and Internet Explorer 11 Support

    Hello,
    We are using Oracle ADF 11G R2 (11.1.2.4), and now that Microsoft has pushed Internet Explorer 11 to Windows 7 and Windows 8 computers, we are finding that our application is not working with IE11.
    You get the popup that states "You are using an unsupported browser", and while everything renders on the screen, the application does not respond to user clicks.
    Does anyone have workaround for IE11, and if anyone from Oracle is reading, can you give any tentative guidelines for IE11 support.
    Thanks.

    Here's one workaround
    Jonas de Graaff weblog: How to run your ADF 11.1.x application under IE 11: a workaround
    http://jonasdegraaff.blogspot.nl/2013/11/how-to-run-your-adf-111x-application.html

  • ADF 11g Taskflows and PageFlow Scope.

    Hi,
    I am working in ADF11g and I have a question on ADF Taskflows and PageFlow Scopes.
    I have 2 bounded taskflows a and b. a is in showdetailitem1 and b in showdetailitem2. I have created a bounded taskflow on a and b and dropped on a page.I have some values set in page flow scope of a and when I try to retrieve those values in b, I get them as null.
    Can anyone tell me what could be wrong.
    Thanks,
    User

    Hi,
    As i understand, each bounded taskflow will have a separate pageFlowScope. I believe, I have read this before in the documentation but now having a hard time finding it. If you need to share the same variable between bounded taskflows, you can look into taskflow parameters or contextual events. Another dirty and easy way is to use session scope (not recommended if can be avoided).
    Regards,
    Pino

  • Oracle ADF 11G R1 and Internet Explorer 11 Support

    Hello,
    I need to write my own post even if issue is written on this thread (https://forum.java.sun.com/thread/2602720) Because i suppose that post writer reached to his useful workaround  and no activity seems for a couple of months.
    Use 11.1.1.6 and Win8.1 IE11
    I did not find any solution or workaround which runs properly. Any comments are welcome.
    merry christmast

    The reason for this is that there is no solution at the moment. Oracle is working on one. Also check https://groups.google.com/forum/m/#!msg/adf-methodology/NP4g98AvrCw/uYf_cvDna_0J
    To my knowledge you have to open a SR with support.oracle.com and ask them for help to get the back port of the solution once it's ready.
    If you have a support contract you'll find a note for IE11 THERE too.
    Timo

  • Jdev3.2,BC4J, ERROR STACK OVER FLOW

    HI
    I created a BC4J project based on 10 tables. when testing the module an error stack overflow is thrown when trying to open some views. these same views are accessed successfully when the BC4J project is created whith less tables or with only these tables.
    can some one help me to avoid such error
    every advice is appreciated.
    Ghassen
    null

    I encountered a stack overflow when trying to access a CLOB data type.
    I removed that rowset definition and the problem went away.
    JDBC is the work around.

  • Scrolling of an adf 11g component and tying it to browser scrolling

    Hi,
    Is there anyway to somehow defer scrolling to browser from an adf container component. Let me explain to you what i mean.
    Lets say I have a jspx page with some content that requires browser to vertical scroll. Now If i create a form in a scrollable container with several input fields and add that container with form to my jspx page, i get two scroll bars (one internal to my page, the other specific to browser). Since most of us hate double vertical scrolling, i was wondering if there was something i can do to in essence add my internal scrolling to the browser scrolling.
    It may be impossible to do, but it is a real requirement. Of course i can create my form that is not scrollable and then only browser scrolling will be needed.
    Thanks,

    Hi,
    I think this requires JavaScript interaction to synch the scrolling with the browser bars. I am not aware of anyone who did this so far.
    Frank

  • Stack over flow error

    hi all,
    we had an outage , when I checked the logs there was a java.lang.stackoverflow error, and the weblogic server shut down, is this possisible ? for a stack overflow error to pull down a server, we had to restart the server , and now it works fine, please throw some light.
    Thanks
    Pradeep

        public class Main extends JPanel
            private PanelA a = new PanelA();
            private PanelB b = new PanelB();
            Main()
                a.setPanelB(b);
                b.setPanelA(a);
        public class PanelA extends JPanel
            private PanelB b;
            void setPanelB(PanelB b)
                this.b = b;
        public class PanelB extends JPanel
            void setPanelA(PanelA a)
                this.a = a;
            private PanelA a;

  • Stack over flow

    hi i was doing example on singleton pattern then i modified programme i am facing error help me out i am giving the programme
    public class Singleton {
         Singleton singleton = new Singleton();
         /** A private Constructor prevents any other class from instantiating. */
         public Singleton() {
         /** Static 'instance' method */
         public Singleton getInstance() {
         return new Singleton();
         // other methods protected by singleton-ness would be here...
         /** A simple demo method */
         public String demoMethod() {
         return "demo";
    public class SingletonPattern {
         public static void main(String[] args) {
         //Singleton s1 = Singleton.getInstance();
              Singleton s1 = new Singleton();
         System.out.println("Calling a method of a Singleton: " + s1.demoMethod());
         //Singleton s2 = Singleton.getInstance();
         Singleton s2 = new Singleton();
         System.out.println("Calling a method of a Singleton: " + s2.demoMethod());
         boolean b1 = (s1 == s2);
         System.out.println("Object instance s1 and s2 are the same object: " + b1);
    i am getting following exception
    Exception in thread "main" java.lang.StackOverflowError
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
         at singleton.Singleton.<init>(Singleton.java:4)
    error is in line      Singleton singleton = new Singleton();
    Edited by: vinaybasavanal on Jun 25, 2008 3:49 AM
    Edited by: vinaybasavanal on Jun 25, 2008 3:51 AM

    your STATIC getInstance() method has to return a STATIC instance of your singleton.
    private static YourSingleton ys = null;
    public static YourSingleton getInstance(){
      if(ys==null){
        ys = new YourSingleton();
      return ys;
    }Remember that the singleton constructor has to be private

  • Issue in Creating  EAR File Using ANT in ADF 11g of Jdeveloper11g IDE

    Hi
    Rookie to this ADF 11g Framework and during the exploring of ADF 11g gone through ADF essentials in OTN and i did sample application of ANT build script and in the ADF Essentials of Ant i came across creating build.xml,build.properties and finally creating WAR file and currently i want to create EAR file so that EAR file can be deployed to my oracle Weblogic server.But ADF Essentials of ANT is totally confined to build.xml,build.properties,WAR file only ! Can any one suggest me the template build.xml of EAR file of any Sample Application so that i can come across what are the patterns,jars,excluded names,included names of EAR .
    Thanks In Advance,
    Regards
    RK

    RK,
    There are a few options. If I were doing this today, I'd just use ojdeploy (and the ojdeploy ANT task) to create the EAR file with a minimum of fuss (refer to the JDeveloper docs for more information).
    If you wanted to create an EAR file using the same technique that I used in the ADF Development Essentials article, just follow the same techniques - create an EAR file using JDeveloper and unzip it to discover the structure of what it should look like.
    Best,
    John

  • ADF 11g TP3 or Production

    Is there any information out there as far as Oracle's delivery dates for ADF 11g Production and/or an ADF Technology Preview 3 version? We are currently in the process of developing a small beta version of our software using TP2, but concern is mounting due to components not being completely reliable. Obviously, attaining our beta deadlines is greatly affected by Oracle's ADF 11g deadlines. Any info is greatly appreciated! Thank you.

    Hi,
    unfortunately we don't have a release date for JDeveloper 11 and no date for another TP either (which doesn't mean that there wont be anymore TP - just we don't have a date yet)
    If you are building on an important proof of concept, I suggest you to get in touch with the local sales organization to see how they can support you. There are limited options to provide you with internal builds after signing a non disclosure agreement. However, as said - resources are limited and we cannot accept all requests. However, your local sales team is the first stop to getting there.
    Frank

  • Why ADF Business Components and TopLink

    Hi All,
    Why are there two types of components in Businses Tier? (ADF Business Components and TopLink). Even through there are other types, I can visualize the use of other components but ADF Business Components & TopLink seems to serve the same requirement.
    Can some one provide me information on what is the difference between these two and when to use which one?

    ADF Business Components (aka BC4J) are different from Toplink from approach point of view. Basically if you are more comfortable with SQL and want fine grain control over what and how SQL are run against the database, BC4J is the way to go, because, it's you who write the queries(in ViewObjects)
    If you are from more of java backgroup and can visualize things in term of Object and relationships among objects, so on and so forth then Toplink would be the right choice.
    Pls see the post by Shay in his blog:
    http://blogs.oracle.com/shay/2006/03/10
    regards - rutwik

  • ADF 11g - Refreshing adf:Table using af:poll and ValueExpressions

    Hi,
    I am trying refresh an ADF Read-only table with the af:poll component.
    I could see the System.out message in console and Browser activity (refreshing) because of af:poll method.
    But, the values are not getting updated until I refresh the page manually and removing the "?_adf.ctrl-state=1228194074_3" part from the Browser URL.
    Please find the code which I am using:
    System.out.println("Updating table");
    FacesContext fctx = FacesContext.getCurrentInstance();
    *ValueBinding dcb = fctx.getApplication().createValueBinding("#{bindings}");*
    DCBindingContainer bindings = (DCBindingContainer)dcb.getValue(fctx);
    DCIteratorBinding dciter =bindings.findIteratorBinding("DepartmentsIterator");
    Key current_row_key = dciter.getCurrentRow().getKey();
    dciter.executeQuery();
    dciter.setCurrentRowWithKey(current_row_key.toStringFormat(true));
    Also, I could see createValueBinding / ValueBinding is deprecated and replaced by ValueExpression.
    Is this causing any issues or is there any working sample of the same in ADF 11g.
    thanks & regards,
    S.Vasanth Kumar.
    JDev Studio Edition Version 11.1.1.0.1
    Build JDEVADF_MAIN.BOXER_GENERIC_081203.1854.5188
    Edited by: vasanth.s.kumar on May 6, 2009 10:06 PM

    Thank you for the help.
    But, I am getting NullPointerException after implementing the following code.
    RequestContext.getCurrentInstance().addPartialTarget(this.getTable1());
    RequestContext.getCurrentInstance().addPartialTarget(this.getTable2());
    +"java.lang.NullPointerException+
    +For more information, please see the server's error log for+
    +an entry beginning with: Server Exception during PPR, #4"+
    Please find the complete stack trace attached.
    Inside EmployeesBean
    Updating table
    May 6, 2009 10:34:05 PM oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator handleError
    SEVERE: Server Exception during PPR, #1
    javax.el.ELException: java.lang.NullPointerException
         at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1264)
         at org.apache.myfaces.trinidad.component.UIXPoll.broadcast(UIXPoll.java:98)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:458)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:763)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:640)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:275)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:149)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
         at org.apache.myfaces.trinidadinternal.context.RequestContextImpl._getNearestPPRTarget(RequestContextImpl.java:770)
         at org.apache.myfaces.trinidadinternal.context.RequestContextImpl.addPartialTarget(RequestContextImpl.java:487)
         at nl.whitehorses.coherence.view.backing.EmployeesBean.refreshTable(EmployeesBean.java:105)
         at nl.whitehorses.coherence.view.backing.EmployeesBean.onPoll(EmployeesBean.java:110)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         ... 38 more
    thanks & regards,
    S.Vasanth Kumar.

  • ADF 11g can not select and copy data from cell of readonly table in IE

    hi,
    In ADF 11g, when render view object as readonly table with Single RowsSelection, using IE browser can not select and copy data from the cell, but it work in firefox.
    is it a bug?
    Edited by: kent2066 on 2009-5-18 上午8:46

    Hi Timo,
    Sorry forgot to mention versions.
    We are using 11.1.1.7 and IE 9.
    I tried in Google but could not get the solution.
    Kindly let me know solution for this.
    PavanKumar

Maybe you are looking for