ApplicationUnderTest.CloseOnPlaybackCleanup property doesn't work as intended with MS Test Agent 2010

Hi All, 
I launch the application which I need to test by using ApplicationUnderTest.Launch() method and I need to keep the application open for the rest of the tests so I tried to set ApplicationUnderTest.CloseOnPlaybackCleanup = false to achieve that. 
1) I use MS Test Agent 2010 to run my Coded UI Tests in a server machine and without running tests it threw an error which said "Method not found: 'Void Microsoft.VisualStudio.TestTools.UITesting.ApplicationUnderTest.set_CloseOnPlaybackCleanup(Boolean)".
Then I replaced UITesting.dll in the server machine with the one used by Visual Studio 2010 SP 1 which is located in my machine. Then it started to run tests. 
2) Even though I have set  ApplicationUnderTest.CloseOnPlaybackCleanup = false Coded UI Test closes the application at the end of the test which was really strange. It sounds like that disregard
of the value I have set, CUIT always close the application when running with MS Test Agent. 
3) Then I noticed that on my machine it happens completely other way around most of the time. Irrelevant of the value it always keep the application open after the test. Which means even I set  ApplicationUnderTest.CloseOnPlaybackCleanup = true that
will keep open the application. But if I can remember correctly this didnt happen when I first tried this approach, it worked perfectly. 
Is this a a bug that should be fixed? Or am I missing something obvious?
Thanks in advance, 
/Rakitha

