OnSize CWGraph causes assertion error

My current environment is listed at the bottom.
I created an MDI application in Visual Studio C++ and am having my View class inheriting from CFormView. I created my dialog in the dialog editor with 1 CWGraph control. I then added the OnSize event to the class and the following code:
CRect client;
GetClientRect(&client);
m_graph.MoveWindow(client);
This causes an assert error as the CWGraph isn't a window yet. I know this is the case b/c first I changed the code to
CRect client;
GetClientRect(&client);
if (m_resize)
m_graph.MoveWindow(client);
where m_resize initializes to false and clicking a button after the graph's complete creation causes it to resize when i drag the window.
I then wrote in a quick littl
e hack to change the if statement above to
if (::IsWindow(m_graph.GetSafeHwnd()))
This is the only way the code will work. I'm wondering mostly what the issue is here as it seems as though it would be an issue inside of the CWGraph control, albeit, my experience with the order of execution and creation of Active X controls in MFC isn't what it probably should be.
TIA
Environment:
Windows XP SP1
Measurement Studio 7.0
Visual Studio C++ .NET IDE (mfc app, not c++ .net)

The problem is that the control is not actaully initialized when you first call MoveWindow on the graph control. When Onsize is called while the Window is being created, m_graph's handle will not be ready, hence causing the assertion when you try to manipulate the control. This is not a problem specific to the CWGraph control, it is pretty much standard with all MFC controls. You'll see the same thing happen if you do the same thing with a command button.
Your workaround is the correct way to set this up. You could also have use a boolean to indicate when the window has finished initializing and then change the size of the graph control. Either way, MFC has to initialize the control before it can do anything to it.
I hope this helps
Bi
lal Durrani
NI
Bilal Durrani
NI

