App runs fine in simulator but fails on iPad

My app has been running fine in the simulator environment but tried running for the first time on an iPad.  It loads the first screen (which is a table view) but if I try to do anything, including just scrolling the table, it crashes.  The Xcode organiser shows the following:
>
Aug 11 17:24:29 unknown UserEventAgent[12] <Notice>: jetsam: kernel termination snapshot being created
Aug 11 17:24:29 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilephone[0xd6d9]) Exited: Killed: 9
Aug 11 17:24:29 unknown SpringBoard[15] <Warning>: Application 'FaceTime' exited abnormally with signal 9: Killed: 9
Aug 11 17:24:29 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.andion.TKD[0x6992]) Exited: Killed: 9
Aug 11 17:24:29 unknown ReportCrash[1286] <Notice>: Saved crashreport to /Library/Logs/CrashReporter/LowMemory-2012-08-11-172429.plist using uid: 0 gid: 0, synthetic_euid: 0 egid: 0
Aug 11 17:24:29 unknown SpringBoard[15] <Warning>: Application 'TKD' exited abnormally with signal 9: Killed: 9
> >
If I look in the crash logs in organiser all I can see is one from Safari dated weeks ago.  How do I find the log referred to in the message above?
The app (TKD) is 16MB and the iPad reports 26GB available, so although there appears to be a reference to LowMemory, surely that isn't actually the problem?   Am I doing something which is impacting FaceTime and why is there a message about com.apple.mobilephone on an iPad?  Am I doing something horribly wrong?
Any help much appreciated!

'killed' typically means the app was unresponsive just long enough for the OS to take action.
You should be able to see something in Xcode's console during debugging on the device.
Ken

