Property change listener error with jtabbedpane

Greetings
I have a property change listener on my jtabbedpane (2 panes (index 0 of course and index 1). my problem is when i want to run my app it gives me a java null pointer exception. I believe it is b/c it is starting the app and it see the property change of the first tab at index 0 which is the first tab it sees and tries to run the method that makes the buttons visibility to true. but the buttons are already true. Basically how can I get the property change to run only after the app is visible? I made the buttons visibility false on startup to see if it can run the app but I still got the same error. I hope I am clear enough, if I am not please and I will attempt to reiterate the situation better. thanks for anyones help.
tabs = new JTabbedPane();
          tabs.addChangeListener(this);
          tabs.setPreferredSize(new java.awt.Dimension(800, 400));
          tabs.addTab("Q", tab1.getMa());
          tabs.addTab("R", tab2);
  public void stateChanged(ChangeEvent changeEvent) {
            JTabbedPane sourceTabbedPane = (JTabbedPane) changeEvent.getSource();
           int index = sourceTabbedPane.getSelectedIndex();
           //System.out.println("Tab changed to: " + sourceTabbedPane.getTitleAt(index)+"  Index: "+index);
           if (index==1){
                     changeButtonsF();
                         ///makes buttons false on side panel
           else if (index==0){
                changeButtonsT();
                 //makes buttons true on side panel
       }

Basically how can I get the property change to run only after the app is visible?Add the PropertyChangeListener to the tabbed pane after the JFrame is visible.
If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",
see http://homepage1.nifty.com/algafield/sscce.html,
that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.

Similar Messages

  • Listener error with dg4odbc and mysql

    Hi all,
    First of all, sorry for my English, I'm learning :-)
    I'm trying to create a dblink from oracle to mysql, but for now this seems impossible. I have read lots of manuals and post, but no way. I can connect to remote mysql server with "isql my_portal", so, unixodbc and the mysql driver for odbc are working in the server.
    The oracle database 10.2 is installed in a Red Hat 64 bits server. Due to hsodbc for 10.2 is only for 32bit i installed the gateway version for 11g without problems (no errors showed, so...) But I have always the same error: "TNS-12541: TNS:no listener dg4odbc" But my configuration seems correct. Can anyone find the error in my config? Thank you
    This is the documentation that I have used:
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=561033.1
    After apply the modifications to the configuration files, this is what lsnrcntl start says:
    Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/liste ner.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/srv-bbdd1/listener/alert/lo g.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=1.0.2.42)(PORT=1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=cl-oracle.jferrer.es)(PO RT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 16-MAR-2011 10:54:38
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/list ener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/srv-bbdd1/listener/alert/ log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=1.0.2.42)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "SQLServerA3" has 1 instance(s).
    Instance "SQLServerA3", status UNKNOWN, has 1 handler(s) for this service...
    Service "dbjde" has 1 instance(s).
    Instance "dbjde", status UNKNOWN, has 1 handler(s) for this service...
    Service "my_portal" has 1 instance(s).
    Instance "my_portal", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Then I try tnsping to my_portal:
    tnsping:
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 16-MAR-2011 11:36:45
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = localhost) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = my_portal)) (HS=OK))
    TNS-12541: TNS:no listener
    Some information:
    - unixodbc driver is in /usr/lib64 (libodbc.so)
    - mysql for odbc driver is in /usr/lib64 (libmyodbc.so)
    This is my odbc.ini (/etc/odbc.ini):
    [ODBC Data Sources]
    odbcname = my_portal
    [my_portal]
    Description = my_portal
    Driver = MySQL
    SERVER = 1.0.2.98
    PORT = 3306
    USER = root
    PASSWORD = desarrollo
    Database = portal_clientes
    [MySQL]
    Description=ODBC for MySQL
    Driver=/usr/lib64/libmyodbc.so
    Setup=/usr/lib64/libodbcmyS.so
    Added to listener.ora
    (SID_DESC =
    (SID_NAME = my_portal)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    (PROGRAM = dg4odbc)
    (ENVS = LD_LIBRARY_PATH=/u01/app/oracle/product/10.2.0/db_1/hs/lib:/u01/app/oracle/product/10.2.0/db_1/lib:/usr/lib64)
    Added to tnsnames.ora
    my_portal =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = localhost)
    (PORT = 1521)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = my_portal))
    (HS=OK))
    initmy_portal.ora
    HS_FDS_CONNECT_INFO=my_portal
    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
    HS_FDS_TRACE_LEVEL=ON
    UseCursorLib=0
    set ODBCINI=/etc/odbc.ini

    Thank you for the response. The problem was the solved when change the 1.2.0.40 to 42 :-)
    Another issue I saw is your ORACLE_HOME - did you install DG4ODBC in your 10.2 OH?Yes, the documentation said that is certified to work with Oracle 10.2.0.4 that is our version, is this a problem? (¿...?) I had no problem to install dg4odbc with the universal installer.
    But I have another problems now. I can't remember the exact error, but my first problem was solved adding this line to initmy_portal.ora:
    HS_FDS_QUOTE_IDENTIFIER="'"
    Now, when I try to make a select oracle returns this:
    ORA-00942: la tabla o vista no existe
    [MySQL][ODBC 3.51 Driver][mysqld-5.1.41-3ubuntu12.10]Table 'portal_clientes.CLIENTES' doesn't exist {42S02,NativeErr = 1146}[MySQL][ODBC 3.51 Driver][mysqld-5.1.41-3ubuntu12.10]Table 'portal_clientes.CLIENTES' doesn't exist {42S02,NativeErr = 1146}
    ORA-02063: 2 lines precediendo a MY_PORTAL_DBLINK
    The table exists, I'm sure, and if I change the query to other tables the result is the same: the table doesn't exist. Any idea?
    Thank you for the help

  • DELVRY03 (Change Delivery) - Error with Handling unit

    Hi
    I'm using idoc DELVRY03 (Inbound) to change the SAP delivery details. But, when i test it i'm landing with error "Field EXIDV empty", "Field VHILM_KU empty" : Status 51.
    But I think i dont want to use those. Any inputs on how to supress it and have a green light?

    Check whether these fields are mandatory in Delivery type configuration
    Regards
    Vinod

  • Change DB_NAME error with nid (NID-00135)

    I use the nid to change the DB_NAME but it always return the following error:
    NID-00135: there is 1 active threads
    What I do is, in dos prompt
    use sqlplus
    shutdown immediate;
    startup mount;
    exit;nid target system/password@OLDNAME DBNAME=NEWNAME SETNAME=YES
    My environment is
    Oracle 10.2.0.3 RAC in window environment.
    Can anyone help ? Thanks !

    NID-00135: There are number active threads
    Cause: is that the database crashed the last time it was shut down.
    Action: Ensure that all threads are closed before retrying the operation. Start and open the database to perform crash recovery, then shut down with the NORMAL or IMMEDIATE options to close it cleanly. Finally, try running the utility again.
    Is it possible, second instance is still running?
    Werner

  • Change Mouse Cursor with JTabbedPane

    Case:
    I have a JTabbedPane with many tabs
    Need:
    i want to change the mouse cursor when i want to select one of my tabs
    Problem:
    I want to know how i add this mouse event on the tab only not to whole tabbedpane
    Thanks,

    I don't think that you need events at all. If you have a JPanel that is your tab, the just do.......
    panel.setCursor(new Cursor(Cursor.HAND_CURSOR));
    Then whenever the mouse is over that panel, you will have the cursor that was defined. You can set the cursor on an Component.

  • TNS:no listener error with dblink

    I am able to connect to oracle database 10g machine from other machine with oracle 8i then I have create dblink in 8i machine but when I am accessing 10G database it is giving me error
    for example select count(*) from t_cons@orcl
    ORA-12541: TNS:no listener
    is it a version issue or something else?

    Thanks Dushyant.
    following is the result of query
    SQL> select value from v$parameter where name='global_names';
    VALUE
    TRUE
    SQL> select global_name from global_name;
    GLOBAL_NAME
    JBPONM.US.ORACLE.COM
    one thing I have noticed that when I am connecting to database server with same
    hostname & dbname then there is no problem but when hostname & dbname is
    different then it is not connecting through dblink.
    I have gone through oracle doc but no where it is mentioned that both should be same.

  • Listener shutdown with linux error 29 : ilegal seek

    Hi, everybody and some gurus
    I'm using VMware ESX server. I have successfully installed Oracle 10g R2 over Fedora 7. Then I made a clone of this server. After changing name and IP Oracle listener crashes with linux error : 29 : Illegal seek.
    After several unsuccessful tries i reinstalled Oracle SW. NO GO! Still got
    $ lsnrctl start
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 03-JAN-2008 12:07:04
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Starting /oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
    TNS-12537: TNS:connection closed
    TNS-12560: TNS:protocol adapter error
    TNS-00507: Connection closed
    Linux Error: 29: Illegal seek
    $
    Any ideas?

    I assume you did the changes to listener.ora as well..?

  • Install RAC 11g2 : DBCA error with listener

    I get this error while create database with DBCA in RAC 11g2 installation.
    ORA-00119: invalid specification for system parameter REMOTE_LISTENER
    ORA-00132: syntax error or unresolved network name 'rac-scan.edu.vn:1521'
    My scan listener :
    [oracle@vm01 admin]$ srvctl config scan_listener
    SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521
    SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1521
    [oracle@vm01 admin]$ srvctl status scan_listener
    SCAN Listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node vm02
    SCAN Listener LISTENER_SCAN2 is enabled
    SCAN listener LISTENER_SCAN2 is running on node vm01
    [oracle@vm01 admin]$ srvctl status scan
    SCAN VIP scan1 is enabled
    SCAN VIP scan1 is running on node vm02
    SCAN VIP scan2 is enabled
    SCAN VIP scan2 is running on node vm01
    [oracle@vm01 admin]$ srvctl config scan
    SCAN name: rac-scan.edu.vn, Network: 1/10.10.10.0/255.255.255.0/eth2
    SCAN VIP name: scan1, IP: /rac-scan.edu.vn/10.10.10.250
    SCAN VIP name: scan2, IP: /rac-scan.edu.vn/10.10.10.251
    So thanks
    Chuong

    I've had a very similar problem with DBCA and creation of an 11.2.0.3 database and this ORA-00119:Invalid specification for system parameter REMOTE_LISTENER ORA-00132: syntax error or unresolved network name 'orapscan:1521'.
    The solution to my problem was that on the host (a production host) that I was trying to execute DBCA from if I did a 'tnsping orapscan' it did not resolve.
    On our development host a 'tnsping oradscan' (oradscan is the scan equivalent in dev for our production equivalent orapscan) it resolves ok.
    ie.
    13:22:15[oracle@euxq10 [eu11d] ~]$tnsping oradscan
    TNS Ping Utility for Linux: Version 11.2.0.3.0 - Production on 08-APR-2013 13:22:20
    Copyright (c) 1997, 2011, Oracle. All rights reserved.
    Used parameter files:
    /apps/oracle/network/sqlnet.ora
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTOCOL=TCP)(HOST=10.3.55.34)(POR..... etc.....
    In this case, it is resolved from EZCONNECT.
    This then led us to look at the sqlnet.ora on both our development and production environments, and this is where we found a difference.
    In our development environment in sqlnet.ora, we had -
    NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT)
    But in our production environment in sqlnet.ora we had -
    NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES)
    Thus when we changed our sqlnet.ora in our production environment to include EZCONNECT - ie.
    NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT)
    Then when we retried the DBCA create, we did not receive this ORA-00119 / ORA-00132 error with parameter REMOTE_LISTENER.
    Anyway, this was the solution to my problem. Hope it helps others.
    Regards,
    Roger

  • Error on commit: Another user has changed the row with primary key : Rec_10

    i am using jdev 11g R2
    i implemented a master form and two detail tables on a jspx page
    added createInsert, commit and rollback buttons
    actions from these buttons all are executed from a bean
    for entity attributes: refresh after insert and update are marked as checked
    i am using login page for authorizing the user by getting the user information from user table
    and then using the userid i am applying the setVisible property on some components at bean code
    when i am inserting a new row there is no problem, here i am generating the new id like 'Rec_10', using a database sequence
    but when i am trying to update a current record, it is showing the error --> Error on commit: JBO-25014: Another user has changed the row with primary key oracle.jbo.Key[Rec_22 ]
    on clicking the commit button and also it is not updating the record on database
    Thanx in Advance
    kumar
    Edited by: user10922309 on Nov 18, 2009 3:25 AM
    Edited by: user10922309 on Nov 18, 2009 4:28 AM

    Hi John
    thnq for your quick responce.
    here are the attribute details:
    Attribute Name: RecID, Type: String, Value Type: Expression, Value: 'Rec_' + (new oracle.jbo.server.SequenceImpl("Rec_SEQ_AN", object.getDBTransaction())).getSequenceNumber()
    Updatable: While New and Primary Key, Queryable, Persistent, Mandatory, Refresh After: Update, Refresh After: Update and Insert are markded as checked
    error details:
    oracle.jbo.RowInconsistentException: JBO-25014: Another user has changed the row with primary key oracle.jbo.Key[APP_22 ].
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:1062)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:548)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:7762)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:5554)
         at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:6057)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6229)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3127)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2935)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1991)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2233)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1580)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1404)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1289)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2120)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:693)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:217)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:201)
    --> at Index.saveApplicationAll(Index.java:6246)
         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)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:673)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         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.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         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)
    --> on click commit button Index.saveApplicationAll method will invoked.
    Thats it.
    Kumar
    Edited by: user10922309 on Nov 18, 2009 4:32 AM

  • BUG: Changing "alpha" with AS breaks other property changes on timeline

    I've discovered a bug in AS3 where a Movie Clip that spans 2 different frames, but its properties are different in each frame (i.e. it has been repositioned on the 2nd frame but the instance name is the same), and the MC's alpha is changed using ActionScript prior to moving the timeline from one frame to the other, the timeline moves, but the MC does NOT actually move.
    I'm experiencing this error in a professional project that I'm working on so I cannot post the actual FLA, but here is a little mock up that I made:
    stop()
    currentFrameTxt.text = currentLabel
    var alphaChange:Number = .1
    var alphaMax:Number = 1
    var alphaMin:Number = 0
    alphaUpBtn.addEventListener(MouseEvent.CLICK, alphaUp)
    function alphaUp(evt:MouseEvent) {
        box.alpha += alphaChange
        if (box.alpha > alphaMax) {
            box.alpha = alphaMax
    alphaDownBtn.addEventListener(MouseEvent.CLICK, alphaDown)
    function alphaDown(evt:MouseEvent) {
        box.alpha -= alphaChange
        if (box.alpha < alphaMin) {
            box.alpha = alphaMin
    leftBtn.addEventListener(MouseEvent.CLICK, gotoLeft)
    function gotoLeft(evt:MouseEvent) {
        if (currentLabel != "left") {
            gotoAndStop("left")
        currentFrameTxt.text = currentLabel
    rightBtn.addEventListener(MouseEvent.CLICK, gotoRight)
    function gotoRight(evt:MouseEvent) {
        if (currentLabel != "right") {
            gotoAndStop("right")
        currentFrameTxt.text = currentLabel
    On Frame 1 (labeled "left") is an MC with the instance name "box" and the box's position is on the left side of the stage. On Frame 11 (labeled "right") is the same instance "box", but its position has been moved to the right side of the stage.
    I have a pair of buttons ('leftBtn" and "rightBtn") that toggle the timeline between the "left" frame and the "right" frame.
    I also have a pair of buttons ("alphaUpBtn" and "alphaDownBtn") that change the box's "alpha" property.
    If you click "leftBtn" or "rightBtn" before you click the "alphaUp" or "alphaDown" buttons, the box moves left or right as one would expect. BUT if you click either "alphaUpBtn" or "alphaDownBtn", the box does NOT move if you then click "leftBtn" or "rightBtn" even though the timeline is indeed moving (which I am confirming using the "currentFrameTxt" dynamic text box).
    I have tried this example by changing other properties on the 2 frames and they too stop working once you change the "alpha" using AS. I have also tried change other propeties using AS, but alpha is the only property to breaks the other properties changed by moving the timeline.
    Why would changing the "alpha" property suddenly break all other property changes on the timeline?
    Now I know that one work-around for this bug is to simply change the box's position dynamically by setting the x and y positions, but this is NOT an option for this project because it is very important that the client be able to manually position the artwork on each frame by hand.
    This is a serious bug and I'm wondering if anyone else has encountered it before and if they know of a viable workaround.

    I did some more testing by changing other properties of the box with AS and it appears that for most properties, like alpha, x, y, rotation, width, height, etc, if they are changed with AS, then the properties of the MC can no longer be changed by the timeline settings. Changing the "visible" property has no effect, however.
    It seems that this "bug" is not really bug so much as it is a fundamental misunderstanding on my part about the fact that you CANNOT change the properties of a symbol using BOTH ActionScript and timeline properties. I can only change the properties of using either the timeline OR ActionScript because as soon as I change the properties using AS, the MC becomes an AS-controlled object and can no longer be controlled via the timeline. I guess that makes sense, but it is frustrating nonetheless.
    Colin, your suggestion to nest the MC inside another MC is indeed a successful workaround, at least for this little box example (see fixed FLA attached with the "left" and "right" timeline property changes nested inside the box itself) and I will see if it is a viable solution for my actual application. I'm guessing it will not be a problem for my client to simply navigate inside a parent MC in order to adjust the positions of the now-nested MC in question.
    Thanks for the help.

  • While trying to change a BOM with transaction CS02, a runtime error appears

    While trying to change a BOM with transaction CS02, a runtime error appears.
    In intial screen he entered material ,plant BOM usage and date valid from  after executed then id displayed item list in that he wantu2019s delete one item, he has been deleted selected item after that when he was saving he is getting runtime error
    Developer trace
    ABAP Program SAPLKED1_WRITE_CE4_BPS1                 .
    Source LKED1_WRITE_CE4_BPS1U01                  Line 30.
    Error Code SAPSQL_ARRAY_INSERT_DUPREC.
    Module  $Id: //bas/640_REL/src/krn/runt/absapsql.c#17 $ SAP.
    Function HandleRsqlErrors Line 775.
    RABAX: level LEV_RX_STDERR completed.
    RABAX: level LEV_RX_RFC_ERROR entered.
    RABAX: level LEV_RX_RFC_ERROR completed.
    RABAX: level LEV_RX_RFC_CLOSE entered.
    RABAX: level LEV_RX_RFC_CLOSE completed.
    RABAX: level LEV_RX_IMC_ERROR entered.
    RABAX: level LEV_RX_IMC_ERROR completed.
    RABAX: level LEV_RX_DATASET_CLOSE entered.
    RABAX: level LEV_RX_DATASET_CLOSE completed.
    RABAX: level LEV_RX_RESET_SHMLOCKS entered.
    RABAX: level LEV_RX_RESET_SHMLOCKS completed.
    RABAX: level LEV_RX_ERROR_SAVE entered.
    RABAX: level LEV_RX_ERROR_SAVE completed.
    RABAX: level LEV_RX_ERROR_TPDA entered.
    RABAX: level LEV_RX_ERROR_TPDA completed.
    RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
    RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
    RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
    RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
    RABAX: level LEV_RX_END entered.
    RABAX: level LEV_RX_END completed.
    RABAX: end RX_RFC
    In sm21
    Perform rollback
    Run-time error "SAPSQL_ARRAY_INSERT_DUPREC" occurred
         Short dump "090618 110101 donalda 11557 " generated
    Runtime Error          SAPSQL_ARRAY_INSERT_DUPREC
    Exception              CX_SY_OPEN_SQL_DB
           Occurred on     18.06.2009 at   11:01:01
    The ABAP/4 Open SQL array insert results in duplicate database records.
    What happened?
    Error in ABAP application program.
    The current ABAP program "SAPLKED1_WRITE_CE4_BPS1" had to be terminated because
    one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    What can you do?
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Error analysis
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
    neither
    caught nor passed along using a RAISING clause, in the procedure
    "RKE_WRITE_CE4__BPS1" "(FUNCTION)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    If you use an ABAP/4 Open SQL array insert to insert a record in
    the database and that record already exists with the same key,
    this results in a termination.
    (With an ABAP/4 Open SQL single record insert in the same error
    situation, processing does not terminate, but SY-SUBRC is set to 4.)
    How to correct the error
    The exception must either be prevented, caught within the procedure
    "RKE_WRITE_CE4__BPS1"
    "(FUNCTION)", or declared in the procedure's RAISING clause.
    To prevent the exception, note the following:
    Use an ABAP/4 Open SQL array insert only if you are sure that none of
    the records passed already exists in the database.
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "SAPSQL_ARRAY_INSERT_DUPREC" CX_SY_OPEN_SQL_DBC
    "SAPLKED1_WRITE_CE4_BPS1" or "LKED1_WRITE_CE4_BPS1U01"
    "RKE_WRITE_CE4__BPS1"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
       To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
       To obtain this, call the system log with Transaction SM21
       and select the "Print" function to print out the relevant
       part.
    3. If the programs are your own programs or modified SAP programs,
       supply the source code.
       To do this, you can either use the "PRINT" command in the editor or
       print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
       or which actions and input led to the error.

    Hi ,
    you are getting beacuse u are trying to do mass update to database.
    Please check that below note are applicable to your system.
    Note 453313 - DBIF_RSQL_ERROR_INTERNAL for mass insert
    Note 869534 - AFS MRP doesn't work properly with all BOM item categories
    Thanks Rishi Abrol

  • Installed ES - Error when loading adminui: Property Editor not registered with the PropertyEditorManager

    I just installed LiveCycle ES on a Windows 2003 virtual machine using the WebSphere application server.
    Everything is finally installed, but now when I try to access the adminui url (http://xxxxx:9080/adminui/login.faces) I receive the following exception:
    Error 500: com.ibm.ws.jsp.JspCoreException: Unable to convert string 'adminUIResources' to class javax.el.ValueExpression for attribute basename: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager
    Am I missing something?  What now?

    You shouldn't have any appserver specific libraries in WEB-INF/lib (covered by the webapp's default classpath). Further on the appserver/lib (covered by the appserver's default classpath) should only contain appserver specific libraries and at highest 3rd party libraries which are going to be shared among all webapps. Finally you should NOT have added or modified anything in the jdk/lib (covered by the runtime's default classpath).
    So in case of a default and unmodified environment everything should just work flawlessly. In your specific case it seems that you've unnecessarily added/copied appserver specific libraries in the WEB-INF/lib or that you have duplicated EL libraries from (another) appserver in the appserver/lib or maybe -more worse- in the jdk/lib.

  • Urgent: Servlets -- property change error

              I am new to Servlets and I have the following problem
              I installed web logic server 5.1 on win 98, the installation was successful and the web server is up and running.
              I wrote a small servlet and saved in the weblogic/myserver/servletclasses directory.
              I started the server console and tried to load the Servlet and got the following error:
              Property change error for property "Load"
              Unable to load servlet.
              Please help me resolving this issue.
              Please let me know if I need to set some properties.
              Thanks
              

    Basically how can I get the property change to run only after the app is visible?Add the PropertyChangeListener to the tabbed pane after the JFrame is visible.
    If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",
    see http://homepage1.nifty.com/algafield/sscce.html,
    that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.

  • Attribute Change Run aborted with an error :Not all data indexed for index

    Hi,
    I have an issue where the master data Attribute Change Run  aborted with an error pointing to the BWA:
    Attribute Change Run aborted with an error :Not all data indexed for index
    we tried to load only 0 data into it,the error still occured.

    Detail message is following:
    not all data was indexed for index 'GBP_BIC:XYCH_098('0' for '114')
    creation of The BIA INDEX for infocube 'YBC_SD015' terminated while filling

  • Help with updates - The software change returned error code 0x87D00215(-2016411115).

    I have rolled out bunch of updates across few hundred workstation systems.
    Few of the desktops have failed to install SOME of the updates and just can't get my head around as to why?
    Looking at one of the workstations, I can see 5 updates are pending download at 0%.
    Some of these fail after a while and with in Software Centre, I can see 'Help with updates - The software change returned error code 0x87D00215(-2016411115).'. Not exactly sure what this means, but I have tried clearing the cache and
    rebooting the workstations few times.
    (I have also tried to use Windows Update and install one of these manually, which worked.)

    Investigating this further, I have found the following in CAS.log:
    ICcmContentTransferManager::ModifyJobPriority failed with error 0x87d00215 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    No need to change timeout settings ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Successfully created download request {ED6E9E5C-E806-43CA-9F93-49AC72D1DEAD} for content 53bf87a2-bedf-4def-b0ec-9637613c3429.1 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Requesting locations synchronously for content 99ddb078-b780-4605-8fac-9607fe56450d.1 with priority Foreground ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    The number of discovered DPs(including Branch DP and Multicast) is 1 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Calling back with the following distribution points ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Distribution Point='http://DPSERVER.com/SMS_DP_SMSPKG$/99ddb078-b780-4605-8fac-9607fe56450d', Locality='LOCAL' ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Requesting content 99ddb078-b780-4605-8fac-9607fe56450d.1, size(KB) 0, under context System with priority Foreground ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    ICcmContentTransferManager::ModifyJobPriority failed with error 0x87d00215 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    No need to change timeout settings ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Successfully created download request {67B7E59B-A386-4EA8-BF39-2EB64B108A6C} for content 99ddb078-b780-4605-8fac-9607fe56450d.1 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Requesting locations synchronously for content 61d33de7-9582-41e3-82fc-3e0f970b60f3.1 with priority Foreground ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    The number of discovered DPs(including Branch DP and Multicast) is 1 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Calling back with the following distribution points ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Distribution Point='http://DPSERVER.com/SMS_DP_SMSPKG$/61d33de7-9582-41e3-82fc-3e0f970b60f3', Locality='LOCAL' ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Requesting content 61d33de7-9582-41e3-82fc-3e0f970b60f3.1, size(KB) 0, under context System with priority Foreground ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    ICcmContentTransferManager::ModifyJobPriority failed with error 0x87d00215 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    No need to change timeout settings ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Successfully created download request {12E48136-B545-4C42-9745-9FF97CE38D52} for content 61d33de7-9582-41e3-82fc-3e0f970b60f3.1 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)

Maybe you are looking for

  • M_View failed inrefresh throws error: ORA-12008/ORA-01843:not a valid month

    I am not able to refresh this matrialized view in 2 databases.Can some one help please ====================================================== SQL> exec dbms_refresh.refresh('OID_SYNCH.OID_SYNCH_EMPLOYEES_HR'); BEGIN dbms_refresh.refresh('OID_SYNCH.OI

  • Please Help - Photoshop Freezing Up!

    Hi, I have Photoshop CS2 Windows installed on Windows 7 laptop. I open Photoshop and it is getting worse. I was able to work fine a few days ago but now if I even resize a window or start to paint I get a ``not responding`` and Photoshop freezes. Any

  • Ultra 10 won't boot from CD

    I am trying to load an OS(Solaris 9) on an Ultra 10 and it will not let me. I keep getting: Short disk read The file just loaded does not appear to be executable. It does this with any burned CD. I have tried Linux, Solaris 8 and Solaris 9. I have no

  • Problem with Idoc Mapping

    Hi, Target field is : Bank Address 1: Source mapping: it is a Idoc with the following requirements IF E1IDB02 BA-FIIKWAER = CNY and LEN(E1IDB02 BB-FIIBKNAM)<=11       then MID(E1IDB02 BB-FIIBKNAM,2,10) IF E1IDB02 BA-FIIKWAER = CNY and LEN(E1IDB02 BB-

  • PLAYBOOK WILL NOT ALLOW CONNECTION TO BRIDGE

    Hello to you all, Just purchased a Playbook and powered it up ... it went directly to a wi-fi set up screen and it detected my husband's wi-fi, which I don,t want to connect with. I want to use my Blackberry cell phone to connect with Blackberry Brid