Similar Messages

  • Labview RT 14.0 Scheduler Assert%3A __1276 Scheduler Assertion Error%3A 80000004

    We have a multithreaded CVI app (~20 threads) running on a PXIe-8135 (4 CPUs).   The application never gets done starting all the threads before blue-screening with the following error:
    Scheduler Asser: __1276
    Scheduler Assertion Error: 80000004
    Interrupt Disabled. Scheduler Enabled.  ....
    More details:
    System
    Chassis 1 PXIe-1085:
        PXIe-8135 Controller
        PXI-6704 (7 of them), initialize properly, thread runs successfully until blue screen
        PXI-8431/8 (8 of these, total of 64 RS422 channels, about 40 being used currently for test), it is during the starting of these threads (one for each board) that it blue screens 
        PXIe-8374 (for using Chassis 2 as an extension of Chassis 1)
    Chassis 2 PXIe-1075:
        PXI-8370 (connected to PXIe-8374)
        PXI-6528 (1) threads run fine
        PXI-6529 (4) threads run fine
        NI-8234 (4) not used currently
    The scheduler error happens at different times, but always during the starting of the RS422 threads.  Can anybody give a hint as to why the Scheduler Assertion Error occurs, and particularly this specific error?

    Hi,
    I have a couple of questions for you.
    1) Has this application ever worked?
    2) Can you attempt to replicate this issue with less RS422 channels? Basically, is there a maximum number of RS422 channels where the error is received, or if you had only 1 channel being used, would the error still happen?
    3) Do you have another PXIe controller that you can try?
    4) Did anything change in your system that would have caused the error?
    Kevin S
    Applications Engineer
    National Instruments

  • Assert error in __memp_fget under OS X/Linux using TXN_SNAPSHOT

    Hi all,
    Hopefully this is a good place to file a bug report. I've been hunting down the cause of a core dump for a couple of weeks and have finally reduced it to a [small example|http://home.comcast.net/~jonathanmeredith/bugrpt.tar.gz] (I couldn't find a way to attach it to the message).
    README from the tarball:
    The code sample enclosed causes BDB to die with an assertion error. This is the minimal
    code that causes the bug, stripped down from an Erlang port driver. It may look strange
    and ugly, but it only exists to reproduce the bug.
    To reproduce expand the tarball into a directory containing the BDB tarball and run make.
    It will compile the library and test code then start looping through the test code. The
    assertion usually occurs anywhere between 1 and 50 iterations through the test code.
    The bug occurs under Mac OS X 10.5.7 (9J61) running on an 8 core [email protected] mac pro,
    8Gb RAM, compiled with i686-apple-darwin9-gcc-4.2.1 and under Debianl Lenny on
    4 core Xeon 5160 @ 3.00GHz, 8Gb RAM, libc 2.7-18, gcc (Debian 4.3.2-1.1) 4.3.2.
    Expected output:
    assert failure: ../dist/../mp/mp_fget.c/257: "bhp != NULL"
    0 bugrpt 0x001284c1 __os_stack + 38
    1 bugrpt 0x00124bce __os_abort + 17
    2 bugrpt 0x000ba786 __db_assert + 66
    3 bugrpt 0x0010f365 __memp_fget + 2274
    4 bugrpt 0x0000acff __bamc_rget + 4421
    5 bugrpt 0x0000923f __bam_bulk_duplicates + 5534
    6 bugrpt 0x000b229d __dbc_put + 4515
    7 bugrpt 0x000a0d9f __db_put + 639
    8 bugrpt 0x000bf7c1 __db_put_pp + 606
    9 bugrpt 0x000023bf start + 723
    10 bugrpt 0x00002492 bug200 + 70
    11 libSystem.B.dylib 0x91e37155 pthreadstart + 321
    12 libSystem.B.dylib 0x91e37012 thread_start + 34
    ./loopbug: line 20: 52562 Abort trap ../bugrpt
    Removing the TXN_SNAPSHOT options makes the bug go away. So does changing the size of the 'put' value.
    Reducing the number of the THREADS #define increases the number of iterations required to hit the assert.
    On the 4-core Debian box it took 377 reps with THREADS=2

    Hi Jon,
    Thanks for a great test case, this made our job a little easier! If you could please send me an email to: michael dot brey at oracle dot com, I will respond to you with a patch of this issue for 4.7.
    Regards,
    Mike Brey, Oracle Berkeley DB

  • Assertion Error: Cannot Load Dyamically Generated Stub

    Hi Everyone,
    I am getting an Assertion Error in Weblogic 9.2, the root cause being a ClassNotFoundException for a dynamically-generated WL Stub for an Oracle JDBC wrapper. The partial stacktrace is as follows:
    ASSERTION FAILED *****[Could not find dynamically generated class: 'weblogic.jdbc.rmi.internal.ResultSetImpl_weblogic_jdbc_wrapper_ResultSet_oracle_jdbc_driver_OracleResultSetImpl_920_WLStub']
    Caused by: java.lang.ClassNotFoundException: weblogic.jdbc.rmi.internal.ResultSetImpl_weblogic_jdbc_wrapper_ResultSet_oracle_jdbc_driver_OracleResultSetImpl_920_WLStub
    So...not sure if the RMI stub is never generated because/or there is something dorked up in my classpath re: Oracle. Any insight would be awesome
    Thanks!
    --John                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi yoster,
    I have the same problem, but I couldn't solve the problem by removing a war file like you did.
    It's nearly the same stacktrace:
    ASSERTION FAILED *****[ Could not find dynamically generated class: 'weblogic.jdbc.rmi.internal.StatementImpl_weblogic_jdbc_wrapper_Statement_oracle_jdbc_driver_T4CStatement_921_WLStub' ].
    java.lang.ClassNotFoundException: weblogic.jdbc.rmi.internal.StatementImpl_weblogic_jdbc_wrapper_Statement_oracle_jdbc_driver_T4CStatement_921_WLStub
    My database is also oracle.
    Do you have other ideas that could sold this ?
    I hope you do, because I'm stuck ... don't know where to look anymore :(
    Toni

  • Assertion Error in WL 4.5.1

    Hi,
    We are running WL 4.5.1 with SP 11 on NT and Oracle 8i as the database.
    After the server has been running for quite a while and there is fair amount
    of activity, the server throws the following exception. Any ideas about what
    this exception means or why it is thrown?
    Mon Sep 25 18:52:15 EDT 2000:<E> <T3Services>
    java.rmi.RemoteException: --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
    violated ]
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Error.<init>(Error.java:53)
    at weblogic.utils.NestedError.<init>(NestedError.java:15)
    at weblogic.utils.AssertionError.<init>(AssertionError.java:49)
    at weblogic.utils.Debug.assert(Compiled Code)
    at weblogic.ejb.internal.LRUCache.remove(Compiled Code)
    at weblogic.ejb.internal.StatefulEJBCache.unbind(Compiled Code)
    at weblogic.ejb.internal.BaseEJBContext.afterCompletion(Compiled Code)
    at weblogic.ejb.internal.EntityEJBContext.afterCompletion(Compiled Code)
    at weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(Compiled
    Code)
    at weblogic.ejb.internal.BaseEJBObject.preInvoke(Compiled Code)
    at sync.server.system.SystemSessionBeanEOImpl.getSystemSessionID(Compiled
    Code)
    at sync.server.eventrouter.SessionHandlerServiceBean.processEvent(Compiled
    Code)
    at
    sync.server.eventrouter.SessionHandlerServiceBeanEOImpl.processEvent(Compile
    d Code)
    at
    sync.server.eventrouter.SessionHandlerServiceBeanEOImpl_ServiceStub.processE
    vent(Compiled Code)
    at sync.server.gateway.ServerGatewayBean.handleSystemMessage(Compiled Code)
    at sync.server.gateway.ServerGatewayBeanEOImpl.handleSystemMessage(Compiled
    Code)
    at
    sync.server.gateway.ServerGatewayBeanEOImpl_ServiceStub.handleSystemMessage(
    Compiled Code)
    at sync.server.util.SystemMessageThread.disconnect(Compiled Code)
    at sync.server.util.SystemMessageThread.run(Compiled Code)
    at sync.util.ThreadPoolRunner.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    ; nested exception is:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
    violated ]
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(Compiled Code)
    at java.rmi.RemoteException.<init>(Compiled Code)
    at weblogic.ejb.internal.BaseEJBObject.postInvoke(Compiled Code)
    at sync.server.system.SystemSessionBeanEOImpl.getSystemSessionID(Compiled
    Code)
    at sync.server.eventrouter.SessionHandlerServiceBean.processEvent(Compiled
    Code)
    at
    sync.server.eventrouter.SessionHandlerServiceBeanEOImpl.processEvent(Compile
    d Code)
    at
    sync.server.eventrouter.SessionHandlerServiceBeanEOImpl_ServiceStub.processE
    vent(Compiled Code)
    at sync.server.gateway.ServerGatewayBean.handleSystemMessage(Compiled Code)
    at sync.server.gateway.ServerGatewayBeanEOImpl.handleSystemMessage(Compiled
    Code)
    at
    sync.server.gateway.ServerGatewayBeanEOImpl_ServiceStub.handleSystemMessage(
    Compiled Code)
    at sync.server.util.SystemMessageThread.disconnect(Compiled Code)
    at sync.server.util.SystemMessageThread.run(Compiled Code)
    at sync.util.ThreadPoolRunner.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)

    This turned out to be our fault - we were told that the servers are running
    sp11 but when we later checked using the admin tool, we found that wasn't
    the case on this machine. sp11 was in the classpath but the directory was
    wrong. I guess that's the downside to the way WL SPs work, the jvm doesn't
    tell you when you have an invalid filename in the classpath so you don't
    know that you are not actually running with the sp.
    On the thread issue you mention, the traceback below originates in a startup
    class which does manage its own threads. Isn't this a valid way to invoke
    beans in weblogic?
    "Rob Woollen" <[email protected]> wrote in message
    news:[email protected]...
    It's hard to say why you're seeing this assertion error. I would
    suggest that you contact [email protected]
    However, I can see that you are using your own threads within the
    WebLogic server. This is not allowed and might be the cause of your
    problems.
    -- Rob
    SG wrote:
    Hi,
    We are running WL 4.5.1 with SP 11 on NT and Oracle 8i as the database.
    After the server has been running for quite a while and there is fair
    amount
    of activity, the server throws the following exception. Any ideas aboutwhat
    this exception means or why it is thrown?
    Mon Sep 25 18:52:15 EDT 2000:<E> <T3Services>
    java.rmi.RemoteException: --------------- nestedwithin: ------------------
    >>
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
    violated ]
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Error.<init>(Error.java:53)
    at weblogic.utils.NestedError.<init>(NestedError.java:15)
    at weblogic.utils.AssertionError.<init>(AssertionError.java:49)
    at weblogic.utils.Debug.assert(Compiled Code)
    at weblogic.ejb.internal.LRUCache.remove(Compiled Code)
    at weblogic.ejb.internal.StatefulEJBCache.unbind(Compiled Code)
    at weblogic.ejb.internal.BaseEJBContext.afterCompletion(Compiled Code)
    at weblogic.ejb.internal.EntityEJBContext.afterCompletion(Compiled Code)
    at weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(Compiled
    Code)
    at weblogic.ejb.internal.BaseEJBObject.preInvoke(Compiled Code)
    atsync.server.system.SystemSessionBeanEOImpl.getSystemSessionID(Compiled
    Code)
    atsync.server.eventrouter.SessionHandlerServiceBean.processEvent(Compiled
    Code)
    at
    sync.server.eventrouter.SessionHandlerServiceBeanEOImpl.processEvent(Compile
    d Code)
    at
    sync.server.eventrouter.SessionHandlerServiceBeanEOImpl_ServiceStub.processE
    vent(Compiled Code)
    at sync.server.gateway.ServerGatewayBean.handleSystemMessage(CompiledCode)
    atsync.server.gateway.ServerGatewayBeanEOImpl.handleSystemMessage(Compiled
    Code)
    at
    sync.server.gateway.ServerGatewayBeanEOImpl_ServiceStub.handleSystemMessage(
    Compiled Code)
    at sync.server.util.SystemMessageThread.disconnect(Compiled Code)
    at sync.server.util.SystemMessageThread.run(Compiled Code)
    at sync.util.ThreadPoolRunner.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    ; nested exception is:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
    violated ]
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(Compiled Code)
    at java.rmi.RemoteException.<init>(Compiled Code)
    at weblogic.ejb.internal.BaseEJBObject.postInvoke(Compiled Code)
    atsync.server.system.SystemSessionBeanEOImpl.getSystemSessionID(Compiled
    Code)
    atsync.server.eventrouter.SessionHandlerServiceBean.processEvent(Compiled
    Code)
    at
    sync.server.eventrouter.SessionHandlerServiceBeanEOImpl.processEvent(Compile
    d Code)
    at
    sync.server.eventrouter.SessionHandlerServiceBeanEOImpl_ServiceStub.processE
    vent(Compiled Code)
    at sync.server.gateway.ServerGatewayBean.handleSystemMessage(CompiledCode)
    atsync.server.gateway.ServerGatewayBeanEOImpl.handleSystemMessage(Compiled
    Code)
    at
    sync.server.gateway.ServerGatewayBeanEOImpl_ServiceStub.handleSystemMessage(
    Compiled Code)
    at sync.server.util.SystemMessageThread.disconnect(Compiled Code)
    at sync.server.util.SystemMessageThread.run(Compiled Code)
    at sync.util.ThreadPoolRunner.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)

  • Assertion error in report

    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46036] Internal Assertion: Condition !pConjunct->IsAndCond(), file server/Query/Optimizer/Request/Src/SQORToCNF.cpp, line 46
    What could be the source for this error, or where can I look for it ?
    thanks
    RIshabh

    Hi RIshabh,
    I found something on siebel support web:
    The reason for the assertion error is due to problems in converting complex filters so that they can be compared to what is in cache. The report should be a cache hit, but because of the conversion error, the filter of the report does not match the filter of the cached report. This causes the assertion error.
    The error is only seen when there is a cache entry. If cache is not populated, there is no need for conversion and comparison. Hence there is no assertion.
    The problem occurs when the number of OR clauses gets too great. Internally, SA needs to convert filters in order to match queries to cache entries. At a certain point, the conversion breaks. Then, the filter of a query that should be a cache hit no longer matches the filter of a similar cache entry. The result is the assertion error.
    This error will not occur if cache is turned off. This error only occurs when cache is already populated. A query will run the first time, but subsequent runs will throw the assertion.
    Hopefully this makes sense.
    Cheers,
    Daan Bakboord

  • OBIAp Internal assertion error

    HI Gurus
    I have installed fres installation of OBI Apps.I have also configured the financial analytics in itand also have done a DAC full load.
    Now when iam running Accounts receivables dashboard in answers some reports are giving the following error.
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 46036] Internal Assertion: Condition pReferencedTable, file server/Query/Optimizer/SmartScheduler/PhysicalRequestGenerator/Src/SQOSPJoinDecomposer.cpp, line 257. (HY000)
    Can anyone help me out what could i do to sort out this error.
    Thanks & Regards
    Bivin

    Hey Will,
    Recently I've seen OBIEE generate some bad queries on an Oracle Database. I had setup a few time series measures and when I added more than three into a report, I got a table not found error. It turned out that it was a combination of the query getting very complex and the way it was using ANSI SQL Left Outer Join operator. I'm wondering if your situation is similar.
    Can you try the following?
    1. Log into the RPD and for your user, set the logging level to 7 (Manage->Security then find your user).
    2. Clear all the caches (BI Server=Manage->Cache delete them all, Presentation Server=Settings->Manage Sessions then close all cursors)
    3. Run the report for a date range that works fine
    4. Run the report for a date range that causes the error.
    5. Look at the physical SQL generated in the log files (Settings->Manage Sessions)
    Compare the two queries and see if anything stands out. In fact try to execute both in SQL Developer or Toad and see if you get any errors. If you can, post the physical SQL and I might be able to notice something.
    Just to confirm, you're using OCI to connect to an Oracle source right?
    In my situation, I fixed it by disabling the LEFT OUTER JOIN syntax on the database. We might be able to get you to do something similar to fix your problem.
    Thanks!
    -Joe

  • Internal Assertion Error while using outer join

    Hi-
    Has anyone experienced this error before: State: HY000. Code: 397397248. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46036] Internal Assertion: Condition !pConjunct->IsAndCond(), file server/Query/Optimizer/Request/Src/SQORToCNF.cpp, line 46. (HY000)
    It happened after I changed the join in logical layer from inner join into left outer join from Fact Tab1 to Fact Tab2, This needs to be changed for cases:
    Fact Tab1 contains:
    Period|Currency|FX Rate
    Mar-09|USD|1
    Apr-09|USD|1.1
    Fact Tab2 contains:
    Period|Currency|Product|Profit
    Mar-09|USD|Metal Abs|1000
    Mar-09|USD|Grey Wood|2000
    Expected Result:
    Period|Currency|Product|Profit|FX Rate
    Mar-09|USD|Metal Abs|1000|1
    Mar-09|USD|Grey Wood|2000|1
    Apr-09|USD|(NULL)|(NULL)|1.1
    But, it shows the error as above (have changed the SERVER_THREAD_STACK_SIZE to 512 KB too but no luck, any idea?
    Thanks,
    Will

    Hey Will,
    Recently I've seen OBIEE generate some bad queries on an Oracle Database. I had setup a few time series measures and when I added more than three into a report, I got a table not found error. It turned out that it was a combination of the query getting very complex and the way it was using ANSI SQL Left Outer Join operator. I'm wondering if your situation is similar.
    Can you try the following?
    1. Log into the RPD and for your user, set the logging level to 7 (Manage->Security then find your user).
    2. Clear all the caches (BI Server=Manage->Cache delete them all, Presentation Server=Settings->Manage Sessions then close all cursors)
    3. Run the report for a date range that works fine
    4. Run the report for a date range that causes the error.
    5. Look at the physical SQL generated in the log files (Settings->Manage Sessions)
    Compare the two queries and see if anything stands out. In fact try to execute both in SQL Developer or Toad and see if you get any errors. If you can, post the physical SQL and I might be able to notice something.
    Just to confirm, you're using OCI to connect to an Oracle source right?
    In my situation, I fixed it by disabling the LEFT OUTER JOIN syntax on the database. We might be able to get you to do something similar to fix your problem.
    Thanks!
    -Joe

  • Causing Runtime error

    Hi,
    I am getting the Following runtime error, can u please tell me the cause for this.
    What happened?                                                                                |
    The exception 'CX_WD_CONTEXT' was raised, but it was not caught anywhere along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
    'CL_WDR_CONTEXT_ELEMENT========CP' has to be
    terminated.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    An exception occurred which is explained in detail below.
    The exception, which is assigned to class 'CX_WD_CONTEXT', was not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    Element Is Not (or No Longer) Bound to a Node
    Error analysis                                                                                |
    An exception occurred which is explained in detail below.
    The exception, which is assigned to class 'CX_WD_CONTEXT', was not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    Element Is Not (or No Longer) Bound to a Node
    How to correct the error
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "UNCAUGHT_EXCEPTION" "CX_WD_CONTEXT"
    "CL_WDR_CONTEXT_ELEMENT========CP" or "CL_WDR_CONTEXT_ELEMENT========CM00I"
    "IF_WD_CONTEXT_ELEMENT~GET_INDEX"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.           
    Information on where terminated
    Termination occurred in the ABAP program "CL_WDR_CONTEXT_ELEMENT========CP" -
    in "IF_WD_CONTEXT_ELEMENT~GET_INDEX".
    The main program was "SAPMHTTP ".
    In the source code you have the termination point in line 4
    of the (Include) program "CL_WDR_CONTEXT_ELEMENT========CM00I".
    Source Code Extract
    Line
    SourceCde
    1
    method if_wd_context_element~get_index .
    2
    3
    if me->node is not bound.
    >>>>>
    raise exception type cx_wd_context exporting textid = cx_wd_context=>element_not_bound.
    5
    endif.
    6
    7
    read table node->collection with key table_line = me transporting no fields.
    8
    assert sy-subrc = 0.
    9
    my_index = sy-tabix.
    |   10|endmethod.                      
    Thanks In advance.
    Mary

    Hi Mary
    It is clearly saying the elements are not bound to the node and you are trying to access the node..
    i.e. you have not binded internal table to the node.
    Abhi

  • Assertion error on application startup

    our EAR works on WL81sp3, now I deploy it on WL103 and get below error. I have no idea what this can be...
    Also tried to rebuild the application to java 1.6, but same error comes up.
    Somebody?
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unbind of com.mytestspace.myapplication.business.participant.ejb.LegalCounterpartyROHomeLocal failed ]
    at weblogic.ejb.container.internal.BaseEJBLocalHome.unbindInJNDI(BaseEJBLocalHome.java:136)
    at weblogic.ejb.container.internal.BaseEJBLocalHome.undeploy(BaseEJBLocalHome.java:125)
    at weblogic.ejb.container.manager.BaseEJBManager.undeploy(BaseEJBManager.java:504)
    at weblogic.ejb.container.manager.BaseEntityManager.undeploy(BaseEntityManager.java:3589)
    at weblogic.ejb.container.manager.DBManager.undeploy(DBManager.java:2281)
    at weblogic.ejb.container.deployer.EJBDeployer.deactivate(EJBDeployer.java:1843)
    at weblogic.ejb.container.deployer.EJBModule.doDeactivate(EJBModule.java:1300)
    at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:491)
    at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:66)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:820)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1227)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:436)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.naming.NameNotFoundException: Unable to resolve 'com.mytestspace.myapplication.business.participant.ejb.LegalCounterpartyROHomeLocal'. Resolved 'com.mytestspace.myapplication.business.participant.ejb'; remaining name 'LegalCounterpartyROHomeLocal'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.superLookupHere(ServerNamingNode.java:197)
    at weblogic.jndi.internal.VersionHandler.unbindHere(VersionHandler.java:327)
    at weblogic.jndi.internal.ServerNamingNode.unbindHere(ServerNamingNode.java:322)
    at weblogic.jndi.internal.BasicNamingNode.unbind(BasicNamingNode.java:561)
    at weblogic.jndi.internal.BasicNamingNode.unbind(BasicNamingNode.java:573)
    at weblogic.jndi.internal.BasicNamingNode.unbind(BasicNamingNode.java:573)
    at weblogic.jndi.internal.BasicNamingNode.unbind(BasicNamingNode.java:573)
    at weblogic.jndi.internal.BasicNamingNode.unbind(BasicNamingNode.java:573)
    at weblogic.jndi.internal.BasicNamingNode.unbind(BasicNamingNode.java:573)
    at weblogic.jndi.internal.BasicNamingNode.unbind(BasicNamingNode.java:573)
    at weblogic.jndi.internal.BasicNamingNode.unbind(BasicNamingNode.java:573)
    at weblogic.jndi.internal.WLEventContextImpl.unbind(WLEventContextImpl.java:173)
    at javax.naming.InitialContext.unbind(InitialContext.java:416)
    at weblogic.ejb.container.internal.BaseEJBLocalHome.unbindInJNDI(BaseEJBLocalHome.java:134)
    ... 32 more
    <05-20-2009 15.20 CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1242825621733' for task 'weblogic.deploy.configChangeTask.0'. Error is: 'javax.naming.NameNotFoundException: Unable to resolve 'com.mytestspace.myapplication.business.participant.ejb.Lega
    lCounterpartyROHomeLocal'. Resolved 'com.mytestspace.myapplication.business.participant.ejb'; remaining name 'LegalCounterpartyROHomeLocal''
    javax.naming.NameNotFoundException: Unable to resolve 'com.mytestspace.myapplication.business.participant.ejb.LegalCounterpartyROHomeLocal'. Resolved 'com.mytestspace.myapplication.business.participant.ejb'; remaining name 'LegalCounterpartyROHomeLocal'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.superLookupHere(ServerNamingNode.java:197)
    at weblogic.jndi.internal.VersionHandler.unbindHere(VersionHandler.java:327)
    at weblogic.jndi.internal.ServerNamingNode.unbindHere(ServerNamingNode.java:322)
    Truncated. see log file for complete stacktrace
    javax.naming.NameNotFoundException: Unable to resolve 'com.mytestspace.myapplication.business.participant.ejb.LegalCounterpartyROHomeLocal'. Resolved 'com.mytestspace.myapplication.business.participant.ejb'; remaining name 'LegalCounterpartyROHomeLocal'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.superLookupHere(ServerNamingNode.java:197)
    at weblogic.jndi.internal.VersionHandler.unbindHere(VersionHandler.java:327)
    at weblogic.jndi.internal.ServerNamingNode.unbindHere(ServerNamingNode.java:322)
    Truncated. see log file for complete stacktrace
    >
    <05-20-2009 15.20 CEST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'myapplication [Version=1.1.0_r247]'.>
    <05-20-2009 15.20 CEST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating activate task for application 'myapplication [Version=1.1.0_r247]'.>
    <05-20-2009 15.20 CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    javax.naming.NameNotFoundException: Unable to resolve 'com.mytestspace.myapplication.business.participant.ejb.LegalCounterpartyROHomeLocal'. Resolved 'com.mytestspace.myapplication.business.participant.ejb'; remaining name 'LegalCounterpartyROHomeLocal'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.superLookupHere(ServerNamingNode.java:197)
    at weblogic.jndi.internal.VersionHandler.unbindHere(VersionHandler.java:327)
    at weblogic.jndi.internal.ServerNamingNode.unbindHere(ServerNamingNode.java:322)
    Truncated. see log file for complete stacktrace
    javax.naming.NameNotFoundException: Unable to resolve 'com.mytestspace.myapplication.business.participant.ejb.LegalCounterpartyROHomeLocal'. Resolved 'com.mytestspace.myapplication.business.participant.ejb'; remaining name 'LegalCounterpartyROHomeLocal'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.superLookupHere(ServerNamingNode.java:197)
    at weblogic.jndi.internal.VersionHandler.unbindHere(VersionHandler.java:327)
    at weblogic.jndi.internal.ServerNamingNode.unbindHere(ServerNamingNode.java:322)
    Truncated. see log file for complete stacktrace
    >
    <05-20-2009 15.20 CEST> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.WrappedDeploymentException: Unable to resolve 'com.mytestspace.myapplication.business.participant.ejb.LegalCounterpartyROHomeLocal'. Resolved 'com.mytestspace.myapplication.business.participant.ejb'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.superLookupHere(ServerNamingNode.java:197)
    at weblogic.jndi.internal.VersionHandler.unbindHere(VersionHandler.java:327)
    at weblogic.jndi.internal.ServerNamingNode.unbindHere(ServerNamingNode.java:322)
    at weblogic.jndi.internal.BasicNamingNode.unbind(BasicNamingNode.java:561)
    at weblogic.jndi.internal.BasicNamingNode.unbind(BasicNamingNode.java:573)
    at weblogic.jndi.internal.BasicNamingNode.unbind(BasicNamingNode.java:573)
    at weblogic.jndi.internal.BasicNamingNode.unbind(BasicNamingNode.java:573)
    at weblogic.jndi.internal.BasicNamingNode.unbind(BasicNamingNode.java:573)
    at weblogic.jndi.internal.BasicNamingNode.unbind(BasicNamingNode.java:573)
    at weblogic.jndi.internal.BasicNamingNode.unbind(BasicNamingNode.java:573)
    at weblogic.jndi.internal.BasicNamingNode.unbind(BasicNamingNode.java:573)
    at weblogic.jndi.internal.WLEventContextImpl.unbind(WLEventContextImpl.java:173)
    at javax.naming.InitialContext.unbind(InitialContext.java:416)
    at weblogic.ejb.container.internal.BaseEJBLocalHome.unbindInJNDI(BaseEJBLocalHome.java:134)
    at weblogic.ejb.container.internal.BaseEJBLocalHome.undeploy(BaseEJBLocalHome.java:125)
    at weblogic.ejb.container.manager.BaseEJBManager.undeploy(BaseEJBManager.java:504)
    at weblogic.ejb.container.manager.BaseEntityManager.undeploy(BaseEntityManager.java:3589)
    at weblogic.ejb.container.manager.DBManager.undeploy(DBManager.java:2281)
    at weblogic.ejb.container.deployer.EJBDeployer.deactivate(EJBDeployer.java:1843)
    at weblogic.ejb.container.deployer.EJBModule.doDeactivate(EJBModule.java:1300)
    at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:491)
    at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:66)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:820)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1227)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:436)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >

    Ujwwala wrote:
    ..I am hvaing myeclipse with tomcat5,Java Web Start is for deploying rich client apps. to the desktop. It does not cause server errors.

  • "Page Security cannot be asserted" error

    I have a page that depending on business logic will give various error dialogs (Y/N), however I keep getting the following error (when returning to self/calling page):<br>
    <<<b>Page Security cannot be asserted. The page has either expired or has been tampered.</b>>>
    <br><br>
    I've was getting this when I pressed no so I did a work around by explicitly forwarding to current page:<br>
    << super.setForwardURL(oapagecontext, true, "OA.jsp?page=/oracle/apps/per/[mypackages]/MyPagePG&akRegionApplicationId=800", true, hashmap1, "N", true);>><br><br>
    But after adding that, if I throw a validation exception (<<throw new OAException(..)>>) it gives me the same old error along with the one I specified in the exception constructor.<br><br>
    Is there something special about this foward? In other places I use the very same method to redirect to dialog without any problems.<br><br>
    Any ideas what causes this error?<br>
    -C
    <br><br>Source:<br>
    <<
    <br> String yes = oapagecontext.getMessage("AK", "FWK_TBX_T_YES", null);
    <br> String no = oapagecontext.getMessage("AK", "FWK_TBX_T_NO", null);
    <br> dialogPage.setOkButtonItemName(okButtonName);
    <br> dialogPage.setNoButtonItemName("No");
    <br> dialogPage.setOkButtonToPost(true);
    <br> dialogPage.setNoButtonToPost(true);
    <br> dialogPage.setPostToCallingPage(true);
    <br> dialogPage.setOkButtonLabel(yes);
    <br> dialogPage.setNoButtonLabel(no);
    <br> java.util.Hashtable formParams = new java.util.Hashtable();
    <br> if(appraisalId!=null){
    <br> formParams.put("AppraisalId", appraisalId);
    <br> }
    <br> if(objectiveId!=null){
    <br> formParams.put("pObjectiveId", objectiveId);
    <br> }
    <br> if(oapagecontext.getParameter("AddAnotherYes")!=null){
    <br> formParams.put("AddAnotherYes", oapagecontext.getParameter("AddAnotherYes"));
    <br> }
    <br> if(oapagecontext.getParameter("ApplyYes")!=null){
    <br> formParams.put("ApplyYes", oapagecontext.getParameter("ApplyYes"));
    <br> }
    <br> formParams.put("event", oapagecontext.getParameter("event"));
    <br> dialogPage.setFormParameters(formParams);
    <br> oapagecontext.redirectToDialogPage(dialogPage);
    >>

    I found the problem.<br><br>
    <b>HashMap hashmap = super.getKeyParams(oapagecontext);<br>
    hashmap.put("MyParam1", value)<br>
    hashmap.put("MyParam2", value)<br>
    hashmap.put("MyParam3", value)<br>
    </b><br><br>
    As it turns out, "MyParam1" was already pre-populated in the key hashmap and so when I tried to reset it, the framework noticed it was rekeyed and threw the mentioned error. Simply removing the line that inserts that param into the map fixed the problem.<br><br>
    So, the solution was to use the code inspector in debug mode to crawl the hashmap to see what key params were auto-populated.<br><br>
    hth,<br>-C

  • Assertion Error while connecting to Remote EJB in WebLogic

    Hi,
    Can anyone help me with thie error.
    Iam getting the following error when Iam trying to connect to to a EJB running on Weblogic .
    What might be the possible causes.
    This the code where Iam getting the error.
    String custData;
    com.o2.registration.adapter.CompanionAdapter stubCustomer = (com.o2.registration.adapter.CompanionAdapter) getRemoteInterface();
    custData = stubCustomer.getUserDetails(customerNumber, username, domain);
    I cannot use the serial version UID since the environments might change from development to test to production.
    I tried to google the error.,but I have not got any satisfactory answers. Can anyone possbily give me all the possible reasons that might cause this error.
    getUserDetails() is in CompanionAdpater.jar file.
    java.io.InvalidClassException: com.o2.registration.phase2.exception.Phase2Exception; Local class not compatible: stream classdesc serialVersionUID=1519825986371884674 local class serialVersionUID=4064166766298331797
    at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java(Compiled Code))
    at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java(Compiled Code))
    at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java(Compiled Code))
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
    at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:29)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java(Compiled Code))
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
    at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
    at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
    at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:202)
    at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:193)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:641)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:488)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:368)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
    [java.io.InvalidClassException: com.o2.registration.phase2.exception.Phase2Exception; Local class not compatible: stream classdesc serialVersionUID=1519825986371884674 local class serialVersionUID=4064166766298331797]
    at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:212)
    at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:193)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:641)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:488)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:368)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    ERROR - Error Fetching Customer Details . Method : getUserDetails()
    ERROR - ; nested exception is:
    weblogic.utils.NestedException: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
    [weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
    [java.io.InvalidClassException: com.o2.registration.phase2.exception.Phase2Exception; Local class not compatible: stream classdesc serialVersionUID=1519825986371884674 local class serialVersionUID=4064166766298331797]]weblogic.rjvm.PeerGoneException: ; nested exception is:
    weblogic.utils.NestedException: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
    [weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
    [java.io.InvalidClassException: com.o2.registration.phase2.exception.Phase2Exception; Local class not compatible: stream classdesc serialVersionUID=1519825986371884674 local class serialVersionUID=4064166766298331797]]
    java.io.InvalidClassException: com.o2.registration.phase2.exception.Phase2Exception; Local class not compatible: stream classdesc serialVersionUID=1519825986371884674 local class serialVersionUID=4064166766298331797
    at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java(Compiled Code))
    at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java(Compiled Code))
    at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java(Compiled Code))
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
    at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:29)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java(Compiled Code))
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
    at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
    at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
    at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:202)
    at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:193)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:641)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:488)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:368)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
    [java.io.InvalidClassException: com.o2.registration.phase2.exception.Phase2Exception; Local class not compatible: stream classdesc serialVersionUID=1519825986371884674 local class serialVersionUID=4064166766298331797]
    at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:212)
    at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:193)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:641)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:488)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:368)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    --------------- nested within: ------------------
    weblogic.utils.NestedException: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
    [weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
    [java.io.InvalidClassException: com.o2.registration.phase2.exception.Phase2Exception; Local class not compatible: stream classdesc serialVersionUID=1519825986371884674 local class serialVersionUID=4064166766298331797]]
    at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:575)
    at weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:823)
    at weblogic.rjvm.t3.T3JVMConnection.hasException(T3JVMConnection.java:625)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:427)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)

    Can anyone possbily give me all
    the possible reasons that might cause this error.There is only one possible reason. Two different interfaces (like client and server) have two different versions of the same class.

  • Assertion Error in Appraisals

    When performing appraisals in Objective Settings and Appraisals in MSS
    we get an error 'Assert condition was violated' when submitting the
    final appraisal ratings. However, only users using Internet Explorer 8
    get this error. The users have Internet Explorer 8 on their computer
    and get the error. Yet, if they sign on with the same computer via
    Citrix which contains Internet Explorer 7 they do not get it.
    Has anyone had this problem? Do you know of a fix?

    Hi,
    Please clarify few points, that will help us understand issue more clearly:-
    1) Record audio from Adobe Presenter>Record and then edit it from Adobe Presenter>Edit, then only Assertion appear ? Or even if you import audio from Adobe Presenter>import and then edit it from Adobe Presenter>Edit. In summary editing any recorded or imported audio causing assertion?
    2) At what point of editing you are getting Assertion. Like at time of deleteing , copy,paste,add new audio, insert silence?
    Regards,
    Shubhi

  • ASSERTION error in ABAB WD application

    Hi,
    I am getting below error while testing ABAP web dynpro application
    ASSERT condition was voilated
    termination type: RABAX_STATE
    please suggest how to correct it

    Hi,
    Post the ST22 trace to get a better idea.
    Also have a look at the below link and check if your case is similar to that.
    [Assertion Failed Error|Assertion Failed Error]
    Text edit in the table control is a not allowed combination and that caused the error for me.

  • Assertion error on WLS81 SP4

    Hi,
    When I want to deploy my application on Bea Weblogic Server 8.1 SP4, I get the following error:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion violated ]
         at weblogic.utils.Debug.assertion(Debug.java:47)
         at weblogic.j2ee.dd.J2EEDeploymentDescriptor.addJavaModule(J2EEDeploymentDescriptor.java:264)
         at weblogic.j2ee.dd.xml.J2EEDeploymentDescriptorLoader_J2EE12.__post_3849685(J2EEDeploymentDescriptorLoader_J2EE12.java:412)
         at weblogic.j2ee.dd.xml.J2EEDeploymentDescriptorLoader_J2EE12.postProc(J2EEDeploymentDescriptorLoader_J2EE12.java:248)
         at weblogic.xml.process.ProcessorDriver.postProc(ProcessorDriver.java:211)
         at weblogic.xml.process.ProcessorDriver.endElement(ProcessorDriver.java:94)
         at weblogic.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:577)
         at weblogic.apache.xerces.impl.xs.XMLSchemaValidator.endElement(XMLSchemaValidator.java:710)
         at weblogic.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:647)
         at weblogic.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1937)
         at weblogic.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:851)
         at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1008)
         at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
         at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
         at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
         at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
         at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
         at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
         at weblogic.xml.jaxp.WebLogicParser.parse(WebLogicParser.java:67)
         at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:137)
         at weblogic.j2ee.dd.xml.J2EEDeploymentDescriptorLoader_J2EE12.process(J2EEDeploymentDescriptorLoader_J2EE12.java:147)
         at weblogic.j2ee.dd.xml.DDUtils.processXML(DDUtils.java:369)
         at weblogic.j2ee.dd.xml.DDUtils.processXML(DDUtils.java:322)
         at weblogic.j2ee.dd.xml.DDUtils.loadStdDescriptor(DDUtils.java:217)
         at weblogic.j2ee.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:181)
         at weblogic.j2ee.J2EEApplicationContainerFactory.createMBeansForEar(J2EEApplicationContainerFactory.java:539)
         at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:493)
         at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:854)
         at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:69)
         at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1532)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1523)
         at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:192)
         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:324)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:754)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:733)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1560)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1528)
         at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:988)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:946)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:954)
         at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
         at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1139)
         at weblogic.management.console.actions.mbean.ApplicationDeployAction.prePerform(ApplicationDeployAction.java:179)
         at weblogic.management.console.actions.mbean.DoMBeanWizardAction.perform(DoMBeanWizardAction.java:215)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:173)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    >
    Any idea why this error is given and how to solve it? I don't think there is an error in my application, because it runs fine on Orion server.
    The error is in a jar with:
    -14 entity beans
    -2 session beans with a relation to the entity beans
    -session beans also with a relation to the other, but removing this relation does not help.

    I've hit assertion errors before. There is only one way I know of to isolate them.
    Create a copy of your work so you don' disturb what you have now (the stuff that works on Orion).
    Comment everything out of your ejb-jar and weblogic DD files so you have a trivial (e.g. one session bean) application. Add more things to the deployment one step at a time, redeploying at each step.
    Then, when you get to the components or relationships
    that cause the assertion failure, delete things one by one until you have the smallest number of components that cause the problem.
    Then contact weblogic. If you aren't the first person who hit the problem, and ask nicely, they may cut a little patch for you containing code with the fix.
    Not hard for them if they already did it for somebody else. Takes a lot longer if they actually have to
    figure out what to fix first (and you best have a paid up support contract if it is a new problem).