Similar Messages

  • Stored procedure runs fine from SSMS but fails when called from the C# app

    I'm using SS Express 2012 so I doubt I have all possible debugging capabilities at my disposal, although I'm still trying to figure this out myself.
    The compiled C# application has logging to insure that the the SP is being invoked, the appropriate line of code is  definitely being reached. The logging always reports 'success' suggesting that the SP was successfully executed (and no exception is thrown
    to the C# app), but the indexes aren't getting rebuilt (I have a fragmentation query proving they are not rebuilt). Yet it runs successfully if I
        (1) set a breakpoint in the C# app and step through the code line by line OR
        (2) run the SP from the SSMS GUI.
    The fragmentation query confirms sucess for both 1 and 2.
    -I can't rely on the GUI because I want to run this overnight immediately after the C# app is finished inserting new records.
    - The SP loops through all the tables, and all the indexes in each table, checking for fragmentation and rebuilding any indexes over 7% fragmented.
    ALTER Procedure [dbo].[usp_RebuildIndexes]
    AS
    Declare @fetch_TableName NVARCHAR(256)
    DECLARE Cursor_Tables CURSOR FOR
    SELECT Name FROM sysobjects WHERE xtype ='U'
    OPEN Cursor_Tables
    While 1 = 1 -- Begin to Loop through all tables
    BEGIN
    FETCH NEXT FROM Cursor_Tables INTO @fetch_TableName -- fetches the next table
    if @@FETCH_STATUS <> 0 break
    print '---------' + @fetch_TableName
    Declare @fetch_indexName NVARCHAR(256) -- loops through al indexes of the current table
    DECLARE Cursor_Indexes CURSOR FOR -- Looking for indexes fragmented more than 7 percent.
    SELECT name as indexName
    FROM sys.dm_db_index_physical_stats (DB_ID(DB_Name()), OBJECT_ID(@fetch_TableName), NULL, NULL, NULL) AS a
    JOIN sys.indexes AS b ON a.object_id = b.object_id AND a.index_id = b.index_id
    Where Name is not null and avg_fragmentation_in_percent > 7
    OPEN Cursor_Indexes
    WHILE 1= 1 -- Begin to Loop through all Indexes
    BEGIN
    FETCH NEXT FROM [Cursor_Indexes] INTO @fetch_indexName
    if @@FETCH_STATUS <> 0 break
    Declare @SqL nvarchar(2000) = N'ALTER INDEX ' + @fetch_indexName + ' ON ' + DB_Name() + '.dbo.' + @fetch_TableName + ' Rebuild'
    print @Sql
    Begin TRy
    Execute sp_executeSQL @sql
    End Try
    Begin Catch
    Declare @err nvarchar(2000) = ERROR_MESSAGE();
    throw 51000, @err, 1
    End Catch
    End -- Ends looping through all indexes
    CLOSE [Cursor_Indexes]
    DEALLOCATE [Cursor_Indexes]
    End -- Ends looping through all tables
    CLOSE Cursor_Tables
    DEALLOCATE Cursor_Tables
    foreach (objDB DB in oUserPrefs.DBs) {
    report += DB.Real_Name;
    if (DB.cn == null) DB.cn = sqlCn(DB.Real_Name, SystemInformation.ComputerName);
    try {
    if (DB.cn.State != ConnectionState.Open) DB.cn.Open();
    } catch (Exception ex) {
    report += " - Failed because can't open a connection.\r\n";
    continue;
    DB.OpenedAConnection = true;
    DataTable dt = null;
    try {
    dt = oParam.fillDt("dbo.usp_RebuildIndexes", DB.cn, null);
    } catch (Exception ex) {
    report += " -failed because " + ex.Message + "\r\n\r\n";
    continue;
    report += " - success.\r\n";
    DB.LastTimeRebuiltIndexes = DateTime.Now;

    Your proc is a bit of a mess and hard to read. This should get you what you need though. I added a little logic in the middle that determines if the index should be reorged, or rebuilt.
    You were right that my script was too messy and I used your code/logic to rewrite mine. Thanks! I tried it this morning and it worked fine, but I will have to see how it runs overnight to be sure.
    Here's the weird thing. My original code should have worked. In fact I'm actually using it in 3 c-sharp apps each of which has 3 to 7  Express 2012 databases (about 10 million records per database). For about a month it's been working fine on two of the
    apps. Furthermore this morning I used a commercial file-comparison tool to verify that the 3rd app has been running an identical version of the SP. So I'm at a total loss as to what went wrong in the 3rd app.
    Here's my rewrite.
    Alter Procedure [dbo].[usp_RebuildIndexes]
    As
    Declare @Messages Table(Msg nvarchar(2000))
    Declare @IndexName nvarchar(256), @TableName NVARCHAR(256)
    DECLARE Cursor_Indexes CURSOR FAST_FORWARD FOR -- GEt a list of all indexes for all tables.
    select idxs.name as indexName, o.Name as TableName
    from sys.indexes idxs
    inner join sysobjects o on idxs.object_id = o.id
    inner join sys.dm_db_index_physical_stats (DB_ID(), NULL, NULL,NULL,NULL) as stats
    on stats.object_id = idxs.object_id and stats.index_id = idxs.index_id
    where xtype = 'u' and idxs.name is not null And avg_fragmentation_in_percent > 7
    OPEN Cursor_Indexes
    While 1 = 1
    BEGIN
    FETCH NEXT FROM Cursor_Indexes INTO @IndexName, @TableName
    if @@FETCH_STATUS <> 0 break
    Declare @SqL nvarchar(2000) = N'ALTER INDEX ' + @IndexName + ' ON ' + DB_Name() + '.dbo.' + @TableName + ' Rebuild'
    insert @Messages(Msg)VALUES(@sql)
    Execute sp_executeSQL @sql
    End
    CLOSE [Cursor_Indexes]
    DEALLOCATE [Cursor_Indexes]
    Select * From @Messages

  • Dreamweaver fails to launch, but other CC apps run fine

    I've been subscribed to Creative Cloud for over a year. I'm running 10.9.2 on a MacBook Pro. Just today I tried to launch DW and its icon bounced a handful of times and then disappeared. I uninstalled DW and then re-installed it, but got the same result. Other CC apps run fine (Muse, InDesign, PhotoShop, Audition), so I'm not sure what to try next.
    I don't "live" in these apps everyday and may launch soem of them once or twice a month. It's possible I've not launched DW since upgrading to Mavericks two months ago. Does DW have trouble running in 10.9?
    I am signed in through the CC Application Manager and everything with my account seems to be fine. Any ideas about what to try next?
    Thanks for any advice!

    It was difficult to find specific information about this, especially as it would seem to be a widespread Mavericks problem. I posted here because I initially thought the problem might have to do with Creative Cloud's authentication process.
    It turns out that Dreamweaver CC has some Java SE 6 runtime dependencies, but Mavericks comes with Java 7. I'm not sure why this hasn't been remedied by Adobe by now. Apparently some Mavericks users had been prompted by DW upon launch to install Java 6—which could explain why the problem hasn't shown up more on the forums as it was quickly remedied—but my copy never got that far. I did have some trouble tracking down where to download Java 6 for Mac, as it's not on Oracle's site, but found it here: http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US
    After uninstalling DW (again!) and installing Java 6, I re-installed DW and it opened.
    The other suggestions about given had to do with older CS6 apps not working and weren't helpful to my specific problem.
    I'm posting this in case any other user has experienced the same problem in the same way.

  • EBS Forms functional script runs fine in OpenScript but not from OTM

    Hi,
    I have an EBS forms functional test script which runs fine in OpenScript, but when scheduled from OTM, the web part runs fine but when it comes to forms, the script fails with the following error:
    Forms Object Not Found! XPath: //forms:window[(@name='NAVIGATOR')], Type: oracle.oats.scripting.modules.formsFT.helper.test.FormWindow, Cause: No Matches <Less>
    I have performed all the steps below already:
    1) Stopping the OATS Agent service and changing it to manual.
    2) Starting the command prompt and running the AgentManagerService command as mentioned in your forum.
    3) The console displays
    C:\>C:\OracleATS\agentmanager\bin\AgentManagerService.exe -c AgentManagerService
    .conf
    wrapper  | --> Wrapper Started as Console
    wrapper  | Launching a JVM...
    jvm 1    | Wrapper (Version 3.0.3)
    jvm 1    |
    4) I have added the test in the OTM with the following command line settings:
    -browser.type InternetExplorer -formsft.startup_timeout 30 -formsft.action_timeout 20 -formsft.response_timeout 10 -delayPercentage -1 -delayMin 0 -delayMax 5 -FormsAutomationEnabler.bat -enableForms true
    But each time the script fails, please note that my script has assets and they are placed within the script folder.
    Please help me on this at earliest.
    Thanks,
    Aarti

    Hello Aarti!
    I had the same problem and this steps help to solve the problem:
    You need to enable Forms Automation under agent. Please follow by below steps.
    1.open command prompt
    2.cd C:\OracleATS\agent
    3.FormsAutomationEnabler.bat -enableForms true
    4. Run script from OTM
    Attila

  • A javaScript code that runs fine in IE but not in other plz help

    Hello friends,
    plese help me in getting the code for Opera and Mozilla browsers. The following code runs fine in IE but not in other browsers. it show titlebar in other browsers. What to do disable titlebar in other browsers? plz help
    <html>
    <head>
    <script>
    //Frameless Banner Popup
    // Set the url of the banner popup window page
    //var theURL = "index.htm";
    var theURL = "/cgi-bin/login";
    // Set the title of the popup window
    var title = "Login"
    // Set the size of the popup window
    var windowWidth = 350; // cannot be less than 100
    var windowHeight = 350; // cannot be less than 100
    //var windowWidth = window.screen.width; // cannot be less than 100
    //var windowHeight = window.screen.height; // cannot be less than 100
    // Set the position of the popup window
    var windowX = ((window.screen.width/2) - 175);
    var windowY = ((window.screen.height/2) - 175);
    // Set true to auto-center (positions will be ignored)
    var autocenter = false;
    // Set true for popup to close when launch page does
    var autoclose = false;
    var s="width="+windowWidth+",height="+windowHeight;
    var beIE=document.all?true:false;
    var done=new Object("no");
    if(autocenter){
    windowX = (window.screen.width-windowWidth)/2;
    windowY = (window.screen.height-windowHeight)/2;
    function doAgilePopup(){
    if (beIE){
    agilePopper = window.open("","popAgile","fullscreen,"+s);
    agilePopper.blur();
    window.focus();
    agilePopper.resizeTo(windowWidth,windowHeight);
    agilePopper.moveTo(windowX,windowY);
    var frameString=""+
    "<html>"+
    "<head>"+
    "<title>"+title+"</title>"+
    "</head>"+
    "<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
    "<frame name='top' src='"+theURL+"' scrolling=no>"+
    "<frame name='bottom' src='about:blank' scrolling='no'>"+
    "</frameset>"+
    "</html>"
    agilePopper.document.open();
    agilePopper.document.write(frameString);
    agilePopper.document.close();
    }else{
    agilePopper=window.open(theURL,"popAgile","scrollbars=no,"+s);
    agilePopper.blur();
    window.focus();
    agilePopper.resizeTo(windowWidth,windowHeight);
    agilePopper.moveTo(windowX,windowY);
    agilePopper.blur();
    if (autoclose){
    window.onunload = function(){agilePopper.close();}
    done="okay";
    </script>
    </head>
    <BODY onLoad="doAgilePopup(),top.window.close()">
    </body>
    </html>

    missing semicolon in end of the variable frameString ,
    better write the string in single line thats easy to find the bugs like this.
    var frameString=""+
    "<html>"+
    "<head>"+
    "<title>"+title+"</title>"+
    "</head>"+
    "<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
    "<frame name='top' src='"+theURL+"' scrolling=no>"+
    "<frame name='bottom' src='about:blank' scrolling='no'>"+
    "</frameset>"+
    "</html>"

  • HT1689 I want to close apps running in back ground but after double clicking I dont get apps running in back ground instead photo apps open after double clicking home screen

    I want to close apps running in back ground but after double clicking I dont get apps running in back ground instead photo apps open after double clicking home screen Please help.

    iPhone 3G does not support multitasking

  • HT5361 Mail runs fine at first but after awhile it freezes the machine.  I have shut the mac down and restart. I am running Mountain Lion.

    Mail runs fine at first but after awhile it freezes the machine.  I have shut the mac down and restart. I am running Mountain Lion which was updated from Leopard.  I reinstalled original programs from disk and solved this same problem with Contact.  Mail is still a problem.  May also include itunes which seems to add to the problem.

    Run Disk Utility to check the SMART status of your hard drive.

  • Unit test runs perfectly fine with NUnit but fails when run from TestExplorer

    Hello all,
    I have a TestProject, Harmony.Tests. In there, I have a method AddApplicationEvent()
    which calls another method Send(InvokeRequestMessage requestMessage) which calls a webservice (OperationHandlerBrokerWebService). 
    The code snippet looks like this. This is not the complete code but a part where we are calling the web service. It fails on the underlined Italic line of code.
    OperationHandlerBrokerWebService brokerService = new OperationHandlerBrokerWebService();
    brokerService.UseDefaultCredentials = true;
    brokerService.Url = address;
    brokerService.Timeout = timeoutInMilliseconds;
    byte[] serializedResponseMessage = brokerService.InvokeOperationHandler(serializedRequestMessage);
    The same test works and passed fine when I ran it with NUnit, but failed with following exception when I tried to run it from TestExplorer. 
    Test Name: AddApplicationEvent
    Test FullName: N4S.Harmony.Tests.CaseManagement.HarmonyFacadeTests.AddApplicationEvent
    Test Source: d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\CaseManagement\HarmonyFacadeTests.cs : line 665
    Test Outcome: Failed
    Test Duration: 0:00:00.296
    Result Message:
    SetUp : Message returned System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Invalid token for impersonation - it cannot be duplicated.
    at System.Security.Principal.WindowsIdentity.CreateFromToken(IntPtr userToken)
    at System.Security.Principal.WindowsIdentity..ctor(SerializationInfo info)
    at System.Security.Principal.WindowsIdentity..ctor(SerializationInfo info, StreamingContext context)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context)
    at System.Reflection.RuntimeConstructorInfo.SerializationInvoke(Object target, SerializationInfo info, StreamingContext context)
    at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
    at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
    at System.Runtime.Serialization.ObjectManager.DoFixups()
    at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream)
    at N4S.Forms.OperationHandlerBroker.AMessage.DeserializeMessage(Byte[] serializedMessage)
    at N4S.Forms.OperationHandlerBroker.WebServiceServer.BrokerService.InvokeOperationHandler(Byte[] serializedInvokeRequestMessage)
    --- End of inner exception stack trace ---
    expected: <0>
    but was: <1>
    Result StackTrace:
    at N4S.Harmony.Tests.TestHelper.InvokeOperation(OperationHandler handler, OperationHandlerInput input, Boolean expectedToWork) in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 136
    at N4S.Harmony.Tests.TestHelper.LoginAsUser(String username, String password) in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 394
    at N4S.Harmony.Tests.TestHelper.Login(TestUserName requestedUser) in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 377
    at N4S.Harmony.Tests.TestHelper.LoginAsAdvisor() in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 230
    at N4S.Harmony.Tests.CaseManagement.HarmonyFacadeTests.Login() in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\CaseManagement\HarmonyFacadeTests.cs:line 76
    at N4S.Harmony.Tests.CaseManagement.HarmonyFacadeTests.SetupTest() in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\CaseManagement\HarmonyFacadeTests.cs:line 67
    I am not sure what causing the issue. I checked the Credentials, Windows Identity during both the test run and there is no difference. Please advise !!
    Thanks,
    Deepak

    Hi Tina,
    Thanks for your reply. 
    I do have NUnit adapter installed. I even noticed that the test runs fine with NUnit GUI and also if I run it through Resharper Test Explorer window. 
    As you can see in the image above the same test is passed when I ran it from Resharper Unit Test Explorer window but fails when I ran it from Test Explorer window. I also captured the information on fiddler. 
    There was a significant difference in the Header Content length. Also under the User-Agent property the protocol versions are different. 
    Not sure why VSTest ExecutionEngine is picking a different version.
    The UnitTest in question is calling a webservice method which in turn calls a method from another referenced project. 
    Web Service class
    using System;
    using System.Web.Services;
    using N4S.Forms.OperationHandlerBroker.Server;
    using NLog;
    namespace N4S.Forms.OperationHandlerBroker.WebServiceServer
    /// <summary>
    /// The operaton-handler broker service.
    /// </summary>
    [WebService(Description = "The N4S Forms Operation-Handler Broker Web-Service.", Name = "OperationHandlerBrokerWebService",
    Namespace = "N4S.Forms.OperationHandlerBroker.WebServiceServer")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    public class BrokerService : WebService
    { /// <summary>
    /// Calls <see cref="HandleRequest"/>. Updates performance-counters.
    /// </summary>
    /// <param name="serializedInvokeRequestMessage">the binary-serialized <see cref="InvokeRequestMessage"/></param>
    /// <returns>the binary-serialized response message</returns>
    [WebMethod(BufferResponse = true, CacheDuration = 0, Description = "Invokes the requested operation-handler and returns a binary-serialized response-message.", EnableSession = false)]
    public byte[] InvokeOperationHandler(byte[] serializedInvokeRequestMessage)
    logger.Trace(Strings.TraceMethodEntered);
    PerformanceMonitor.RecordRequestStarted();
    InvokeRequestMessage requestMessage = (InvokeRequestMessage) AMessage.DeserializeMessage(serializedInvokeRequestMessage);
    InvokeResponseMessage responseMessage;
    try
    responseMessage = HandleRequest(requestMessage);
    PerformanceMonitor.RecordSuccessfulRequest();
    catch (Exception)
    PerformanceMonitor.RecordFailedRequest();
    throw;
    finally
    PerformanceMonitor.RecordRequestEnded();
    logger.Trace(Strings.TraceMethodExiting);
    return AMessage.SerializeMessage(responseMessage);
    UnitTest snippet
    OperationHandlerBrokerWebService brokerService = new OperationHandlerBrokerWebService();
    brokerService.UseDefaultCredentials = true;
    byte[] serializedResponseMessage = brokerService.InvokeOperationHandler(serializedRequestMessage);
    Please advise.
    Thanks,
    Deepak

  • Adobe AIR app running fine on Adobe Flash CC but crashes when published

    Hi,
    I am developing an app for Adobe AIR. The app works fine when I compile it on Adobe Flash CC when I run it through the ADL. When I publish the app for Desktop and run it, I get the following error:
    VerifyError: Error #1014: Class flash.filesystem::File could not be found.
    This is strange, because it seems that actually, when I run the app outside Adobe Flash, the app is run through Flash Player.
    Any ideas?
    Thanks!

    Is the Intel your only graphics adapter, or are you running an ATI or nVidia card as well?

  • Upload files from my app works fine in JDev but NOT on app server???

    i guys,
    I'm using jdeve 10.1.2. and adf bc's. So here's my problem:
    In my application i need to allow for the upload of files from user's computers. This works perfectly fine from jdeveloper but when i deploy my application on the application server i get the following error:
    JBO-26041: Failed to post data to database during "Insert": SQL Statement "D:\TrademarkTestData\TrademarkunitTestData.xls (The system cannot find the path specified)".
    D:\TrademarkTestData\TrademarkunitTestData.xls (The system cannot find the path specified)
    For some reason the system cannot find the path. This is most frustrating as it works perfectly fine when run from jdeveloper.
    Any ideas would be most welcome.
    Thanks in advance,
    Newbe

    Hi Frank,
    Thanks for the response. I've consulted with our server guy and he says that there are no read/write privileges. Jdev is not on the server.
    I'm really stumped by this so if you have any ideas, I'd really appreciate it.
    Happr New Year to you,
    Newbe.

  • Mapping tested successfully in Simulator but fails in SXI_MONITOR

    Hi gyus,
    The Outbound message structure is the following:
    MT_CAP_BANKS
    actions     1..1    xsd:string
    RECORD   0..unbounded  Segment
       Field1
       Field2
       etc
    The target Inbound message structure is the structure of the JDBC receicer adapter, since the scenario is Proxy to JDBC.
    MT_DB_BANKS
    STATEMENT       1..unbounded
    DBSTATEMENT   1..1
       action
       etc
    I want to have one STATEMENT per RECORD segment. But the RECORD segment may also be missing in case that we want to do massive delete of all the entris in a table. So I may have only the action field in some test cases.
    Therefore, I am mapping RECORD>mapWithDefault>STATEMENT.
    Mapping is tested successfully in simulator for all cases, either many RECORD segment or no RECORD segment. Interface mapping tested successfully. However, when we are doing real tests, mapping works fine with many RECORD segments, but fails with no RECORD segments (Cannot produce target element /ns0:MT_DB_BANKS/STATEMENT. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd).
    Any ideas ?
    I also tried to chang the mapping with IF RECORD EXISTS THEN STATEMENT='' ELSE RECORD-->STATEMENT but problem still remains!!

    Hi,
    I'm not really sure why you are encountering this error. Have you tried any context modifications before mapping to field STATEMENT?
    Could you try this mapping?
    constant:null -----------------------------------------> \
    RECORD --> mapWithDefault:null --> equalsS:null --> ifThenElse --> STATEMENT
    constant:hasValue -------------------------------------> /
    The code should perform just like the one with the mapWithDefault without the ifThenElse, but it's worth to try.
    Hope this helps,

  • Ant Scripts works fine in one but fails in other environment

    Hi,
    Ant script is working fine in Dev environment but is failing in the other environment. Somehow the BPEL server is not able to pick the latest deployed process , due to this the dependent BPEL processes are failing. If we restart the server , it moves forward and then fails at the point where it couldn’t find reference to the processes deployed after restart. Restarting the server at every failed interval will deploy all the BPEL processes which is not the solution.
    example : we have BPEL Processes say A, B, C, D and E. A,B are independent processes C is dependent on A, D is independent and E is dependent on D. So I have Ant script to deploy in A,B,C,D,E order. Now I run the Ant Script: It deploys A,B processes and Fails at C saying it couldn't find the process A.wsdl(But A is deployed). So if i restart now it recognizes A and B are deployed so C is also deployed succesfully it also deploys D as it is Independent but fails at E. If i restart the server E is also deployed.
    The Environment is clustered.
    Any suggestion to make my Ant script to run at a go will be highly appreciated
    Thanks
    Krishna

    Hi,
    is this a redeployment of workflows? (do you use the same versionnumber or new ones?)
    can you post the soap:address of a dependent process?

  • Test cases runs correctly on IDE but fails on the test runner

    Hi Guys,
    I have a test case here that works fine on my Mars IDE with RCPTT but fails when I run it via the Maven plugin on the same machine.
    The summary of the test case here is that it auto-generates some java files based on changes done to a DSL type language. You will see that there is a Generator project there that does this. Any changes to the type file will trigger the java file to be regenerated with whatever was defined in the Generator project. On the IDE it all works but when it's run via the test runner, it always fails for some reason.
    One interesting thing to note there is if that test case is run first, it does not fail. I initially suspected that the previous test case might have done something to the AUT workspace/environment but it's difficult to prove. The test case in question does have contexts to clear the workspace and to add projects as well as a context for setting the preferences. I did try removing all the contexts except for the workspace context that contains the project that it needs but the execution result is still the same. If I manually ran the same AUT (extracted somewhere else) with the generated test-runner aut workspace right after and made some changes to the type file, the java files are generated correctly.
    So the problem now is, we're not sure what the test runner is doing differently with the RCPTT IDE in this case. It would seem like the test runner is preventing the AUT from generating the files or there might be an error that prevents the generation from happening.
    I've attached the results folder from the test runner execution and the log file from the from the runner-workspace folder.
    cheers!
    Joseph

    Hi Folks,
    We've found out the cause of the problem and have found out that this is not entirely RCPTT related. Apologies for the disturbance. Marking this as a non-issue.
    cheers!
    Joseph

  • Fine in Simulator, but encoded "Play All" Scripting Goes Screwy

    So I followed this Tutorial for scripting a dynamic Play All button: http://creativemac.digitalmedianet.com/articles/viewarticle.jsp?id=30628
    The Script checks the GPRM values at the end of each video. It also has a pre script to reset the value to 0. It works perfectly in the simulator, but once encoded the Play Button plays totally different tracks on the DVD. Perhaps there is an issue with the GPRM values?
    The menus are video files, not Photoshop files with layers so I don't think this workaround applies: http://forums.digitalmedianet.com/cgi-bin/displaywwugpost.fcgi?forum=astarte_dvd &post=080314211038.htm
    A solution that might somehow be related???-->"I used the DVDAfterEdit Demo (http://www.dvdafteredit.com) to check my GPRM values outside of using DVDSP's Simulator (which worked fine for me, just like many of you). I found that when the Menu Prescript is run, it is assigning, not 32 for the first menu and 64 for the second and so on, but another number in the 60,000-something range, which of course throws off the math for the end jump script. An associate of mine explained to me that he thought each layer that is activated in the layered menu actually was a different menu altogether, which is possibly why the Current Item value is being set to a number we weren't expecting.
    So, my workaround is this: I made a separate prescript for every layered menu I needed the dynamic end jumps for. The single I command I used was "mov GPRM 0, 32" for the first menu rather than "mov GPRM 0, Current Item" (you have to switch from Special to Immediate to manually type in the number, FYI). The second menu had it's own prescript with the command "mov GPRM 0, 64". And so on for the subseqent menus."
    Anyone who has a fix, please let me know. I'm comfortable with DVD studio, but new to scripting.
    Message was edited by: Benny11

    your problem comes from a bug in the simulator.
    When you use jump indirect it is looking for a menu or track based on its position on the disc, for example menu 1 is 32, menu 2 is 64, menu 3 is 96, etc, etc.
    Well simulator gets object positions based on DVD Studio Pro's Outline View. The problem is there are two different outline views, one is by type, and one is by VTS. Simulator uses "by type" when calculating object values, but in real life (as in all DVD players) the value is based on its position in the "VTS" view.
    I would check your VTS view and make sure the tracks are in the order your want them to play in.
    Additionally, i have always found "prescripts" very unreliable. I find it I get better results by jumping to a script directly and then at the end of the script jumping to my target as opposed to creating a script and assigning it as a pre-script to an object.

  • Query runs fine in 9i but results to ORA-01652 unable to extend temp in 10g

    Hi,
    We are having issues in running a SQL query in 10g. In 9i, it runs fine with no problems but when run in 10g, It takes forever and the temp tablespace grows very large upto 60GB until we get ORA-01652 error due to lack of disk space. This does not occur in 9i, where query runs in only 20 mins and does not take up temp that big. 9i version is 9.2.0.8. 10g is 10.2.0.3

    Heres the SQL query:
    SELECT
    J2.EMPLID,
    TO_CHAR(J2.EFFDT,'YYYY-MM-DD'),
    J2.EFFSEQ,
    J2."ACTION",
    J2.ACTION_REASON,
    TO_CHAR(J2.GRADE_ENTRY_DT,'YYYY-MM-DD'),
    J2.COMPRATE,
    J2.CHANGE_AMT,
    J2.COMP_FREQUENCY,
    J2.STD_HOURS,
    J2.JOBCODE,
    J2.GRADE,
    J2.PAYGROUP,
    PN2.NATIONAL_ID,
    TO_CHAR(PC.CHECK_DT,'YYYY-MM-DD'),
    SUM(PO.OTH_EARNS),
    To_CHAR(SUM(PO.OTH_EARNS)),
    PO.ERNCD,
    '3',
    TO_CHAR(PC.PAY_END_DT,'YYYY-MM-DD'),
    PC.PAYCHECK_NBR
    FROM PS_JOB J2,
    PS_PERS_NID PN2,
    PS_PAY_OTH_EARNS PO,
    PS_PAY_CHECK PC
    WHERE J2.EMPL_RCD = 0
    AND PN2.EMPLID = J2.EMPLID
    AND PN2.COUNTRY = 'USA'
    AND PN2.NATIONAL_ID_TYPE = 'PR'
    AND J2.COMPANY <> '900'
    AND J2.EFFDT <= SYSDATE
    AND PC.EMPLID = J2.EMPLID
    AND PC.COMPANY = PO.COMPANY
    AND PC.PAYGROUP = PO.PAYGROUP
    AND PC.PAY_END_DT = PO.PAY_END_DT
    AND PC.OFF_CYCLE = PO.OFF_CYCLE
    AND PC.PAGE_NUM = PO.PAGE_NUM
    AND PC.LINE_NUM = PO.LINE_NUM
    AND PC.SEPCHK = PO.SEPCHK
    AND EXISTS (SELECT ERNCD
    FROM PS_P1_CMP_ERNCD P1_CMP
    WHERE P1_CMP.ERNCD = PO.ERNCD AND EFF_STATUS = 'A')
    GROUP BY J2.EMPLID,
    J2.EFFDT,
    J2.EFFSEQ,
    J2.ACTION,
    J2.ACTION_REASON,
    J2.GRADE_ENTRY_DT,
    J2.COMPRATE,
    J2.CHANGE_AMT,
    J2.COMP_FREQUENCY,
    J2.STD_HOURS,
    J2.JOBCODE,
    J2.GRADE,
    J2.PAYGROUP,
    PN2.NATIONAL_ID,
    PC.CHECK_DT,
    PO.ERNCD,
    '3',
    PC.PAY_END_DT,
    PC.PAYCHECK_NBR

Maybe you are looking for

  • Problem testing JAXRPC based web services

    Hello, I have a JAXRPC based web service. The application was easily tested using earlier versions of sun java system application server. But when I am trying to test it using sun java Application Server 9 it is showing an error. Do I need to change

  • Is there a difference between the Lightning to USB included with an iPhone 5 and the one sold separately?

    I recently purchased 2 iPhone 5's and two Lightning to USB cables in addition to the ones that came with the phones.  We tried to use the first L to USB with the power adapter and it wouldn't work.  Then today I tried to use the second L to USB in my

  • Image Capture problems with my MacBook

    When i plug in my camera macbook three different icons show up with it in finder and two different icons show up with it in image capture. my problem is that none of my pictures will show in my image capture. ive never had a problem with this before.

  • Please help me to correct the Variable exit

    Hello, I am trying to calculate the previous month from the user input 0CALMONTH variable 0I_CALMO. I have created another variable ZVPCALMON and have restricted a key figure Amount with this variable. I have written the below code. When I debug the

  • Copy Sales Order to AR inv - invalid currency # 131-74

    Good morning, This one has us stumped... Customer copies Sales order to AR invoice, There are 2 SO's in question same BP different Shipto, but we can copy 1 to AR invoice, but it will not allow the other one - it gives the error message INVALID CURRE