WTK 2.5 bug - jsr234, commit

I was testing CommitControl.setDeferred(false) and noticed that this api doesn't make pending changes to the Spectator. Is this a bug? Is the Spectator not considered a 'control' of the GlobalManager? It is the only place to obtain the listener, and when deferred mode is true the changes to the listener do not have an immediate effect. If this is a bug, can we get a patch somewhere?
"The CommitControl affects the parameters for these controls on the GlobalManager and all the SoundSource3D objects.
public void setDeferred(boolean deferred)
When switching back from the deferred mode to the immediate mode (setDeferred(false)) all the pending parameters from the buffer are transmitted to the audio processing system automatically."
Thanks.

sound is to left of listener.
press 5 to turn on deferred mode
press 6 six times to move sound to the right
press 5 - should commit the changes, but audio still on the left
press 0 - changes are actually committed and sound is now heard from the right
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
import javax.microedition.media.*;
import javax.microedition.media.control.*;
import javax.microedition.amms.*;
import javax.microedition.amms.control.*;
import javax.microedition.amms.control.audio3d.*;
import javax.microedition.amms.control.audioeffect.*;
public class MoveCommit extends MIDlet implements CommandListener {
private MainCanvas myCanvas;
private Display myDisplay;
     CommitControl com;
     LocationControl loc;
     SoundSource3D ss3d;
     Spectator man;
     Player p;
     static int FACTOR = 1000; //convert to mm
public MoveCommit() {
myCanvas = new MainCanvas();
myDisplay = Display.getDisplay(this);
     init();
public void startApp() throws MIDletStateChangeException {
myDisplay.setCurrent(myCanvas);
public void pauseApp() {
public void destroyApp(boolean unconditional) {
public void commandAction(Command c, Displayable s) {
myDisplay.setCurrent(myCanvas);      
myCanvas.repaint();
class MainCanvas extends Canvas
public void paint(Graphics g)
public void keyPressed (int key)
          int[] pos = loc.getCartesian();
          int x=pos[0] / FACTOR;
          int y=pos[1] / FACTOR;
          int z=pos[2] / FACTOR;
          if (key == Canvas.KEY_NUM5)
               if (com.isDeferred())
                    System.out.println("----automatically committing changes----");
                    com.setDeferred(false);
                    System.out.print("position now: ");
                    report();
                    System.out.println();
               else
                    com.setDeferred(true);
                    System.out.print("last known parameters: ");
                    report();
                    System.out.println();
          else if (key == Canvas.KEY_NUM0)
               System.out.println("--force commit--");
               com.commit(); //auto-commit may not be working in WTK2.5 Beta
               System.out.print("position now: ");
               report();
               System.out.println();
else
               moveXY(key,x,y,z);
          repaint();
} //end keypressed()
     void moveXY(int key, int x, int y, int z)
     if (key == Canvas.KEY_NUM1)
     {   //move
               loc.setCartesian((x-1)*FACTOR,(y+1)*FACTOR,z*FACTOR);
     else if (key == Canvas.KEY_NUM2)
     {   //move
               loc.setCartesian(x*FACTOR,(y+1)*FACTOR,z*FACTOR);
     else if (key == Canvas.KEY_NUM3)
     {   //move
               loc.setCartesian((x+1)*FACTOR,(y+1)*FACTOR,z*FACTOR);
     else if (key == Canvas.KEY_NUM4)
               loc.setCartesian((x-1)*FACTOR,y*FACTOR,z*FACTOR);
     else if (key == Canvas.KEY_NUM6)
     {   //move
               loc.setCartesian((x+1)*FACTOR,y*FACTOR,z*FACTOR);
     else if (key == Canvas.KEY_NUM7)
               loc.setCartesian((x-1)*FACTOR,(y-1)*FACTOR,z*FACTOR);
     else if (key == Canvas.KEY_NUM8)
     {   //move
               loc.setCartesian(x*FACTOR,(y-1)*FACTOR,z*FACTOR);
     else if (key == Canvas.KEY_NUM9)
     {   //move
               loc.setCartesian((x+1)*FACTOR,(y-1)*FACTOR,z*FACTOR);
     void report()
          int[] pos = loc.getCartesian();
          System.out.println( "X="+pos[0]/FACTOR+
" Y="+pos[1]/FACTOR+
" Z="+pos[2]/FACTOR);
     void init()
          try
               p = Manager.createPlayer(getClass().getResourceAsStream("helicopter.wav"), "audio/x-wav");
               p.realize();
               p.setLoopCount(-1); //loop forever
               ss3d = GlobalManager.createSoundSource3D();
               ss3d.addPlayer(p);
               p.start();
               loc = (LocationControl)ss3d.getControl("javax.microedition.amms.control.audio3d.LocationControl");
               com = (CommitControl)GlobalManager.getControl("javax.microedition.amms.control.audio3d.CommitControl");
               loc.setCartesian(-3*FACTOR,0,0); //place object to the left of the listener
               System.out.println("Initialized.");
               report();
          catch (Exception e) {System.out.println(e); }
} //end midlet

Similar Messages

  • Format of CSV file generated through iBot

    What is the default format of csv file generated through iBot (UNICODE / UTF) ?
    How can we configure a single iBot to generate CSVs, for example, in UTF format instead of UNICODE (assuming UNICODE is default).
    -Jimit

    Use this
    https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=324436281886916&type=DOCUMENT&id=1459947.1&displayIndex=1&_afrWindowMode=0&_adf.ctrl-state=130oxyc5cv_71
    Content:
    Goal
    Currently the CSV format in Agents always delivers the report results in tab delimited CSV. Is there a setting that can make the report result in a comma delimited CSV format when the reports are setup via Agents/iBots?
    Fix
    There is no setting that would make CSV output from an iBot be comma delimited as opposed to the tab delimited output from the web UI.
    There is an enhancement request for this functionality. for more information, see bug 13802667 - COMMA DELIMITED CSV FORMAT FOR AGENTS/IBOTS has been logged to include this feature in future release.
    As a work-around, you can to run a custom script from an Agent to convert tabs to commas. See chapter 4 (http://docs.oracle.com/cd/E21764_01/doc.1111/e18562/schedjobscripts.htm#BABGFBBD) of Oracle® Fusion Middleware Scheduling Jobs Guide for Oracle Business Intelligence Enterprise Edition 11g Release 1 (11.1.1) Part Number E18562-01 for more information on writing custom scripts.
    If helps pls mark

  • Designer Install error - 9iDS

    While installing the Designer repository I received the below errors... Any suggestions
    Message
    ORA-04068: existing state of packages has been discarded
    Cause
    One of errors 4060 - 4067 when attempt to execute a stored procedure.
    Action
    Try again after proper re-initialization of any application's state.
    Message
    ORA-04063: package body "SLM.JR_WORKAREA" has errors
    Cause
    Attempt to execute a stored procedure or use a view that has errors. For stored procedures, the problem could be syntax errors or references to other, non-existent procedures. For views, the problem could be a reference in the view's defining query to a non-existent table.
    Can also be a table which has references to non-existent or inaccessible types.
    Action
    Fix the errors and/or create referenced objects as necessary.
    Message
    ORA-06508: PL/SQL: could not find program unit being called
    Cause
    Action
    Message
    ORA-06512: at line 108
    Cause
    Backtrace message as the stack is unwound by unhandled
    exceptions.
    Action
    Fix the problem causing the exception or write an exception handler for this condition. Or you may need to contact your application administrator or DBA.
    Message
    RME-02124: Failed to execute SQL statement:
    DECLARE
    wkarea_irid number;
    rtn_id number;
    comment varchar2(100);
    l_SUPPORTS_DESIGNER varchar2(1);
    l_SUPPORTS_JDEVEE varchar2(1);
    BEGIN
    dbms_output.enable(1000000);
    -- Added for Bug 1326447
    update ck_installed_objects
    set ci_created = 'N'
    where ci_stage='CKGLBWRK';
    -- End addition for Bug 1326447
    select SUPPORTS_JDEVEE
    , SUPPORTS_DESIGNER
    into l_SUPPORTS_JDEVEE
    , l_SUPPORTS_DESIGNER
    from rm$repositories;
    -- Create a Shared WorkArea called GLOBAL SHARED WORKAREA
    dbms_output.put_line('* Creating Shared WorkArea named GLOBAL SHARED WORKAREA' );
    comment := 'Global Shared Workarea for a Non-Versioned Repository';
    wkarea_irid := jr_workarea.create_workarea( user,
    'GLOBAL SHARED WORKAREA',
    comment,
    'SHARED');
    -- Added to Fix 1132361 need to grant access on WA to PUBLIC so that subordinates can connect to it
    rtn_id := jr_acc_rights.ins( wkarea_irid
    , 'WA'
    , sdd_acc_priv_list('Y', -- 'Delete'
    'N', -- 'Administrate'
    'Y', -- 'Insert'
    'Y', -- 'Select'
    'Y', -- 'Update'
    'N', -- 'Version'
    'N', -- 'Compile'
    'N') -- 'Update Spec'
    , 'PUBLIC');
    -- Revoke access rights from workarea
    dbms_output.put_line('* Revoking Configuration Management and Version Control access rights from GLOBAL SHARED WORKAREA');
    update sdw_access_rights
    set access_privs = sdd_acc_priv_list('Y', -- 'Delete'
    'Y', -- 'Administrate'
    'Y', -- 'Insert'
    'Y', -- 'Select'
    'Y', -- 'Update'
    'N', -- 'Version'
    'N', -- 'Compile'
    'N') -- 'Update Spec'
    where object_type = 'WA'
    and object_reference = wkarea_irid;
    -- Revoke system privileges from repository owner
    dbms_output.put_line('* Revoking Configuration Management and Version Control system privileges');
    update sdw_users
    set system_privs = sdd_sys_priv_list('N', -- 'Manage Workarea'
    'N', -- 'Manage Configuration'
    'Y', -- 'Manage Container'
    'Y', -- 'Manage User'
    'N', -- 'Manage Branch Label'
    'Y', -- 'Manage Dependency'
    'N', -- 'Manage VVC' ** NOT USED **
    'Y', -- 'Register Schema'
    'Y', -- 'Set Policy'
    'N', -- 'Purge'
    'Y', -- 'Force Delete'
    'N', -- 'Global Purge'
    'Y', -- 'Connect via Repository Object Navigator'
    'Y', -- 'Connect via Repository Adminstration Utility'
    'Y', -- 'Connect via Matrix Diagrammer'
    'Y', -- 'Connect via Repository Reports'
    'Y', -- 'Connect via Command Line Interface'
    'N', -- 'Connect via Version History Viewer'
    'N') -- 'Connect via Version Event Viewer'
    where username = user
    and sdd_owner = 'Y';
    -- if we have got this far evereything should have worked correctly
    -- update ck_installed_objects to reflect this
    -- Added for Bug 1326447
    update ck_installed_objects
    set ci_created = 'Y'
    where ci_stage='CKGLBWRK';
    -- End addition for Bug 1326447
    commit;
    dbms_output.put_line('* Operation Complete');
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line('* Exception Raised ');
    dbms_output.put_line('...ERROR: '||substr(sqlerrm,1,240));
    rollback work;
    Cause
    An error occurred while executing a SQL statement.
    Action
    Examine reported errors for specific details.

    I am not sure what kinda privileges you gave for the new user you created to install Oracle Designer. Basically, it requires EXECUTE_CATALOG_ROLE.
    Try this:
    1. Login as SYS.
    2. GRANT EXECUTE ON DBMS_LOCK to designer_user
    3. Login as designer_user
    4. Compile JR_WORKAREA
    It should work.
    HTH,
    Allwyn

  • Feedback deferred constraint is incorrect in sql developer 2.1.0.63.41

    In the earlier 2.1.0.63 the set contraint didnt work entirely in sql developer.
    In this new release the set constraint can be executed and it works, however when you violate a constraint there is no feed back.
    example:
    I create the following table and insert 2 rows
    CREATE TABLE d_orafout
    ( code NUMBER CONSTRAINT d_codepk PRIMARY KEY DEFERRABLE,
    message VARCHAR2(50))
    INSERT INTO d_orafout VALUES(904,'invalid table name')
    INSERT INTO d_orafout VALUES(903,'invalid column name')
    Then i execute:
    set constraint d_codepk deferred;
    set succeeded.
    Then an update that violates the primary key:
    update d_orafout set code = 903 where message = 'invalid table name';
    1 rows updated
    Then when i commit i should get the following error (which works fine in SQL*Plus):
    ORA-02091: transaction rolled back
    ORA-00001: unique constraint (NWG806.D_CODEPK) violated
    However the commit gives me the following output:
    commit;
    commited
    The transaction is not commited, it is rolledback but i dont get the error i need.

    Hi <please supply your name>,
    Thanks for this feedback,
    I have replicated this issues and I have logged a bug.
    Bug 9201183 - COMMIT REPORTING COMMIT INCORRECTLY WHEN USED WITH SET CONSTRAINT DEFERRED
    Regards,
    Dermot.
    SQL Developer Team

  • Designer won't install

    Designer won't install . ( . . . but then , it's an Oracle product, so what's new ? !!)
    Here is the mess - how do I fix it ?
    Message
    ORA-04063: package body "DESIGNER.JR_WORKAREA" has errors
    Cause
    Attempt to execute a stored procedure or use a view that has
    errors. For stored procedures, the problem could be syntax errors
    or references to other, non-existent procedures. For views,
    the problem could be a reference in the view's defining query to
    a non-existent table.
    Can also be a table which has references to non-existent or
    inaccessible types.
    Action
    Fix the errors and/or create referenced objects as necessary.
    Message
    ORA-06508: PL/SQL: could not find program unit being called: "DESIGNER.JR_WORKAREA"
    Cause
    Action
    Message
    ORA-06512: at line 108
    Cause
    Backtrace message as the stack is unwound by unhandled
    exceptions.
    Action
    Fix the problem causing the exception or write an exception
    handler for this condition. Or you may need to contact your
    application administrator or DBA.
    Message
    RME-02124: Failed to execute SQL statement:
    DECLARE
    wkarea_irid number;
    rtn_id                number;
    comment varchar2(100);
    l_SUPPORTS_DESIGNER varchar2(1);
    l_SUPPORTS_JDEVEE varchar2(1);
    BEGIN
    dbms_output.enable(1000000);
    -- Added for Bug 1326447
    update ck_installed_objects
    set ci_created = 'N'
    where ci_stage='CKGLBWRK';
    -- End addition for Bug 1326447
    select SUPPORTS_JDEVEE
    , SUPPORTS_DESIGNER
    into l_SUPPORTS_JDEVEE
    , l_SUPPORTS_DESIGNER
    from rm$repositories;
    -- Create a Shared WorkArea called GLOBAL SHARED WORKAREA
    dbms_output.put_line('* Creating Shared WorkArea named GLOBAL SHARED WORKAREA' );
    comment := 'Global Shared Workarea for a Non-Versioned Repository';
    wkarea_irid := jr_workarea.create_workarea( user,
    'GLOBAL SHARED WORKAREA',
    comment,
    'SHARED');
    -- Added to Fix 1132361 need to grant access on WA to PUBLIC so that subordinates can connect to it
    rtn_id := jr_acc_rights.ins( wkarea_irid
                        , 'WA'
                        , sdd_acc_priv_list('Y', -- 'Delete'
                                       'N', -- 'Administrate'
                                       'Y', -- 'Insert'
                                            'Y', -- 'Select'
         'Y', -- 'Update'
         'N', -- 'Version'
         'N', -- 'Compile'
         'N') -- 'Update Spec'
                        , 'PUBLIC');
    -- Revoke access rights from workarea
    dbms_output.put_line('* Revoking Configuration Management and Version Control access rights from GLOBAL SHARED WORKAREA');
    update sdw_access_rights
    set access_privs = sdd_acc_priv_list('Y', -- 'Delete'
                                  'Y', -- 'Administrate'
                                  'Y', -- 'Insert'
                                  'Y', -- 'Select'
    'Y', -- 'Update'
    'N', -- 'Version'
    'N', -- 'Compile'
    'N') -- 'Update Spec'
    where object_type = 'WA'
    and object_reference = wkarea_irid;
    -- Revoke system privileges from repository owner
    dbms_output.put_line('* Revoking Configuration Management and Version Control system privileges');
    update sdw_users
    set system_privs = sdd_sys_priv_list('N', -- 'Manage Workarea'
                                  'N', -- 'Manage Configuration'
                                  'Y', -- 'Manage Container'
                                  'Y', -- 'Manage User'
                                  'N', -- 'Manage Branch Label'
                                  'Y', -- 'Manage Dependency'
                                  'N', -- 'Manage VVC' ** NOT USED **
                                  'Y', -- 'Register Schema'
                                  'Y', -- 'Set Policy'
                                  'N', -- 'Purge'
                                  'Y', -- 'Force Delete'
                                  'N', -- 'Global Purge'
                             'Y', -- 'Connect via Repository Object Navigator'
                                  'Y', -- 'Connect via Repository Adminstration Utility'
                                  'Y', -- 'Connect via Matrix Diagrammer'
                                  'Y', -- 'Connect via Repository Reports'
                                  'Y', -- 'Connect via Command Line Interface'
                                  'N', -- 'Connect via Version History Viewer'
                                  'N') -- 'Connect via Version Event Viewer'
    where username = user
    and sdd_owner = 'Y';
    -- if we have got this far evereything should have worked correctly
    -- update ck_installed_objects to reflect this
    -- Added for Bug 1326447
    update ck_installed_objects
    set ci_created = 'Y'
    where ci_stage='CKGLBWRK';
    -- End addition for Bug 1326447
    commit;
    dbms_output.put_line('* Operation Complete');
    EXCEPTION
    WHEN OTHERS THEN      
    dbms_output.put_line('* Exception Raised ');
    dbms_output.put_line('...ERROR: '||substr(sqlerrm,1,240));
    rollback work;
    RAISE;
    END;
    Cause
    An error occurred while executing a SQL statement.
    Action
    Examine reported errors for specific details.
    --------------------------------------------------------------------------------

    Okay, I assume you've successfully installed the Designer client and now you are trying to install the Designer repository. Have you completed the pre-requisites for installation? This includes granting some privileges to the repository owner, and making sure that you have installed an Oracle client (in a separate Oracle Home) that corresponds with your database. You have to set some Windows registry variables to point at a version of EXP and IMP that matches your database. The Repository Administration Utility has a module that checks to make sure these requirements have been met. Also, step by step instructions have been published in this forum several times. Here's a recent list:
    https://forums.oracle.com/forums/thread.jspa?messageID=9598195&#9598195
    By the way, Mark asked you what database version you are using for your repository. Please - we have a lot easier time helping you if you give as much information as you can. Finally, why are you installing an old version of Designer? Install the latest one.

  • How to distrubute java communication api ?

    hi , I have a java project using java comm api (comm.jar) I need to distrubute it to clients (because it is an applet based app) without any user interactivity.
    First I remember Webstart but somewhere I read some bugs about comm.api and webstart so I want to ask first Is there any people here used to developed and distrubute comm.api before ? What did you used ?
    My clients has no knowledge about computers,so It should be some automatic process.

    What about my suggestion in your original post regarding the same question?
    http://forum.java.sun.com/thread.jsp?thread=412320&forum=31&message=1814508

  • No commit-message (FRM-40400) == Bug in Headstart

    Hello,
    On committing on or more business rules are violated the 'message-window' appear.
    After correcting the errors and committing the changes i'm not getting the usual
    'commit-message' (FRM-40400). This only happens after on or more business rules are violated.
    This is caused by a bug in the procedure 'QMS$FORMS_ERRORS.PUSH'. Below the solution i have implemented (the complete procedure is displayed). I'm using version 6.5.4.0 of the library 'qmslib65.pll.
    PROCEDURE Push
    ( p_msg IN VARCHAR2
    , p_error IN VARCHAR2 DEFAULT 'I'
    , p_msg_type IN VARCHAR2 DEFAULT ''
    , p_msgid IN NUMBER DEFAULT 0
    , p_loc IN VARCHAR2 DEFAULT '') IS
    -- Purpose Show message to the end-user, standard procedure for the Oracle Forms
    -- Generator of Designer/2000 to pass the display and handling of a message
    -- to a user created procedure.
    -- Usage Called by the Oracle Forms Generator code
    -- Parameters : msg Text message
    -- error ERRor or WARNing
    -- msg_type ORA, API or user TLA
    -- msg_id Id of message
    -- loc Location where error occured
    -- Remarks
    v_msg VARCHAR2(2000) := p_msg;
    v_error VARCHAR2(2000) := p_error;
    v_servermsg VARCHAR2(2000) := DBMS_ERROR_TEXT;
    l_empty_errorrec hil_Message.message_rectype;
    BEGIN
    IF p_msgid != 0
    THEN
    g_errorrec.severity := p_error;
    ELSIF ((SUBSTR (v_msg, 1, 11) = 'API Error: ')) OR
    ((INSTR (v_servermsg, 'ORA-20999') <> 0) AND (v_msg IS NULL)) OR
    (INSTR (v_msg, 'ORA-20999') <> 0)
    THEN
    -- error returned from the API, just display no further action required ?
    HandleServerAPIError (p_msg);
    -- M. Kappel
    /* 11-apr-2001
    - Allow check of v_servermsg even if v_msg contains data.
    - With new-style cdm ruleframe, v_msg contains 'ORA-20998'.
    We never looked at v_servermsg because v_msg was not null.
    - With old-style database trigger business logic, v_msg contains only text.
    If we still never look at v_servermsg, we don't identify that the error is
    a 20998 and therefore we raise an alert 'Transaction Failed' instead of
    showing the 'Errors in this Transaction' window.
    -- ELSIF ((INSTR (v_servermsg, 'ORA-20998') <> 0) AND (v_msg IS NULL)) OR
    -- (INSTR (v_msg, 'ORA-20998') <> 0)
    -- THEN
    On committing on or more business rules are violated the 'message-window' appear.
    After correcting the errors and committing the changes i'm not getting the usual
    'commit-message' (FRM-40400). This only happens after on or more business rules are violated.
    When one or more business rules are violated application error ORA-20998 is raised. To
    detect this DBMS_ERROR_TEXT is used ==> DBMS_ERROR_TEXT contains ALWAYS the text of the
    LAST (dbms-)error (the text contains 'ORA-20998').
    Even when no business rules are violated it's possible that DBMS_ERROR_TEXT contains 'ORA-20998'.
    In that case no FRM-, MNU-, PLS-, SRW-, ORA- or REP-messages are displayed, because the error is
    treated as a voilation of one or more business rules. To avoid this 'v_error = E' is added to the IF-clause:
    when one or more business rule are violated this procedure is called to display an error (p_error ==> E);
    for displaying the FRM-, MNU-, PLS-, SRW-, ORA- and REP-messages this procedure is called to display an
    information (p_error ==> I).
    When Designer generates code to validate p.e. check-constraints it will call this procedure too. See the example
    below:
    IF (:FUNCTIES.MIN_LEEFTIJD < :FUNCTIES.MAX_LEEFTIJD) THEN
    NULL;
    ELSE
    qms$forms_errors.push('CBB-00219', 'E', 'OFG', 0);
    qms$forms_errors.raise_failure;
    END IF;
    In this case the procedure is called to display an error. To avoid that the error is incorecctly treated as a
    violation of one or more business rules '(p_msg_type != 'OFG' or p_msg_type is null)' is added to the IF-clause.
    ELSIF v_error = 'E'
    AND (p_msg_type != 'OFG' or p_msg_type is null)
    AND ( INSTR (v_servermsg, 'ORA-20998') <> 0
    OR INSTR (v_msg, 'ORA-20998') <> 0
    THEN
    HandleServerApplError (p_msg);
    -- error returned from the API, just display no further action required ?
    ELSIF ((INSTR (v_servermsg, 'ORA-20000') <> 0) AND (v_msg IS NULL)) OR
    (INSTR (v_msg, 'ORA-20000') <> 0)
    THEN
    -- error was raised by old Headstart code with raise_application_error
    -- strip ora-20000 : , check if code (get message) or message
    HandleOldHeadstart (v_servermsg);
    ELSIF (SUBSTR (v_msg, 1, 3) IN ('FRM', 'MNU', 'PLS', 'SRW', 'ORA', 'REP'))
    THEN
    HandleOracleError (v_msg, v_error);
    ELSE
         HandleApplError(v_msg, v_error);
    END IF;
    Display_Error (g_errorrec);
    g_errorrec := l_empty_errorrec;
    END Push;

    you can create a KEY-COMMIT form level trigger with the following :
    declare
    msglvl varchar2(3) := :system.message_level ;
    begin
    :system.message_level := 5 ;
    commit_form ;
    :system.message_level := msglvl ;
    end ;
    or put instruction : clear_message; before the commit_form ;

  • BUG: Red Eye Removal on JPGs + Auto commit to XMP

    There seems to be a bug in 1.3.1 when using the Red Eye Removal tool on JPGs and auto commit metadata to file option is selected:
    Can anyone confirm?
    This is what I've written to Adobe in a bug report:
    ******BUG******
    Concise problem statement:
    When using "Red Eye Removal Tool" on jpgs and in File->Catalog Settings->Metadata the option "Automatically write changes into XMP" is selected this will end up in a loop reading and writing metadata. The picture is always in status: "checking metadata". "Metadata Date" of file is changing from time to time because Lightroom is always saving metadata to file (modified date of the jpg file itself also changes, so something is written to file).
    Steps to reproduce bug:
    1. in File->Catalog Settings->Metadata check option "Automatically write changes into XMP"
    2. select a JPG picture and go to Develop Module
    3. use the Red Eye Removal Tool
    Results:
    Endless loop by Lightroom trying to save this change into Metadata of JPG file
    Expected results:
    Either it is not possible to store this change in metadata: then don't touch the file.
    Or it is possible, then this needs to be fixed so it is written/read correctly from file.

    The red eye tool works by selecting the whole eye not just the pupil. If it still does not work try lightening or darkening the image to gaiain some more colour. If that does not work you can clone form one of the eyes that has worked.
    Hope this helps you out.........

  • Is this a bug? create view lost a comma and succeeded

    Is this a bug? create view lost a comma and succeeded.
    oracle 10.2.0.1.0
    try the following sql.
    create table test
    id int,
    dataa varchar2(20),
    datab varchar2(20)
    insert into test values(1,'a1','a2');
    insert into test values(2,'b1','b2');
    insert into test values(3,'c1','c2');
    create view vtest
    as
    select id,dataa
    datab
    from test;
    --it should be error but successed
    select * from vtest;
    --and dataa gone!
    drop view vtest;
    drop table test purge;

    No it's not a bug, Oracle will treat "datab" as alias to "dataa" if comma left out.
    Doesn't your view has two columns id and datab, but datab column showing dataa data?

  • [svn] 4610: Commit Josh's patch for 3. x to fix bug SDK-17367 which works around an issue with Dictionary that stops ObjectUtil .toString() working with QNames.

    Revision: 4610
    Author: [email protected]
    Date: 2009-01-21 12:48:01 -0800 (Wed, 21 Jan 2009)
    Log Message:
    Commit Josh's patch for 3.x to fix bug SDK-17367 which works around an issue with Dictionary that stops ObjectUtil.toString() working with QNames.
    QE: Yes, please add a test case to ObjectUtil tests for this scenario.
    Doc: No
    Checkintests: Pass
    Bugs:
    SDK-17367 ObjectUtil.toString(QName) causes RTE
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17367
    http://bugs.adobe.com/jira/browse/SDK-17367
    Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/utils/ObjectUtil.as

    VPN-User,
    Ok - I see the list of issues and will ensure our X300 specialist takes a look at it.   
    Please do understand that while you have put together a very coherent list, I try to ensure priority to threads in which multiple customers are focused on a single issue, as we deliver the most benefit to the community in working on those.   This forum is primarly a peer to peer discussion forum rather than a Lenovo chat / tech support where we try to solve each and every issue put forth.
    Individuals with a long list of issues on a particular machine may find benefit from either contacting technical support and working through their list, or publishing it as you have done and wait for other users of the same system to share their experiences.
    Thanks for your patience
    Mark
    ThinkPads: S30, T43, X60t, X1, W700ds, IdeaPad Y710, IdeaCentre: A300, IdeaPad K1
    Mark Hopkins
    Program Manager, Lenovo Social Media (Services)
    twitter @lenovoforums
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Bug when trying to commit for the first time

    I have a bug that I tried to solve but can't find any solution till now.
    I have a table that contains many rows and from this table I can press edit or add to open a new page that I can edit or add a new record for this view
    the page that contains the table has execute with parameter as I open this table from another page
    the problem is that the first time I go to this page ('that contains the table')
    and I try to edit or add a new record and press save the form save correctly but clear itselt and fields appear as read only fields "the for doesn't save its state"
    but if I press roll back for example and go to form the contains the table and come back to add or edit a record the page works correctly with no problem.
    how can I fix this.

    No there is nothing in this page
    but the page I call this page from (parent Page) have execute with param on the page binding.
    I added commit to the parent page and added call to this commit on Prepare Modle .
    and this fixed my issue but I don't know till now why this issue appeared to me .
    any one knows why this happened.

  • IPhone Mail bug: Account Name with a comma

    I seem to have found a bug in the SMTP implementation on the iPhone's Mail.app. When the iPhone sends an email the recipient will actually see two distinct senders, one sender is "Appleseed" and the other is "John" <[email protected]>. Both sending addresses will be wrong and un-reply-able. Somehow, during the SMTP conversation, the iPhone is mishandling the from address if the display name contains a comma.
    Here at the university we have a naming convention for email addresses as:
    "Last, First" <[email protected]>
    For example, assume your email account is set up like this:
    Name: Appleseed, John
    Address: [email protected]
    When the iPhone sends email the recipient will actually see two distinct senders, one sender is "Appleseed" and the other is "John" <[email protected]>
    The sender should of course be: "Appleseed, John" <[email protected]>
    I've tested this out sending email from the iPhone through various email servers and I'm fairly certain the bug is on the iPhone, as it happens no matter which SMTP server I use. If the email account has a comma in the display name the message will have a corrupt "From:" address, and the recipient will be unable to reply (since the address gets munged in transport).
    I've also tested this out with other email clients, and they all properly send email from accounts with "Appleseed, John" as the display name.

    If you NOTICED the iPhone email setup only allows you to input characters that are allowed in any given field. For example it removes from your keyboard non-standard characters when inputing an email address.
    Though a comma in the display name of either a "from" or "to" address is fine in the format of
    "Appleseed, John" <[email protected]>
    If a comma in the display name causes Mail.app problems then that too should be fixed.
    The display name field of an email address is allowed by RFC to have (if I remember correctly) quite a few of the non-alpha numeric ascii character.
    iPhone Mac OS X (10.4.8)

  • 3146: Commit happened in activity/function - Workflow Bug?????

    Here is my problem:
    I get a 3146: Commit happened in activity/function error in my workflow.
    Yes many state that I should remove all commits from my code and let the workflow do it for me BUT... there are no commits in my code, I removed them all.
    Anybody has an idea? Is this some sort of workflow bug? Is there a workaround?
    --Dmitry                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    This is not a workflow bug. There is a commit inside the code being called for that activity. :) May be somewhere inside the downstream APIs called from within your code.
    Try a simple function activity code with simple statements. You will not see this error.
    The reason for this error is, the workflow engine sets a savepoint just before executing a function activity so that in case of an error, it can rollback to that savepoint. If it does not find the savepoint after the function activity completes, engine assumes only a commit could have removed it after it was set. So check what could have erased the commit.
    Thanks

  • ORACLE ON LINUX HAS SERIOUS BUG! IS NOT FAILSAFE COMMIT!!!

    I made one experiment to make sure in failsafety on Oracle/Linux.
    I tried to turn off the computer after commit, when "Commit
    complete" message was appeared.
    See a link on my last report:
    http://f2.dejanews.com/oracletechnet/nonmembers/index.cgi?do=show
    msg&conf=Early.Linux&msg=3953&show=unread&depth=all
    This experiment finished with bad result:
    Oracle for Linux can not be used for any more or less
    responsible applications!
    I tried to use filesystem with sync option and I tried to use
    waitfor_sync parameter in "init.ora" file.
    All of above without result. Oracle does not remember the data
    last commited transactions. Oracle does not write commited data
    on disk during about 1-3 sec period after the message "Commit
    complete" appeared.
    What do the Oracle Team say about this bug?
    null

    Has anyone reported this to Oracle? I haven't heard about this
    bug, but it may be in the pipeline for the next patch.
    Mark Malakanov (guest) wrote:
    : StE,
    : you are right.
    : Oracle MUST write into current redo log file after every
    : commit.
    : A confirmation "Commited" MUST be appeared after a write
    : operation finished and sync'ed.
    : Unfortunately this rule does not supported in Oracle8.0.5.1 for
    : Linux.
    : I made strace against LGWR process. It really open log file
    : without O_SYNC key.
    : But I tried to set a Sync attribute with chattr command against
    : logfiles. Also I tried to do mount with sync option against
    : whole filesystem. This ways brings system to open files as
    : O_SYNC key used.
    : All of above doesnt help. Oracle looses last commited
    : transactions. Only very bad performance.
    : Also I make the simple test in C. Open file without O_SYNC,
    : Write 5Mb, fsync and message. The message appears only after
    : fsync operation is finished. I understood - Linux is not the
    : cause of error.
    : I did find no fsync calls in strace's log file.
    : I think it is the cause of transactions are loosed.
    : Mark
    : StE (guest) wrote:
    : : Jay Walters (guest) wrote:
    : : : It is expected behavior to not write to the datafiles until
    : a
    : : : checkpoint is performed. Did you see this problem for
    : : : logfiles? Or just on data files? I am looking into moving
    : to
    : : : ORACLE on Linux but need data integrity...
    : : : Can anybody confirm if this is really a problem as it seems
    : : : like a show stopper.
    : : Using strace I've observed the RDBMS opening the online redo
    : : logs without O_SYNC and, on a commit, checkpoint, or log
    : change,
    : : I cannot see fsync being called on the file handle.
    : : Maybe this is a bug in strace, or a blip of stupidity on my
    : : part, but someone testing has managed to lose a committed
    : : transaction after deliberately powering off their machine.
    : That
    : : shouldn't happen.
    : : -michael
    null

  • WTK http stack implementation bug: malformed URL

    Hi
    the WTK emulators dont parse URLs correctly. The following code throws an "java.lang.IllegalArgumentException: malformed URL" exception. It works on most phones and the SonyEricsson J2ME SDK tho.
    c = (HttpConnection) Connector.open("http://www.4950.net");
    The stack trace is
    java.lang.IllegalArgumentException: malformed URL
         at com.sun.midp.io.HttpUrl.isIPv4Address(+88)
         at com.sun.midp.io.HttpUrl.parseAfterScheme(+568)
         at com.sun.midp.io.HttpUrl.<init>(+36)
         at com.sun.midp.io.j2me.http.Protocol.connect(+18)
         at com.sun.midp.io.ConnectionBaseAdapter.openPrim(+52)
         at javax.microedition.io.Connector.openPrim(+299)
         at javax.microedition.io.Connector.open(+15)
         at javax.microedition.io.Connector.open(+6)
         at javax.microedition.io.Connector.open(+5)
    I interpret the error as the http stacks recognizing this url as a numbered notation (e.g. http://123.234.34.24) instead of a text notation (e.g. http://www.google.com).
    I tried to look into the midp sources but the ones that are online do not contain the method com.sun.midp.io.HttpUrl.isIPv4Address from reading the source available it seems that the midp2.0fcs sources dont contain this error.
    Can anyone in sun fix this?

    an URL cannot start with a number after the www !

Maybe you are looking for

  • How to replace special characters in Purchase order item text in ECC 6.0

    Hi All, Now i am working in ECC environment. I am unable to replace the special characters in the PO short text for example take the following text. Job#Burst Fire 3930-00092#Heater Control here i want to replace # symbol with space. i used  replace

  • How to "hold" a title across several seconds of video?

    Hi -- I'm using Imovie '08 (ver. 7.1.4) on my MacBook pro. And I'm having a problem with titles. I'd be grateful for any insights. 1a) I was able to edit a short video (30 seconds) that I made, but am unable to have a title (1/3 down the page) that "

  • Decoding pdf data which was encoded as a single string

    I am storing a single (very large BLOB) string which is a base64 encoding of a .pdf file. If I try to decode the string I get a corrupted .pdf file. Below is the code I'm using to decode... blob_len := dbms_lob.getlength(pdf_blob); offset := 1; amoun

  • Problem in creating PR

    Hello gurus,               While creating an Service PR in the project through CN22 it is giving an Error that "15.05.2011 date comes after end of factory calendar". it is allowing to save it.But i can create a Supply PR it can be created sucessfully

  • Airport express and Printer

    During one years I used an epson cx 3650 without problem with my airport express born . I was 2 weeks travelling and when I was back home the airport express was stop with no light . I did a hard reset , and the update firmware (6.3) ; now it's ok fo