Maybe you are looking for

  • How do I add a 5th photo to be viewed in a scrolling slideshow while still keeping it 4 photos long?

    I am not sure if this really makes sense. But I am working with a template in Dreamweaver and the template has a 4 picture vertical slideshow(attached photo). It is really not a slideshow but I do not know what else to call it. So I want to add more

  • C: drive is full - move only iTunes Media folder contents to another drive without consolidating?

    My iTunes library contains a combination of music/movies/etc that I've purchased or downloaded from the iTunes Store as well as music I've purchased from Amazon and my own ripped CDs (not ripped via iTunes...other software).  The Amazon and ripped fi

  • Not able to open raw files from my CAnon 5D mark III in PS CS6!

    I have camera raw 8.6 installed and am running photoshop cs 6.0.  All of a suddened photoshop will not open raw pictures that were shot on a CAnon 5D mark III.  Any ideas on what could be the problem.  The pictures do open in light room. Thanks Bruce

  • Samsung nx200 raw support

    I can't get Lightroom3.4.1 to read samsung's raw files.  in sRGB or adobeRGB.  This is the new NX 200.  But since it is supposed to support NX100, one would think NX 200 should be the same format. Any suggestions on how what to do.  The samsung conve

  • New Terms of Payment Requirement

    Dear Expert, We have different Terms of Payment  as per the Customer, Ex. we have terms of payment i, e. for particular customer and its working or calculate as per the our sap system but for Customer calculate days of terms of payment as the when he