Updating variable problem

i am writing some code that updates a variable but the facing variable never seems to change, i want it to be updated at the end of every call from the main class
it seems to keep the value of Zero
any help would be great Eoin
public class RobotMover
Navigator robot;
private final int NORTH = 0;
private final int SOUTH = 180;
private final int WEST  = 270;
private final int EAST  = 90;
int facing = 0;
int clockWise  = 90;
int antiClockWise  = -90;
public RobotMover(Navigator newRobot)
robot = newRobot;
public void north()
     //if facing north : forward ()
          if(facing == NORTH)
               LCD.drawString("north", 0, 3);
               robot.travel(25);
               int facing = NORTH;
     //if facing south : rotate180(); forward ()
          else if(facing ==SOUTH)
               LCD.drawString("south to north", 0, 3);
               robot.rotate(180);
               robot.travel(25);
               int facing = NORTH;
     //if facing west  : rotate90Anticlockwise(); forward()
          else if(facing ==WEST)
               LCD.drawString("west to north", 0, 3);
               robot.rotate(clockWise);
               robot.travel(25);
               int facing = NORTH;
     //if facing east  : rotate90Clockwise(); forward()
          else if(facing == EAST)
               LCD.drawString("east to north", 0, 3);
               robot.rotate(antiClockWise);
               robot.travel(25);
               int facing = NORTH;
} the rest of the methods are similar setting facing in the given directions. however when called from main doesn't update from 0;
Edited by: Chuckie on Aug 9, 2009 2:26 PM

stevejluke wrote:
In each of your if statements you are creating a NEW locally scoped (to the IF statement) variable named facing, and assigning the direction to that.
Get rid of the int before each of the facing assignments:
          if(facing == NORTH)
               LCD.drawString("north", 0, 3);
               robot.travel(25);
               facing = NORTH;
After you get rid of the local declarations, please also notice that you are always setting facing to NORTH