Hi Rakitha,
As far as I know, this issue has been resolved in VS2012.
http://blogs.msdn.com/b/visualstudioalm/archive/2012/11/08/using-same-applicationundertest-browserwindow-across-multiple-tests.aspx
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Create Slideshow Display sequence property doesn't work

    Create Slideshow Display sequence property doesn't work,
    I have selcted random but the slideshow always plays in order. I searched the scripts for any logi related to this and other properties set, but cannot find any refernce to any of these propoerties:
    transType='Random' transTime='1' firstImage='1' dispSequence='1'>
    How can I make the slideshow start  with a random image each time?
    thanks
    s

    Hello,
    I am back on this question, about how to get the non-flash version of the Creatr Slideshow v1.6 to display the images in a random sequence. Can anyone point me in the right direction, please?
    thanks
    juno

  • The backlight of keyboard doesn't work in win7, with a well setup bootcamp drivers

    The backlight of keyboard doesn't work in win7, with a well setup bootcamp drivers

    Forum and support for Boot Camp:
    http://www.apple.com/support/bootcamp

  • POST built in - Umm, this is the worst and doesn't work as intended..

    Win XP, oracle 10gR2
    POST really likes to save my changes.
    I post a block, and then goto my next form.. and I use another session with another login to view the data and it has already been comitted.
    This may have worked back in Client Server as intended , but it is surely lacking on the web forms.
    My form forms coworker said I'll just go busting my brains out trying to get it work, and he never got it work either, and said post doesn't do what you think it is supposed to do.
    He thinks we had problems with it even back on Client Server.
    Can anyone else confirm?

    Hello,
    Very easy to test.
    Create a basic form on the emp table, do some changes
    then post.
    Open another session with Sql*Plus or Sql Developer,
    then check if you see the changes or not.
    FrancoisI'll change my story to posting with "multiple forms" doesn't work.
    Form A - I make changes and POST.
    I call form B (the select form)
    I then call form C (edit screen) and make a change.
    I exit_form C, and say "NO" to forms asking me if I want to save changes.
    I exit_form B (no prompt, no base table block).
    In form A, I exit_form, and say "NO" to forms asking me if I want to save changes.
    I reenter the form A, and the value is changed to the new value.
    I just watched the column, and when I called form C - that's when the commit was performed. I see no commit's that were executed when calling for C.
    I am trying to avoid a frm-40403 (calling form has unapplied changes).
    Post isn't cutting it, so I plan to check the form_status and prompt the user if they want to commit (yes/no/cancel).."No" will cause an frm-40403 if they try to save in the form C. Of course if they say "yes" to commit, it will not have the problem in form C.
    I just checked, and I don't think I have any commits in Form C - if I did - I wouldn't get an FRM-40403 when I try to save in Form C.

  • [iPhone] Calc.app builds fine, but doesn't work as intended

    Hi,
    Trying the Calc example in "Xcode Quick Tour for iPhone OS", I end up with an application that builds and launches fine in the iPhone Simulator, but that doesn't work.
    Did anyone try this example and did it work for you ?
    Here is what I observed :
    When I press a digit, the displayField's value isn't changed.
    Going in debug, I can see that the instance of the Calculator class does receive a message with the "input" selector and with the parameter "character" worth the digit that I pressed. The [_diplay appendString:character], but _display seems to keep being "nil".
    Any idea ?
    Many thanks in advance for your help,
    J.

    The Calc example worked well for me. The only bugginess I found was that if the text field is forced to reduce it's font size it never gets reset to the original size.
    Assuming you didn't touch the Calculator class files it's probably something simple. Check the IB connections, especially the connection between the displayField outlet and the UITextField. Maybe put a NSLog in the press method to check \[_calculator display\]. Of course if your Calculator class files are different from mine all bets are off, so if you don't have any luck we'll need to compare those.

  • "Print page" doesn't work as intended when using lengthy tables. (Brother MFC 6490CW, possibly others)

    I had originally thought this was a printing driver problem, but further testing indicated that this was not a problem in Internet Explorer and it was a problem in Firefox.
    When printing some web pages using Mozilla Firefox, particularly those having sizable tables which would extend beyond the length of a single printed page, the remainder of the table is not printed even though the remainder of the web page itself is printed. The behavior is also noted when using Print Preview. See, for example, this web page which I created: http://alltherightwaystowrite.blogspot.com/2013/08/the-basics-capitalization.html
    I inquired of other bloggers to see if they were also experiencing this issue. See, for example, the discussion I began here: https://productforums.google.com/forum/#!msg/blogger/EpD6K2ezIZE/a5mPu8CV0HwJ
    As you can see, the only response I received indicated it was not an issue for that person with a different printer. This leads me to believe the problem is with either the MFC6490CW printer (unlikely) or the MFC6490CW printer driver (more likely) or perhaps with Firefox, or some combination of those three. This problem is duplicatable by me on successive attempts to print with any web page with a table extending beyond the length of a single page of printed paper. The output error occurs whether printing in portrait or landscape mode.
    Saving a web page as "Web Page Complete" and opening up the web page in Microsoft Word created a variety of formatting errors, but otherwise, the entire contents of the page would have printed. Of course, this is not an ideal solution in any event. The entire document should print seamlessly across multiple pages without losing any data or content in the process.
    As indicated above, as an additional test, I attempted to print the same web page in Internet Explorer and did not note the output errors described here. The web page printed correctly under those conditions. As a result, I believe that the most likely culprit is Firefox since Internet Explorer was also a good test case for my printer and printer driver, and it passed that test case.

    https://bugzilla.mozilla.org/show_bug.cgi?id=521204 - this is a META Bug which is tracking all the Bugs which are related to '''Wrong page splitting / Missing page content when printing''' - 34 different Bugs, 14 of which are marked as solved.
    IMO, that page would be better served with a print css script ''(as jscher2000 mentioned earlier)'' to make that a "printer ready" page, if wanting that page to be "printable" is your intention. As it now is that page is shrunk by about 50% with the "Shrink to Fit" feature engaged. Look at that page in Print Preview when the Scale is set to 100% instead of Shrink to Fit, and see that the page is so large that it shows that about 1/2 the width. Then decrease the zoom level in Print Preview to 50 or 60% to get that page to fit horizontally with the "Shrink to Fit" feature disabled. Looks like a case of "garbage in - garbage out".
    I think the css used for that page uses too large a font which ''(IMO)'' forces Firefox to shrink the font too much to make that page fit to a letter size sheet of paper. And relying first upon the Print to Fit feature in the four different major browser engines ''(Gecko, Trident, WebKit, and Presto)'' and then the hundreds of print drivers out there is just looking for failures such as you are seeing; it works for some viewers and doesn't work for other viewers. What appears on the '''"screen"''' doesn't always translate to the '''"printed page'''" too well without proper instructions via style sheets, especially since "screens" are oriented horizontally and most "printed" pages are vertically oriented unless the user shifts to the Portrait view.
    http://www.w3.org/TR/CSS2/media.html#media-types <br />
    http://www.w3.org/TR/CSS2/page.html

  • Party Shuffle doesn't work as intended

    Hi,
    my brother's iTunes does not work as intended. His Party Shuffle lists songs in order of artists and their albums = it does not shuffle! Pressing the 'Shuffle' button does not change the order at all. Changing the shuffle logic slider in preferences does not affect at all. Rebooting or repairing permissions does not work.
    I have 2 iMacs with iTunes working great so I think I've tried everything. Is this a MacBook bug? Any suggestions?
    Thanks!
    -MacBook Intel (summer 2006)
    -Latest iTunes
    -repaired permissions

    I would suggest taking the Shuffle back to where you bought it from, if it is within the time frame given for exchanges. If you bought it at the Apple Store online, schedule a repair for the iPod at http://depot.info.Apple.com then choose the iPod service.

  • It doesn�t work lazy loading with remote client (toplink)

    I am trying to use lazy loading in a @ManyToOne field but I get an exception. I have been reading in some oracle tutorials that it's necesary use -javaagent:.../lib/toplink-essentials-agent.jar for that it works because this argument activate dynamic weaving in JavaSE. I have put this command line argument javaagent but it doesn't work. Why? Can I have to do another thing? I have done a lot of tests in base to comments read in another forums but I only obtains an exception.
    Caused by: java.io.IOException: Mismatched serialization UIDs
    NOTE: The server use toplink and the remote client query the entitties through a session bean of the server. Besides, I am using Glassfish (Sun application server and toplink).
    Thanks in advance.
    hayken

    At first, thank you for your reply.
    I know that I haven´t explained the problem too well. I have a stateless bean with one remote method that execute a query an returns an entity like this
    @Entity
    public class ModuloEntity extends Serializable
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long idModulo;
    private String nombre;
    @ManyToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="IdProyecto")
    private ProyectoEntity proyecto;
    The remote client invoke this method and in that moment I get this exception.
    21-may-2007 18:55:48 com.sun.corba.ee.impl.encoding.CDRInputStream_1_0 read_value
    ADVERTENCIA: "IOP00810211: (MARSHAL) Exception from readValue on ValueHandler in CDRInputStream"
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.valuehandlerReadException(ORBUtilSystemException.java:7053)
    Caused by: java.io.IOException: Mismatched serialization UIDs : Source (Rep. IDRMI:com.syskonic.gesplan.entities.ModuloEntity:6D06A8C14D488FFF:8E6FC8687EA9E512) = 8E6FC8687EA9E512 whereas Target (Rep. ID RMI:com.syskonic.gesplan.entities.ModuloEntity:1C6925798CDFD3DF:3455DBF4457AE337) = 3455DBF4457AE337
    at com.sun.corba.ee.impl.util.RepositoryId.useFullValueDescription(RepositoryId.java:573)
    If I look the server log, I can see that the call has not been produced, it doesn´t show any exception. It looks that the object managed by the server and the remote client aren´t the same and the corba service doesn´t work when remote client call session method. If I change the ModuloEntity and remove the fetch attribute then all this process executes correctly. The problem is in this attribute.
    NOTE: I am using the javaagent command line argument.
    Hayken

  • StageWebView Doesn't work on Android with Captive Runtme...

    If I make an apk with the default setup (requires separate runtime download) it works, but not with captive runtime. I need captive runtime so that it can be accepted into Amazon Appstore.
    StageWebView.isSupported appears to return true when run, and then it just doesn't work.
    Is there any way around this? Will this work in the future?
    I am probably just going to work around it and do without it for this release, but would like to see if anyone knows what the deal is with it and let folks know of the issue.
    Edit: I have found that any usage of a StageWebView object not only doesn't work, but makes errors and breaks other parts of the app, so I have had to disable any usage of it...

    I'm also using StageWebView, but I don't have the problems you mention. I am using Captive Runtime to compile my app and it's working fine in the Android Market (I haven't tried Amazon Appstore, though).
    The version of AIR i'm using is 3.1. Are you using this version?

  • Convert to DNG doesn't work in Bridge with 5D mark III

    I'm using CS6 and the 'Convert to DNG" option doesn't work when I download my Canon 5D Mark III files, but it works with my 5D Mark II files. HOW can I get this to work. I've had to convert using the DNG converter.

    Update ACR to 8.7.1 and you won't have to convert to DNG at all. the 8.7.1 DNG converter also supports the Mark 3.

  • Ralink rt61 doesn't work on battery with 2.6.36.2

    Hi folks.
    I recently reinstalled Arch on a Packard Bell MZ36 which has a Ralink rt61 wireless card. I'm using latest stock kernel from [core]. When I disconnect AC power and go to battery, I got a kernel message, and wifi doesn't work anymore. If I connect again AC power, it doesn't work. If I boot in battery, it doesn't work neither. Before reinstalling Arch, this machine had 2.6.35 on it, and it worked just fine. Does anyone know how to solve this issue?
    Some outputs:
    lspci
    00:00.0 Host bridge: ATI Technologies Inc Device 5a31 (rev 01)
    00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
    00:12.0 IDE interface: ATI Technologies Inc IXP SB400 Serial ATA Controller (rev 80)
    00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
    00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
    00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80)
    00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 82)
    00:14.1 IDE interface: ATI Technologies Inc IXP SB400 IDE Controller (rev 80)
    00:14.2 Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller (rev 01)
    00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)
    00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80)
    01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M]
    09:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
    09:04.0 Network controller: RaLink RT2561/RT61 rev B 802.11g
    dmesg | grep rt61pci:
    vale@Charlie:~$ dmesg | grep rt61pci
    rt61pci 0000:09:04.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
    Registered led device: rt61pci-phy0::radio
    Registered led device: rt61pci-phy0::assoc
    error:
    Dec 19 13:53:15 Charlie kernel: BUG: unable to handle kernel NULL pointer dereference at (null)
    Dec 19 13:53:15 Charlie kernel: IP: [<f8c4cc14>] rt61pci_config+0x14/0x280 [rt61pci]
    Dec 19 13:53:15 Charlie kernel: *pde = 00000000
    Dec 19 13:53:15 Charlie kernel: Oops: 0000 [#1] PREEMPT SMP
    Dec 19 13:53:15 Charlie kernel: last sysfs file: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT1/type
    Dec 19 13:53:15 Charlie kernel: Modules linked in: ipv6 ext2 radeon arc4 ecb rt61pci crc_itu_t snd_hda_codec_realtek rt2x00pci snd_seq_dummy rt2x00lib led_class snd_seq_oss ttm ma$
    Dec 19 13:53:15 Charlie kernel:
    Dec 19 13:53:15 Charlie kernel: Pid: 2659, comm: irq/22-0000:09: Not tainted 2.6.36-ARCH #1 EasyNote MZ36/EasyNote MZ36
    Dec 19 13:53:15 Charlie kernel: EIP: 0060:[<f8c4cc14>] EFLAGS: 00010292 CPU: 0
    Dec 19 13:53:15 Charlie kernel: EIP is at rt61pci_config+0x14/0x280 [rt61pci]
    Dec 19 13:53:15 Charlie kernel: EAX: 00000000 EBX: f7380ba0 ECX: 00000010 EDX: f61b5f54
    Dec 19 13:53:15 Charlie kernel: ESI: f61b5f54 EDI: 00000010 EBP: f61b5f14 ESP: f61b5eec
    Dec 19 13:53:15 Charlie kernel: DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
    Dec 19 13:53:15 Charlie kernel: Process irq/22-0000:09: (pid: 2659, ti=f61b4000 task=f68e4cf0 task.ti=f61b4000)
    Dec 19 13:53:15 Charlie kernel: Stack:
    Dec 19 13:53:15 Charlie kernel: f6ab14a0 01996089 f630d6d8 f630d6c0 00000002 0ac142b0 f7380ba0 f61b5f30
    Dec 19 13:53:15 Charlie kernel: <0> f6ab14a0 f61b5f54 f61b5f80 f8c4cf04 00000300 00010011 00000001 f7380ba0
    Dec 19 13:53:15 Charlie kernel: <0> 00000100 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    Dec 19 13:53:15 Charlie kernel: Call Trace:
    Dec 19 13:53:15 Charlie kernel: [<f8c4cf04>] ? rt61pci_interrupt_thread+0x84/0x1c8 [rt61pci]
    Dec 19 13:53:15 Charlie kernel: [<c1098280>] ? irq_thread+0x100/0x200
    Dec 19 13:53:15 Charlie kernel: [<c1098180>] ? irq_thread+0x0/0x200
    Dec 19 13:53:15 Charlie kernel: [<c1060764>] ? kthread+0x74/0x80
    Dec 19 13:53:15 Charlie kernel: [<c10606f0>] ? kthread+0x0/0x80
    Dec 19 13:53:15 Charlie kernel: [<c1003d3e>] ? kernel_thread_helper+0x6/0x18
    Dec 19 13:53:15 Charlie kernel: Code: 01 00 00 e9 57 ff ff ff eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 90 55 89 e5 57 89 cf 56 89 d6 53 89 c3 83 ec 1c 8b 02 8b 40 18 <8b> 00 85 c$
    Dec 19 13:53:15 Charlie kernel: EIP: [<f8c4cc14>] rt61pci_config+0x14/0x280 [rt61pci] SS:ESP 0068:f61b5eec
    Dec 19 13:53:15 Charlie kernel: CR2: 0000000000000000
    Dec 19 13:53:15 Charlie kernel: ---[ end trace a5962a1ab0d7fe87 ]---
    Dec 19 13:53:15 Charlie kernel: exiting task "irq/22-0000:09:" (2659) is an active IRQ thread (irq 22)
    Dec 19 13:53:17 Charlie kernel: No probe response from AP 00:4f:74:31:75:b0 after 500ms, disconnecting.
    Dec 19 13:53:17 Charlie kernel: cfg80211: Calling CRDA to update world regulatory domain

    same problem here. Screen turns black and says nearly the same as soon as AC power is off. Other distribution work with no problem (Linux Mint, Dream Linux Live-CD).
    I'm running 32bit 2.6.37-ARCH, same problem occurs with 64bit kernel
    05:09.0 Network controller: RaLink RT2561/RT61 rev B 802.11g
    any idea?

  • ArrayDeque as a stack doesn't work as expected with complex objects

    Trying to use ArrayDeque as a strorage for complex values <PSList<PSol>> (i.e. Arraylists of structured Values PSol), this doesn't work as expected. The code below should produce different values of pSLWk, being stored on bkStack, which are then to be retrieved by pop() to the variables pSL1, pSL2, pSL3.
    However, retrieval only ends up with three identical data sets (variables) pS1,pS2, pS3.
            public PSList<PSol> pSL;
            private ArrayDeque<PSList<PSol>> bkStack=new ArrayDeque<PSList<PSol>>();
            pSLWk=new PSList<PSol>();       // Constructor copies some Array (static field) to the PSLists
            pSL=new PSList<PSol>();
            pSLAux=new PSList<PSol>(pSLWk);   // Constructor copies from existing PSList
            pSLWk.checkResult("pSLWk prior to setDefaults - modifies pSLWk !");
            setDefaults();                                                            // Modifies pSLWk only
            pSLWk.checkResult(" pSLWk after setDefaults");              // .. got changes (o.k.)
            pSL.checkResult(" pSL after setDefaults");                  // .. unchanged  (o.k.)
            pSL.checkResult(" pSLAux after setDefaults");               // .. unchanged  (o.k.)
            bkStack.push(new PSList<PSol>(pSLWk));                      // store changes in bkStack
            pSLWk.getEl(77).setVal(new StringBuffer("4"));              // change pSLWk again (value 4 @ 77)
            pSLWk.checkResult("pSLWk, after PUSH, THEN modify 4@77");   // .. got change (o.k.)
            pSL.checkResult("pSL after setVal 77");
            bkStack.push(pSLWk);                      // store changes in bkStack
            pSLWk.getEl(80).setVal(new StringBuffer("8"));              // change pSLWk again (value 8 @ 80)
            pSLWk.checkResult("pSLWk after setVal 8@80");               // .. got change (o.k.)
            pSL.checkResult("pSL after setVal 80");
            bkStack.push(new PSList<PSol>(pSLWk));                      // store changes in bkStack
            pSL1=new PSList<PSol>(bkStack.pop());
            pSL1.checkResult("pSL1 after 1st pop");
    //      pSL1=bkStack.pop()                                          // Straightforward way doesn't work either...
            pSL2=new PSList<PSol>(bkStack.pop());
            pSL2.checkResult("pSL2 after 2nd pop");
            pSL3=new PSList<PSol>(bkStack.pop());
            pSL3.checkResult("pSL3 after 3rd pSLWk=..pop()");Here the result from the code above:
    debug:
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.>pSLWk prior to setDefaults - modifies pSLWk !
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2   63 <C.R.> pSLWk after setDefaults
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.> pSL after setDefaults
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.> pSLAux after setDefaults
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  463 <C.R.>pSLWk, after PUSH, THEN modify 4@77
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.>pSL after setVal 77
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  4638<C.R.>pSLWk after setVal 8@80
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.>pSL after setVal 80
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  4638<C.R.>pSL1 after 1st pop
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  4638<C.R.>pSL2 after 2nd pop
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  4638<C.R.>pSL3 after 3rd pSLWk=..pop()
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.>pSLWk prior to setDefaults - modifies pSLWk !
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2   63 <C.R.> pSLWk after setDefaults
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.> pSL after setDefaults
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.> pSLAux after setDefaults
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  463 <C.R.>pSLWk, after PUSH, THEN modify 4@77
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.>pSL after setVal 77
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  4638<C.R.>pSLWk after setVal 8@80
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.>pSL after setVal 80
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  4638<C.R.>pSL1 after 1st pop
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  4638<C.R.>pSL2 after 2nd pop
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  4638<C.R.>pSL3 after 3rd pSLWk=..pop()What's the problem with this ?
    Rem: I tried the simple approach as well:
    bkstack.push(pSLWk);
    ...

    Thank you for your comments, although I see we still don't have a common understanding of the problem.
    Firstly, I add the code for the PSList and the PSol classes, so you might find some problem with that:
         public class PSol     {
              private StringBuffer val;
              private int zI;
              private int sI;
              private int bI;
                        // == Konstruktor
              public PSol( StringBuffer v, int z, int s, int b )     {
                   this.val=v;
                   this.zI=z;
                   this.sI=s;
                   this.bI=b;
                        // == Getter,Setter
              public StringBuffer getVal()     {return val;}
              public int getZ()     {return zI;}
              public int getS()     {return sI;}
              public int getB()     {return bI;}
              public int getVSize()     {return val.length();}
              public void setVal(StringBuffer v)     {val=v;}
              public boolean hasVChar( StringBuffer ch, boolean delCh )     {
                   boolean bT=false;
                   StringBuffer fSt=getVal();
                   if (!(fSt.indexOf( ch.toString() )     == -1))     {
                        bT=true;
                        if (delCh)     {
                             setVal(fSt.deleteCharAt(fSt.indexOf( ch.toString() )));
                   return bT;
         }     // PSol
         public class PSList<E> extends ArrayList<PSol>     {
                   /**     Construktor 1: PSList(v,z,s,b) - makes list from single arrays
              private static final long serialVersionUID =  4711L;                         // ### JAVAC Warning! ###
            public PSList (String[] vS, int[] z, int[] s, int[] b) {
                   StringBuffer[] v=new StringBuffer[valDim];
                for (int i=0;i<valDim;i++)  {
                    v=new StringBuffer(vS[i]);
    //ArrayList<PSol> pSL=new ArrayList<PSol>;
                   for (int i=0; i<valDim; i++) {
                        this.add( new PSol( v[i], z[i], s[i], b[i] ) );
    /** Konstruktor2 : makes list from matrix array
    public PSList () {
    for (int j=0; j<nDim; j++) {
    for (int i=0; i<nDim; i++) {
    this.add( new PSol( new StringBuffer(sGuiArr[i][j]), i, j , i/locDim + (j/locDim)*locDim) );
                        /**     ------- Construktor 3 : PSList(PSList pS) - makes list as a copy of an existing one
    public PSList ( PSList<PSol> pX )     {
                   super (pX); // ArrayList-Constructor (Collection)
    // get Element <PSol>
    public PSol getEl ( int i )     {return get(i);}
         public int getCount()     {return size();}
         public int getTValLg()     {
                   int lg=0;
                   for (int i=0; i<getCount(); i++)     {
                        lg=lg + getEl(i).getVal().length();
                   return lg;
                        /**     ------- checkResult()     -     Check if alll elements are single char +dump
         public boolean checkResult(String messg)     {
                   boolean allOne=true;
                   for (int i=0; i<size(); i++)     {
                        if ( getEl(i).getVal().length() > 1 )     {
                             allOne=false;
                             System.out.print(" ");
                   else     {
                        System.out.print(getEl(i).getVal());
                   System.out.println("<C.R.>"+messg);
                   return allOne;
         }     // Class PSList
    Secondly, I don't really see what you mean by pointing out to 'only one "pSLWk" instance of PSList'. The variable pSLWk is the variable to be worked upon; after some change of the contents, I want to save this state of contents to the stack. When I pop that variable from the stack, I wouldn't want to restore it to pSLWK, but to some other variable, e.g. by public PSList<PSol> pSL1;
    pSL1=new PSList<PSol>(bkStack.pop());Again - to my understanding (which comes from old days of microprocessor coding... - there shouldn't be a need to know how the data came there, or what was the name of the variable who stored it there. And  : the implementation of ArrayDeque returns 'elements' of class E, not references !
    Thirdly, you're right, that the method of using a copy constructor for retrieval looks 'weird'. However - I had some other versions that didn't work either, e.g. the straightforward one, as I pointed out.
    And fourthly: yes, I'm almost sure that I'm messing up something somewhere. I went to this forum hoping to clarify that ... :)
    If you don't mind, could you please sketch a few lines of code, how to 'push' a complex variable to a ArrayDeque stack, and retrieve it - by 'pop()' - to some to other variable of the same class later ?
    Might make our discussion much easier, to see how things REALLY work.
    Thank you !                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Wifi doesn't work hands fare with Toyota car sterio or Bose speaker. What is wrong with the wifi on the 4S? Does apple have a fix?

    iPhone 4s doesn't work?  Help

    Same issue here... iphone5S 64GB.  It's intermittent.  Sometimes the rotation works fine, sometimes it doesn't, but most of the time it doesn't work.
    The first time I figured out it wasn't working was when all newly-taken photos and videos were showing up in portrait mode though I always hold in landscape mode when photographing.
    Rotation lock is disabled (tried toggling it on and off).  Tried recalibrating the compass on a whim, no effect (although my compass seems to always require calibration when it's launched now).
    This issue only started happening after upgrading to iOS8.  I did a reset/restore through iTunes rather than an OTA upgrade.
    UPDATE - power-cycling the phone seems to fix it temporarily.

  • Smart zoom doesn't work in Safari with Mavericks

    After update Mountain Lion to Mavericks, smart zoom in Safari doesn't work for me. Same case with swipe pages. Am i the only one?. Thanks.

    Check your Mouse and/or Trackpad settings in System Preferences. The upgrade may have disabled the Smart Zoom and Swipe gestures.
    Some users (myself included) are finding that re-enabling them doesn't work, though.

  • Why doesn't Webm and HTML5 Video doesn't work on youtube with Firefox 4.0b8pre?

    I go to http://www.youtube.com/html5 and enable html5. I do not get any video tags or content of the sort.
    If I do a search: http://www.youtube.com/results?search_query=gods+gonna+cut+you+down&aq=0&webm=1
    None of those videos will appear with the video tag. It will all be adobe flash even though I don't have flash installed. Youtube used to work great with firefox4.0.

    The problem is with your user agent. it is:
    Mozilla/5.0 (X11; Linux x86_64; rv:2.0b8pre) Gecko/20101111 Firefox-4.0/4.0b8pre
    While it should be:
    Mozilla/5.0 (X11; Linux x86_64; rv:2.0b8pre) Gecko/20101111 Firefox / 4.0b8pre
    I have the same problem, and while I do not know its cause, I have found a workaround- install user-agent-switcher.....
    Have you installed firefox-4 with the "daily" ppa too?

Maybe you are looking for