Similar Messages

  • Checking for an updated variable value in symbol timeline

    I'm making a puzzle which involves moving crates in a specific order to get a character from one side to the other. Take a look at http://tinyurl.com/c4vwcj9 to get the gist of it.
    Each crate is a symbol with it's own timeline. A crate may only move a pre-determined direction and distance once clicked. No more than 2 crates can be pulled out of the grid at any one time.
    The timeline of each symbol has three states: "Original", "Moved" and "Returned".
    If you have a play around with the puzzle as it stands so far, you will see most of the logic arguments work ok. However, the problem I have is when you pull a crate out of the grid and it needs to check if it can move back into place.
    To see what I mean:
    - Pull out the bottom left corner crate
    - Move the crate to the immediate right, thereby blocking the previous crate
    - Try to move the bottom left corner crate again (you should get an error message and it shouldn't move - this is fine)
    - Move the other crate back to it's original position to unblock the previous crate
    - Try to move the bottom left corner crate a final time (you still get the error message and it doesn't move - this is not fine!)
    A quick debug has revealed the second mouse click doesn't fetch the updated variable AFTER the symbol timeline begins to play, but the same methodology works just fine for crates that check for impeded movement BEFORE a symbol timeline is played (try one of the inner crates). Why isn't it getting the updated value and what can I do to solve it?
    Below is a sample of the code specific to the bottom left crate. I've highlighted the variable and arguments specific to the problem. Please excuse what is no doubt poor Javascript coding conventions - I only started learning this last week!
    //-- Get needed variables
    // Check to see if other crate is impeding movement and define value as a variable
    var myCrateCheck = sym.getComposition().getStage().getSymbol("_b_2x1crate_h").getVariable("Crate2");
    // Check to see what this crate's status is and define value as a variable
    var mySelfCheck = sym.getComposition().getStage().getSymbol("_bl_3x1crate_h").getVariable("Crate1");
    // Check to see if other crates have been moved out of the main grid. Parse value as an integer in base 10.
    var myGridCheck1 = parseInt(sym.getComposition().getStage().getSymbol("_br_2x1crate_v").getVariable("Crate3_ grid"),10);
    var myGridCheck2 = parseInt(sym.getComposition().getStage().getSymbol("_bl_4x1crate").getVariable("Crate4_gr id"),10);
    var myGridCheck3 = parseInt(sym.getComposition().getStage().getSymbol("_bl_2x2crate").getVariable("Crate5_gr id"),10);
    var myGridCheck4 = parseInt(sym.getComposition().getStage().getSymbol("_cl_2x1crate_h").getVariable("Crate9_ grid"),10);
    var myGridCheck5 = parseInt(sym.getComposition().getStage().getSymbol("_cl_1x1crate_1").getVariable("Crate13 _grid"),10);
    var myGridCheck6 = parseInt(sym.getComposition().getStage().getSymbol("_cr_3x1crate_h").getVariable("Crate16 _grid"),10);
    var myGridCheck7 = parseInt(sym.getComposition().getStage().getSymbol("_tl_2x1crate_h").getVariable("Crate17 _grid"),10);
    var myGridCheck8 = parseInt(sym.getComposition().getStage().getSymbol("_tc_2x2crate").getVariable("Crate18_g rid"),10);
    var myGridCheck9 = parseInt(sym.getComposition().getStage().getSymbol("_tr_2x1crate_h_1").getVariable("Crate 19_grid"),10);
    var myGridCheck10 = parseInt(sym.getComposition().getStage().getSymbol("_tl_3x1crate_h").getVariable("Crate20 _grid"),10);
    var myGridCheck11 = parseInt(sym.getComposition().getStage().getSymbol("_tr_2x1crate_h_2").getVariable("Crate 21_grid"),10);
    // Create a variable called myGridCheckSum, make sure it's a number and sum the above
    var myGridCheckSum = 0;
    myGridCheckSum = myGridCheck1 + myGridCheck2 + myGridCheck3 + myGridCheck4 + myGridCheck5 + myGridCheck6 + myGridCheck7 + myGridCheck8 + myGridCheck9 + myGridCheck10 + myGridCheck11;
    //-- Logic & Conditional Statements
    // If this crate is in any position other than "Moved", and more than 1 box is already out of grid zone - prevent move and alert
    if ((mySelfCheck != "Moved") && (myGridCheckSum >1)){
    alert('Too many boxes outside of grid zone');
    sym.stop();
    // Or else, if this crate is in any position other than "Moved", but less than 2 boxes are out of grid zone - allow move
    else if ((mySelfCheck != "Moved") && (myGridCheckSum <2)){
    sym.play();
    // If this crate has moved but the other crate hasn't moved, play remainder of symbol timeline
    else if ((mySelfCheck == "Moved") && (myCrateCheck != "Moved")){
    sym.play(3001)
    // If this crate has moved and the other crate is also moved, alert and loop back on timeline
    else if (myCrateCheck == "Moved"){
    // Alert user to say crate cannot be moved
    alert('This box is being blocked by another!');
    sym.play(2999);

    Resolved. Silly little syntax error on a variable rewrite on another symbol!

  • MQ:OSB Assign action failed updating variable "ServiceRequest"

    Hi
    We have a problem with the MQ adapters in Oracle Service Bus.
    If we (by accident/break testing) put messages on the queue that are invalid XML (such as "Banana" as plain text), the OSB goes into an infinte loop with this message, as it can never be dequeued due to:
    <BEA-381901> <Exception in MQ Inbound Request: TransportException EndPoint: T20230_GoodsEvent/ProxyServices/T20230_G
    oodsEvent, com.bea.wli.sb.transports.TransportException: OSB Assign action failed updating variable "ServiceRequest": com.bea.wli.common.xquery.XQueryException: Error parsing XML: {err}FORG0
    005: expected exactly one item, got 0 items
    com.bea.wli.sb.transports.TransportException: OSB Assign action failed updating variable "ServiceRequest": com.bea.wli.common.xquery.XQueryException: Error parsing XML: {err}FORG0005: expect
    ed exactly one item, got 0 itemsThis even prevents the message from being put on the dead letter queue.
    Any hints?

    Correct, but we have tried switching to Text to no avail.

  • Bad Bind Variable Problem

    Hi
    I am trying to create a trigger and facing Bad Bind Variable problem.
    Plz let me know, what's the problem in this trigger.
    CREATE OR REPLACE TRIGGER Tender_tax_update AFTER
    INSERT
    OR UPDATE
    OR DELETE OF ITEM_QTY,ITEM_RATE,TENDER_ACC_QTY ON TENDER_ENQUIRY_ITEM_D REFERENCING OLD AS OLD NEW AS NEW FOR EACH ROW
    Declare
         v_amt TENDER_VENDOR_TAX_D.TAX_AMOUNT%TYPE;
         v_tax_ty TENDER_VENDOR_TAX_D.TAX_TYPE%TYPE;
         v_tax_cd TENDER_VENDOR_TAX_D.TAX_CODE%TYPE;
         v_ven_cd TENDER_VENDOR_TAX_D.VENDOR_CODE%TYPE;     
         v_item_cd TENDER_VENDOR_TAX_D.item_cd%TYPE;     
         v_tenno TENDER_VENDOR_TAX_D.tender_enquiry_no%TYPE;
    Begin
         if inserting then
              v_tax_ty:=:new.TAX_TYPE;
              v_tax_cd:=:new.TAX_CODE;
              v_ven_cd:=:new.vendor_code;
              v_item_cd:=:new.item_cd;
              v_tenno:=:new.tender_enquiry_no;
    select TAX_AMOUNT into v_amt from TENDER_TAX_DETAILS where tender_enquiry_no=v_tenno and TAX_CODE=v_tax_cd and TAX_TYPE=v_tax_ty and item_cd=v_item_cd and vendor_code=v_ven_cd;
    update TENDER_VENDOR_TAX_D set TAX_AMOUNT=v_amt where tender_enquiry_no=v_tenno and TAX_CODE=v_tax_cd and TAX_TYPE=v_tax_ty and item_cd=v_item_cd and vendor_code=v_ven_cd;
         end if;
    End Tender_tax_update;
    Database deails are as follows:
    TENDER_VENDOR_TAX_D
    Name Null? Type
    TENDER_ENQUIRY_NO NOT NULL VARCHAR2(8)
    VENDOR_CODE NOT NULL VARCHAR2(4)
    TAX_CODE NOT NULL VARCHAR2(4)
    PERCENTAGE NUMBER(5,2)
    TAX_AMOUNT NUMBER(15,2)
    ITEM_CD NOT NULL VARCHAR2(10)
    TAX_FLAG VARCHAR2(1)
    TAX_TYPE CHAR(3)
    TENDER_TAX_DETAILS
    Name Null? Type
    TENDER_ENQUIRY_NO NOT NULL VARCHAR2(8)
    VENDOR_CODE VARCHAR2(4)
    ITEM_CD VARCHAR2(10)
    TAX_CODE NOT NULL VARCHAR2(4)
    TAX_TYPE CHAR(3)
    TAX_AMOUNT NUMBER
    Message was edited by:
    user648065

    facing Band Bind Variable problem.Doesn't the error message tell you which bind variable is the problem?

  • Tabs only open in a new window. Ctl T opens a new window NOT a new tab help-last update this problem started. How do I set FF back to open tabs in 1 window

    Tabs only open in a new window. Ctl T opens a new window NOT a new tab help-last update this problem started 2 days ago. How do I set FF back to open tabs in 1 window?
    There is no plus sign and going into optins and changing settings has not worked. I have uninstall FF and reinstall-keeping my personalization-and that was no help.
    Right clicking on FF Icon to open a new tab, or going up to FF drop down tab and clicking on new tab both do not work.
    Help everything opens a new window not a new tab. there seems to be no way to reset this or to chose a different optin. I just downloaded new tabs at end addon and it didn't do a thing.

    as a first troubleshooting step - does it work like normally when you open & run firefox in [[Safe Mode|safemode]] by pressing the shift key while you open firefox (all other instances have to be closed before)...

  • 10.4.11 combo update install problem

    Has anyone else had trouble installing the combo update from 10.4 to 10.4.11?? Mine almost finishes and says it encounters an unknown error and cannot finish the install. Says it moves the update to trash and says try again from the finder...
    HELP!!

    Updating
    Certain steps appear to minimize the risk of an update producing problems.
    Number one is to make sure you have a bootable clone backup of your computer in case you do need to back out of it again. This is the only guaranteed way of not having to worry about the results of an update.
    Some like to boot from their installer discs or an external backup and verify (and if necessary repair) their internal drives as well as drive permissions. This is done with Disk Utility. You can verify a drive while booted from the same drive but sometimes this produces spurious errors. Repairing a drive (if necessary) has to be done while booted from another disk.
    [Resolve startup issues and perform disk maintenance with Disk Utility and fsck|http://docs.info.apple.com/article.html?artnum=106214]
    [Using Disk Utility in Mac OS X 10.4.3 or later|http://docs.info.apple.com/article.html?artnum=302672]
    [Disk Utility's Repair Disk Permissions|http://docs.info.apple.com/article.html?artnum=25751]
    You can also go to the step of booting into safe mode to do the install.
    [Mac OS X: Starting up in Safe Mode|http://docs.info.apple.com/article.html?artnum=107393]
    [What is Safe Boot, Safe Mode? (Mac OS X)|http://docs.info.apple.com/article.html?artnum=107392]
    [Safe Boot takes longer than normal startup|http://docs.info.apple.com/article.html?artnum=107394]
    I like to download the update onto my computer and install it from there rather than let Software Update do it. I know a few people who had problems with doing the update via software updater found a manual install to work.
    Repair permissions again afterward.
    It helps to only install one update at a time and to run the computer for a while to make sure it is behaving well.
    The more cautious even like to unplug third party peripherals (see [comment by BDaqua|http://discussions.apple.com/message.jspa?messageID=9040746#9040746]).
    Almost all of the above steps (except backup) have been questioned (e.g., [Permissons repair|http://www.macworld.com/article/52220-3/2006/08/repairpermissions.html] as to necessity. Probably many people have done successful updates without doing them. I say they can't hurt, they can very likely do good (especially if your computer isn't regularly maintained), so why not do them to be safe?
    [BDaqua's comments on updating problems|http://discussions.apple.com/message.jspa?messageID=8948595#8948595]
    [Baby Boomer's comments on updating problems|http://discussions.apple.com/message.jspa?messageID=9025760#9025760]
    [Klaus1's post on updating and removing updates|http://discussions.apple.com/message.jspa?messageID=10257902] and [another one|http://discussions.apple.com/message.jspa?messageID=10402175]

  • SQL Server 2005 Update mechanism problem

    Hi Gurus,
          We're faced with one SQL Server 2005 update mechanism problem. Here is my problem:
          According to our requirement, an add_on interface program is designed to execute creation of production order by calling Bapi.
          There are 3 steps in this add_on program:
          Step 1: Create production order
          Step 2: Change the information of production.
          Step 3: Some other
          After the step 1 has finished immediately step 2 is called, Howerver the information which should have inserted into database table couldn't be found from database. (Maybe because the time between two steps is too short to finish inserting)
          In order to ensure the complete of the transaction, before the step 2 executed, the information in step 1 should have inserted into database.
           Is there any solution to solve this problem?
           I guess whether there is any parameter which control the time of writing buffer into database...
    Any advice is appreciated.
    Thanks & Best Regards,
    Derek Yang

    Hi
    I have the same problem, but that post didnt help me
    This is the error I have:
    My snapshot agent hangs.. waiting for a response from the server.. and timeouts.
    This only hapens for a publication that has a filter based on HOSTNAME()
    The other publications work fine
    Error messages:
    Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
    Command Text: sp_MSsetup_partition_groups
    Parameters: @publication = XXXXXXX
    Stack: at Microsoft.SqlServer.Replication.AgentCore.ReMapSqlException(SqlException e, SqlCommand command)
    at Microsoft.SqlServer.Replication.AgentCore.AgentExecuteNonQuery(SqlCommand command, Int32 queryTimeout)
    at Microsoft.SqlServer.Replication.AgentCore.ExecuteDiscardResults(CommandSetupDelegate commandSetupDelegate, Int32 queryTimeout)
    at Microsoft.SqlServer.Replication.Snapshot.MergeSnapshotProvider.SetupPartitionGroups()
    at Microsoft.SqlServer.Replication.Snapshot.MergeSnapshotProvider.DoRegularMergeSnapshotPreparations()
    at Microsoft.SqlServer.Replication.Snapshot.MergeSnapshotProvider.DoPreArticleFilesGenerationProcessing()
    at Microsoft.SqlServer.Replication.Snapshot.SqlServerSnapshotProvider.GenerateSnapshot()
    at Microsoft.SqlServer.Replication.SnapshotGenerationAgent.InternalRun()
    at Microsoft.SqlServer.Replication.AgentCore.Run() (Source: MSSQLServer, Error number: -2)
    Get help: http://help/-2
    Server XXXXXXXXX, Level 11, State 0, Procedure , Line 0
    Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (Source: MSSQLServer, Error number: -2)
    Get help: http://help/-2

  • Update/Insert Problem with Oracle Warehouse Builder

    Hello,
    i have update/insert problem with owb.
    Situation: I have a source-table called s_account and a target table called w_account_d. In the target table are already data which was filled trough the source table inserts. Now anyone make changes on data on the target table. This changes should now give further on the source table with an update operation. But exactly here is the problem i can´t map back the data to source because that will create a loop.
    My idea was to set a trigger but i can´t find this component in owb or is anywhere hidden?
    Also i have already seen properties as CDC or conditonal loading in the property inspector of the table, but i have no idea how it works.
    Give it other possibilities to modeling this case? or can anyone me explain how i can implement this eventually with CDC?
    I look forward for your replies :)

    Hi
    thanks for your answer. I follow your suggestion and have set the constraints of both tables into the database directly.Nevertheless it doesn´t work to begin. In the next step i found by right click on a table the listpoint "configure" - I goes to "unique key" --> creation method and set here follow options: Constraint State = ENABLE, Constraint Validation = Validate. That error message that appears before by the deployment disappears yet. Now i start the job to test if the insert/update process works right. Finally it seems to work - but not really.
    My Testscenario
    1. Load the data from source table about the staging area to data warehouse table: Check - it works!
    2. Change one data record in source table
    3. Load the source table with changed data record once again to staging area: Check - it works!
    4. Load new staging area table with the changed data record to data warehouse table: Check it works! BUT, BUT i can not recognize if it is insert or update operation, then under the design window by jobs execution windows is reported "rows selected 98", Rows inserted" is empty and "rows updated" is empty. So i think works not correct, then my opinion if it works correct it should show be "rows updated" 1.
    What can yet now still be wrong or forgotten? Any ideas?
    *By the way think not 98 rows there is not important if you make an update or insert which performance. It is an example table the right tables have million of records.*
    I look forward for your answers :)

  • Tried to buy Aperture 3 and got an error message Aperture can't be installed on "Macintosh HD" because Mac OS X version 10.7.2 or later is required. You can update Mac OS X using Software Update.  Problem is, I had already updated my IMac to Lion OS

    Tried to buy Aperture 3 and got an error message Aperture can’t be installed on “Macintosh HD” because Mac OS X version 10.7.2 or later is required. You can update Mac OS X using Software Update.  Problem is, I had already updated my IMac to Lion OS

    iPhoto 9.3 requires OS X 10.7.4 now. You can use your actual version of iPhoto or upgrade to Lion (or wait to Mountain Lion)

  • OSB : BEA-382510: OSB Assign action failed updating variable

    Hi all,
    I just started learning OSB and created a simple process .
    This is my request :
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         </soap:Header>
         <soapenv:Body>
         <hel:getGreeting      xmlns:hel="http://hello.alsb.com/">
         <!--Optional:-->
         <arg0>string</arg0>
         </hel:getGreeting>
         </soapenv:Body>
         </soapenv:Envelope>
    im getting a error response in Assign:
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Body>
         <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>
         BEA-382510: OSB Assign action failed updating variable "Test": weblogic.xml.query.exceptions.XQueryTypeException: {err}XP0006: "element return { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type {http://www.w3.org/2001/XMLSchema}string
         </faultstring>
         <detail>
         <con:fault      xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-382510</con:errorCode>
         <con:reason>
         OSB Assign action failed updating variable "Test": weblogic.xml.query.exceptions.XQueryTypeException: {err}XP0006: "element return { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type {http://www.w3.org/2001/XMLSchema}string
         </con:reason>
         <con:location>
         <con:node>RouteTo_HelloWorldBiz</con:node>
         <con:path>response-pipeline</con:path>
         </con:location>
         </con:fault>
         </detail>
         </soapenv:Fault>
         </soapenv:Body>
         </soapenv:Envelope>
    This is my Xquery:
    xquery version "1.0" encoding "Cp1252";
    declare namespace xf = "http://tempuri.org/GoodbyeWorld_SB/XQuery/Hello_to_GoodBye/";
    declare function xf:Hello_to_GoodBye($helloStr as xs:string)
    as xs:string {
    replace($helloStr, 'HELLO', 'Goodbye')
    declare variable $helloStr as xs:string external;
    xf:Hello_to_GoodBye($helloStr)
    in my message response pipeln of the proxy service:
    i have added the assign and given the expression : $body/hel:getGreetingResponse/return
    var :Test
    After the assign: i have given a replace activity:
    xpath: ./hel:getGreetingResponse/return
    varabile : body
    Expression : string($Test)
    when i test in OSB console:
    im getting this error:
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Body>
         <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>
         BEA-382510: OSB Assign action failed updating variable "Test": weblogic.xml.query.exceptions.XQueryTypeException: {err}XP0006: "element return { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type {http://www.w3.org/2001/XMLSchema}string
         </faultstring>
         <detail>
         <con:fault      xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-382510</con:errorCode>
         <con:reason>
         OSB Assign action failed updating variable "Test": weblogic.xml.query.exceptions.XQueryTypeException: {err}XP0006: "element return { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type {http://www.w3.org/2001/XMLSchema}string
         </con:reason>
         <con:location>
         <con:node>RouteTo_HelloWorldBiz</con:node>
         <con:path>response-pipeline</con:path>
         </con:location>
         </con:fault>
         </detail>
         </soapenv:Fault>
         </soapenv:Body>
         </soapenv:Envelope>
    aany suggestions on where the issue is.
    im totaly stuck here:
    TIA,
    karthik

    it is not clear at which point you are invoking Hello_to_GoodBye, and using which argument
    anyway it's likely that you are passing an Xml element (a node, something like <hello>Charlie</hello>) instead of a simple type (a string, like "Charlie")
    you should use the function data($body/bla) or text ($body/bla/text() ) to extract the value (Charlie) of your element

  • Update installation Problems: Code U44M1P7 in Extension Manger 6.0.4 and Illustrator and PS CS6

    Hello,
    After the installation of several updates I find several errors in the error log:
    " Update installation Problems: Code U44M1P7 in Extension Manger 6.0.4 and Illustrator and PS CS6"
    I use a Mac Book Pro with Retina and MAC OSX 10.7.5.
    What is the problem and how can I solve it?
    Best regards
    Frank

    Follow the instruction given at the following link:
    http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html

  • HT4561 10.6.8 printing results in paused printers. Have applied 10.6.8 supplemental update but problems remain. Are there other known fixes?

    After applying 10.6.8 Supplemental Update a network printer status turns to paused after a printing attempt. Have deleted and reinstalled printers after the 10.6.8 update but problem reoccurs. I have also installed the Repair10.6.8.dmg package but that suggested fix did not work either. Any other suggestions?

    Wuzradioaman,
    Thanks for your feedback.
    Let me first correct myself. My aunt had bought the MBP from apple store USA for me 1 year ago, but she could have only delivered it to me 2 months ago. Its' a brand new computer. I run OSX Snow Leopard 10.6.7 and keeps warning me to update to 10.6.8. As I said, by the time I have received my computer, I tried to learnd and update it but created problems. So I had to go back to the original version which is 10.6.7. Now, for Mountain Lion I am expected of updating to 10.6.8. I am scared the problem would repeat again.
    What can I do? Did Apple release any patch/update to fix the problem?

  • I need helop with my ALSB Replace action failed updating variable

    System Error Handler
    $fault:      
         <con:fault      xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-382513</con:errorCode>
         <con:reason>
         ALSB Replace action failed updating variable "body": Error parsing XML: {err}XP0006: "element {http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/}AndelsbogAnmaerkningStatusModtag { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type element {http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/}AndelsbogAnmaerkningStatus { {http://www.w3.org/2001/XMLSchema}anyType }
         </con:reason>
         <con:location>
         <con:node>PipelinePairNode1</con:node>
         <con:pipeline>PipelinePairNode1_response</con:pipeline>
         <con:stage>stage1</con:stage>
         <con:path>response-pipeline</con:path>
         </con:location>
         </con:fault>
    Edited by: user543916 on Jun 28, 2011 2:28 AM

    you should report also the content of the variable you were trying to assign to $body, and which element in $body you were trying to modify.

  • Apple TV after recent update has problems with Hulu Fall 2014 shows

    In specific, ONCE Season 4 from ABC. The shows play about 15-17 minutes, up to the 2nd commercial - which fails almost immediately, the screen goes black and nothing. (I did find that the SUBTITLES come through - of all things.) If you try and re-start the episode with RESUME PLAYING, you'll just stare at a blank screen for ever.
    I have notified HULU of this issue with their content - other shows (like Agents of Shield) play fine, just not ONCE Season 4.
    Obviously, something is broken and needs to be fixed.
    **** Update ****     The problem seems to be caused by the subtitles. Turning the sub-Titles off seems to work-around the problem.

    i dont have an ipad but ive had problems also, streaming music from my itunes off my macbook to my appleTV so i after seeing all these itunes 11 problems, im starting to think its the new itunes cuz my airplay was working fine until i updated also.

  • Update Termiante Problem in the VF02

    Dear SAP Technical Guru's,
    I am facing Update termiante problem in the VF02 Screen .
    MESSAGE
    Update was terminated
    *System ID.... MRD
    Client....... 100
    User..... PWC
    Transaction.. VF01
    Update key... BE944DDDC5AEF1338261001635B0CD06
    Generated.... 09.07.2008, 14:25:50
    Completed.... 09.07.2008, 14:25:50
    Error Info... 00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC*
    Also When I scroll through the Condition records in the billing screen the conditions are disapperaing.
    I have a Userexit attached to it RV60AFZC
    Please suggest the solutions of the problem.
    regards,
    Amlan Sarkar

    I am attaching the code of the userexits:
    ***INCLUDE RV60AFZC.
    This include is reserved for user modifications                      *
    Forms for invoicing                                                  *
    The name of modification modules should begin with 'ZZ'.             *
          USEREXIT_NUMBER_RANGE_INV_DATE                                 *
          USEREXIT_FILL_VBRK_VBRP                                        *
          FORM USEREXIT_NUMBER_RANGE_INV_DATE                           *
          This userexit can be used to determine the numberranges for   *
          the internal document number. This userexit can be used when  *
          the number_ranger should impact the invoice date via table    *
          TVFKD.                                                        *
          If this userexit is active the USEREXIT_NUMBER_RANGE is not   *
          processed anymore, that means this userexit has priority.     *
          US_RANGE_INTERN - internal number range                       *
          This form is called from form LV60AU02 and LV60AU11           *
    FORM USEREXIT_NUMBER_RANGE_INV_DATE USING US_RANGE_INTERN.
    Example: Number range from TVFK like in standard
    US_RANGE_INTERN = TVFK-NUMKI.
    ENDFORM.
          FORM USEREXIT_FILL_VBRK_VBRP                                  *
          This userexit can be used to fill fields in VBRK and VBRP     *
          Be aware, that at this time the work areas KUAGV KURGV        *
          KUWEV and KUREV are not filled.                               *
          This form is called from FORM VBRK_VBRP_FUELLEN.              *
    FORM USEREXIT_FILL_VBRK_VBRP.
    Example: change Tax country
    VBRK-LANDTX = T001-LAND1.
    *{   INSERT         MRDK900206                                        1
    *if sy-tcode = 'VF01'.
    read table xkomv with key kschl = 'ZTOD'.
    if sy-subrc <> 0.
       clear xkomv.
       xkomv-kschl = 'ZTOD'.
       append xkomv.
    endif.
    *endif.
    *----Commented
    READ TABLE XKOMV WITH KEY KSCHL = 'ZTOD'.
    IF SY-SUBRC <> 0.
       CLEAR XKOMV.
       XKOMV-KSCHL = 'ZTOD'.
       APPEND XKOMV.
    ENDIF.
    *----End of comment
    *}   INSERT
    ENDFORM.
    *eject
    regards,
    Amlan Sarkar

Maybe you are looking for

  • HT1338 my macbook pro has no room on the hard drive

    I seem to have filled up my hard drive 320 GB, is there a easy way to get back some space?

  • Issues during creation and maintenance of BOM using FM's

    I am facing problems while using FM's BAPI_MATERIAL_BOM_GROUP_CREATE , CSAP_MAT_BOM_CREATE .    Previously i was using CSAP_MAT_BOM_CREATE but it did not support creation of another alternative bom if there already exists one for the same material,pl

  • Dynamic stub downloading question.

    It turned out that I've been killing time over and over again when setting up dynamic stubs downloading for RMI implementations. Wouldn't be it simple if RMI isolates developer from all those steps by a) creating stubs on the fly when the remote obje

  • Q190 Motherboard - where can I buy one?

    Hi folks, Our ThinkCentre Q190 died - one month after warranty ended. No video out, seems like the motherboard is gone. I'd like to replace it; where can I purchase a replacement motherboard for this animal? Thanks for any help.

  • Photomerge has stopped working in CS4 extended

    Photomerge goes through motion as if working from Bridge to Photoshop ( opening / closing images ) then all images disappear in Photoshop. Do I need to reinstall Photoshop or Bridge? I tried the online help by allocating less ram and changing scratch