Odd behavior after refreshFill

Hi,
I have a client-side ArrayCollection being filled with a DataService.fill(...) method. When I make a change to something in this collection and commit, everything works fine. If I add an item to the database that matches the fill, it shows up in the list just as it should. However if I try to make a change to this newly added item, I get the below error.
I have turned up the server-side logging and I can see the problem but I can’t get into the code to find the source of the problem. When I make a change to an object that was in the original fill, the log shows something like this:
[LCDS]Before document.updateItem (
     (com.edgerd.common.data.Document) {id=6} (1111630848) {
         tags = [{id=1} (1618503964), {id=2} (20766399)] (class: java.util.HashSet)
         documentDate = Thu Jan 28 14:08:22 PST 2010
         createTime = Thu Jan 28 14:08:22 PST 2010
         workspace = {id=2} (911719589)
         documentsForDocumentId = [] (class: java.util.HashSet)
         browserHistories = [] (class: java.util.HashSet)
         payload = [B@457a32c0
         browserBookmarks = [] (class: java.util.HashSet)
         meta = <meta>
   <title>From hotmail to gmail</title>
</meta>
         contacts = [] (class: java.util.HashSet)
         content = {id=7} (1487879605)
         id = 6
         indexText = null
         category = {id=3} (786813248)
         hidden = false
         previewText = null
         user = {id=4} (1566520675)
         documentEmailCredential = null
         documentsForAttachmentId = [] (class: java.util.HashSet)
And everything works fine. However, when I make a change to the newly added item the log shows something like this:
[LCDS]Before document.updateItem (
     (com.edgerd.common.data.Document) {id=18} (60472470) {
         tags = [{id=4} (412657149)] (class: java.util.HashSet)
         documentDate = Thu Jan 28 17:47:23 PST 2010
         createTime = Thu Jan 28 17:47:23 PST 2010
         workspace = null
         documentsForDocumentId = [] (class: java.util.HashSet)
         browserHistories = [] (class: java.util.HashSet)
         payload = [B@16d1dcae
         browserBookmarks = [] (class: java.util.HashSet)
         meta = <meta>
   <title>From gmail to hotmail</title>
</meta>
         contacts = [] (class: java.util.HashSet)
         content = null
         id = 18
         indexText = null
         category = null
         hidden = false
         previewText = null
         user = null
         documentEmailCredential = null
         documentsForAttachmentId = [] (class: java.util.HashSet)
It can be seen that some fields are now null which had values before. When the refreshFill is run on the server I can see from the log that the new object passed back to the client has all the properties which are null filled in with their IDs (as per the lazy loading rules I have configured). I have also debugged the client to be sure that these fields are properly filled in before the change is committed to the server and they are. My inclination is that when the flex.data.messages.DataMessage is created somehow the lazy properties are set to null in the case of the newly added object. Here is the error I’m getting:
[LCDS]Exception executing assembler operation.  incomingMessage: Flex Message (flex.data.messages.DataMessage)
     operation = update
     id = ASObject(2034427172){id=18}
     clientId = 61818E4D-7985-8B63-5470-77BC365C3DF1
     correlationId = C4B6C894-E4E0-1412-DA94-77C2F655288E
     destination = document
     messageId = 7B5C1532-2B2C-8D60-80ED-77C2F655D457
     timestamp = 1264729650778
     timeToLive = 0
     body =
         tags
       [Proxy(inst=com.edgerd.common.data.Document@3b36b0f1) proxyClass=class flex.messaging.io.BeanProxy descriptor=[ excludes: [browserBookmarks, browserHistories, category, contacts, content, documentsForAttachmentId, documentsForDocumentId, tags, user, workspace]]],
       [Proxy(inst=com.edgerd.common.data.Document@39abc96) proxyClass=class flex.messaging.io.BeanProxy descriptor=[ excludes: [browserBookmarks, browserHistories, category, contacts, content, documentsForAttachmentId, documentsForDocumentId, tags, user, workspace]]]
     hdr(prevReferencedIds) = {content=null, tags=null, category=null, workspace=null, documentsForDocumentId=null, browserHistories=null, browserBookmarks=null, user=null, documentEmailCredential=null, _LT::={}, contacts=null, documentsForAttachmentId=null}
     hdr(DSId) = EA528CD8-1418-C7EE-CF24-A93D6EF31AA9
     hdr(newReferencedIds) = {tags=
             {id=4}
           ], content=null, category=null, workspace=null, documentsForDocumentId=null, browserHistories=null, browserBookmarks=null, user=null, documentEmailCredential=null, _LT::={}, contacts=null, documentsForAttachmentId=null}
     hdr(DSEndpoint) = my-rtmp
     exception: org.hibernate.PropertyValueException: not-null property references a null or transient value: com.edgerd.common.data.Document.category
     at org.hibernate.engine.Nullability.checkNullability(Nullability.java:72)
     at org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:270)
There is obviously more stack trace too. I can get around this issue by running a refreshCollection(...) client-side on the ArrayCollection that holds the objects before committing but this doesn’t scale well at all. I’m hoping for a better solution.
Thanks for any help you can give me and let me know if more information is needed.
Mike

> If I add an item to the database that matches the fill, it shows up in the list just as it should. However if I try to make a change to this newly added item, I get the below error.
This newly created item has to be "registered" with lcds to be managed.  *May* want to try service.getItem(itemId)

Similar Messages

  • Odd Sound Behavior After 10.6.2 Update

    I've had a few odd sound issues since updating to 10.6.2:
    1) Volume is set at 50% after some reboots (I normally have it set at 12.5%). This has happened about 1/2 the time after reboots (which have unfortunately been much more often in 10.6).
    2) While iTunes is playing the sound stops and the sound icon in the menu bar greys out. iTunes keeps 'playing' but I don't get any sound. This lasts for 5 - 10 seconds and happens a few times an hour but without any predictability.
    It may happen at times that iTunes isn't playing and I just don't notice it. It has happened while the system as announcing the time as well. This may be the cause of sound issue #3 but I haven't caught the sound icon in a 'grey state' when the notification sounds don't play yet.
    When the sound icon is grey I get the beach ball and Safari doesn't respond (standard 'Application not responding' message). Other apps seem to work while this is happening (Finder, System Prefs - including sound panel, FireFox, etc).
    3) Some expected sounds used for feedback in Finder & Mail don't always work. This is very intermittent and may be happening more often then I notice these are notification sounds and I don't realize that I've missed them. I don't know if it's associated to the sound failure mentioned in #2.
    ~
    I've also had some other odd behavior:
    * System won't wakeup from sleep (not always but often enough to require several reboots in the last week).
    * Safari just eats up RAM.
    * Safari has locked up for no apparent reason (no clue as to what sets it off).
    * Safari has locked up while using a Java applet. This only happens on occasion but always happens when launching a GoToMyPC session (GTMPC works fine in FireFox, even while Safari is locked up). This is separate from the Safari issue noted above.
    I'm using 10.6.2 w/ Safari 4.0.4 & iTunes 9.0.2 (Flash not installed)
    James

    You could try [these grey sceen, etc., troubleshooting steps|http://support.apple.com/kb/TS2570] ignoring any duplicaion of what you already have don. And, you could try [these general troubleshooting steps|http://support.apple.com/kb/TS1394] again ignoring duplication.
    If all above fails, then I suggest you do a repair install of Sno by installing Sno over Sno as in an upgrade install. Such an install, while usually very safe, still is an install so be appropriated backed up if you proceed.

  • IMac 21" late 09: Slow, screen flickering/tearing and odd behavior - the problem that puzzles everyone

    PLEASE HELP!
    My iMac 21" late -09, started acting a bit wierd a year ago. Things got worse rapidly, it got slower, the screen flickers/tears (see link below), short moments of lost internet connection, lost connection whit the keyboard (might be keyboard that is broken), almost overheats when gaming and odd behavior on some webbsites whit galleries and/or videos.
    Let's begin whit the screen: it's not vertikal lines or major distortions, just a subtle horisontal line that "wanders" from bottom to topp and some lagging from time to time. Looks like this: http://cl.ly/3i2W2o3S1D2T
    The wierd thing is that hi-res does not mean more "tearing". Yes the lagg and risk of tearing increases, but the connection seems to be: lots of movement=tearing. So a pixeld 240p video of people dancing can be way worse than a news debbate in1080p!?!
    Lost connection whit internet and keyboard rarely happens and is probably due to something else, but thought that was good to have in mind.
    Odd behavior: galleries ex: when browsing images on Facebook in fullscreen, the image sometimes jumps around in the beginning and when clicking on next the same picture might appear again or just nothing at all. When scrolling down overwiewing a gallery, the updating stops and you can't scroll down further. This problem appers mainly on FB, deviantart also acts a bit wierd but there is often small issues whit image sites. Doesn't help to switch browsers either!
    Videos: Youtube is horrible to use, stops loading, dosen't start loading, erases everything loaded (grey bar disapears and reloads), refuse to switch ressolution and suddenly stops the video like it was done! "ehh.. wasn't this 2min long? Not anymore, now its 34sec!". Mainly a Youtube problem but many similar sites can be a bit problematic to use.
    NO, it's not the HTML-5 problem or any standard flash issue and using a different browser dosen't help!
    Worst is the fact that most of these errors are not constant! One day your watching youtube or mabey a movie in VLC, a bit laggy, but almost no problem. Next day **** brakes lose and after 2hours of struggling you are ready to stabb yourself in the face!
    What i tried: Most easy buggfixes that might cause the above problems, updating most things, Switched from OS X SL to OS X ML, complete reinstall and some things i probably forgot by now. Then went to MacStore for repair, they didn't find anything wrong and said it worked fine after the standard diagnostic/repair program!?! Went home and everything was the same! Went a second time to MacStore, same result.
    So I'v reinstalled a few times and it seems to improve the Mac. But 2-3weeks later every error is back, even if I barely installed or downloaded anything!?!
    Any idea what this could be? Or is the graphic card broken and MacStore has a blind, inbred muppet as a technician?

    No I didn't. The first time i explained the problem thoroughly and thought that they just couldn't miss such a visual error. I was wrong. The second time the technician wasn't there so i showed the above clip to the salesstaff and explained everything onceagain. Later the technician called me and we talked for 10min.
    Btw, the problems always "manifests themselves", just varies between strenght and frequence.
    But all other issues aside, what could cause the tearing of the screen as seen int the above clip?

  • Bug or Feature? Different behavior after 1.6.0_02 in both Firefox & IE6/IE7

    Greetings,
    I have been testing a small java applet for a phpbb mod, named Proxy Revealer
    Basically the java applet "phones home" (connects back to the http host serving the applet) via a Socket connection to establish a direct connection, then basically writes a custom HttpRequest string with some parameters passed to it from the php script's HTML, so it looks like:
    GET /probe.php?mode=java&ip=initial_external_ip&extra=random_unique_identifier&local=LAN_IP&vendor=java_vendor&version=num&user_agent=browser
    which would allow the php script on the host/site to verify the client's IP address, and compare it with the initial IP that requested the page which loaded the applet, as well as Internal LAN IP if user is behind a router/NAT
    This allows the php script to unmask & log proxied users for security purposes, in case of spamming/trolling on the forum, in an attempt to thwart the average spammers/trollers at the least.
    The applet and the code works as desired and in various browsers, but only on JRE 1.6.0_02 and earlier releases...
    It seems ever since JRE 1.6.0_03, this has stopped working when the end-user has HTTP Proxy configured in the browser.
    I tested latest JRE as of date, ver 1.6.0_07, with IE6, IE7 & Firefox 2.0.0.15 and 2.0.0.16 and it still exhibits this odd behavior.
    This is what appears in Java Console when I try to visit the page serving this applet with an HTTP proxy configured in browser:
    java.security.AccessControlException: access denied (java.net.SocketPermission xxx.xxx.xxx.xxx:80 connect,resolve)
    xxx.xxx.xxx.xxx is the resolved IP of the server host that is hosting the applet, so basically the same origin....
    If I disable the HTTP Proxy configured in the browser, the applet connects back fine. So it only happens when HTTP Proxy is configured in browser..
    Is this a new feature or a bug??
    Here's the java applet code:
    // httpRequestor.java
    // Copyright (c) MMVI TerraFrost
    // Licensed under the GPL.
    import java.applet.*;
    import java.net.*;
    public class HttpRequestor extends Applet
         public void start()
              try
                   String javaVendor = System.getProperty("java.vendor");
                   String javaVersion = javaVendor.startsWith("Microsoft") ? System.getProperty("java.version") : System.getProperty("java.vm.version");
                   Socket sock = new Socket(getParameter("domain"), Integer.parseInt(getParameter("port")));
                   String path = getParameter("path")+"&local="+sock.getLocalAddress().getHostAddress()+
                        "&vendor="+URLEncoder.encode(javaVendor, "UTF-8")+
                        "&version="+URLEncoder.encode(javaVersion, "UTF-8")+
                        "&user_agent="+URLEncoder.encode(getParameter("user_agent"), "UTF-8");
                   String httpRequest = "GET "+path+" HTTP/1.0\r\nHost: "+getParameter("domain")+"\r\n\r\n";
                   sock.getOutputStream().write(httpRequest.getBytes());
                   sock.getInputStream();
              catch (Exception e)
                   e.printStackTrace();
    }and the relative portion from the probe.php script loading it:
              $java_url = $path_name . "probe.$phpEx?mode=java&ip=$client_ip&extra=$sid,$key";
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
      <title></title>
    </head>
    <body>
    <applet width="0" height="0" code="HttpRequestor.class" codebase=".">
      <param name="domain" value="<?php echo $server_name; ?>">
      <param name="port" value="<?php echo $board_config['server_port']; ?>">
      <param name="path" value="<?php echo $java_url; ?>">
      <param name="user_agent" value="<?php echo htmlspecialchars($HTTP_SERVER_VARS['HTTP_USER_AGENT']); ?>">
    </applet>
    </body>
    </html>A barebone/proof-of-concept demo (also employing a couple other tricks to detect CGI proxies in the same page):
    http://www.frostjedi.com/terra/scripts/ip_unmasker.php?mode=utf16
    Another similar java applet code (with demo) is found towards the bottom of this page:
    http://www.burghardt.pl/2008/05/web-browser-anonymity-threats/
    Both of these demos work with JRE versions 1.6.0_02 and older, but fail to work (in both IE & FF) with JRE 1.0.6_03 and newer - up to 1.0.6_07 which is latest as of date
    Thanks,
    Jasmine

    Thought I might elaborate on the details of the bug report I made, perhaps someone needs to add to it or needs to understand the problem better.
    Description:
    Unsigned applets cannot connect back via Socket to the originating host (from codebase) when a Proxy is configured in user's browser (IE7/IE6//FF3/FF2 tested) and when origin host's IP address doesn't resolve back to the same hostname.
    Example:
    www.hostingsite.com resolves to 1.2.3.4
    but, 1.2.3.4 resolves back to 4.3.2.1-somewebhost.com
    Affects JRE versions 1.6.0_03 - 1.6.0_07
    This wasn't a problem in 1.6.0_02 or prior versions according to my tests.
    An AccessControlException is thrown about SocketPermission:
    I believe the security manager is doing unnecessary lookups, even after the resolved IP matches to the IP of the origin host. This is apparent from the fairly long delay before the ACE is thrown about SocketPermission.
    Steps to Reproduce:
    1. Configure HTTP Proxy in browser (IE/Firefox)
    2. visit an html page that embeds a simple applet that tries to connect back to origin host whose hostname resolves to an IP address but the IP address resolves to a different hostname. (example code below)
    Expected Result:
    Applet should be able to connect back to originating host via Socket connection or write (post) to a URL on origin host (which requires a new Socket connection back)
    Actual Result:
    Socket sock = new Socket(Proxy.NO_PROXY);
    InetSocketAddress sockAddress = new InetSocketAddress(getCodeBase().getHost(), port);
    sock.connect(sockAddress);The above snippet of code would throw an ACE about SocketPermission when applet tries to initiate sock.connect
    Moreover,
    URL urlRequest = new URL(this.getCodeBase()+path);
    HttpURLConnection conn = (HttpURLConnection)urlRequest.openConnection(Proxy.NO_PROXY);
    conn.getOutputStream();would also throw an ACE about SocketPermission when the applet tries to initiate Socket connection for the conn.getOutputStream() call.
    Error Message(s):
    java.security.AccessControlException: access denied (java.net.SocketPermission x.x.x.x:80 connect,resolve)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkConnect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at HttpRequestor.start(HttpRequestor.java:16)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    x.x.x.x being the resolved IP address of the origin server
    Source code for an executable test case:
    import java.applet.*;
    import java.net.*;
    public class HttpRequestor extends Applet
         public void start()
              try
                   Socket sock = new Socket(Proxy.NO_PROXY);
                   InetSocketAddress sockAddress = new InetSocketAddress(getCodeBase().getHost(), Integer.parseInt(getParameter("port")));
                   sock.connect(sockAddress);
                   String path = getParameter("path")+"&local="+sock.getLocalAddress().getHostAddress();
                   String httpRequest = "GET "+path+" HTTP/1.0\r\nHost: "+getCodeBase().getHost()+"\r\n\r\n";
                   sock.getOutputStream().write(httpRequest.getBytes());
                   sock.getInputStream();
              catch (Exception e)
                   e.printStackTrace();
    Workaround:
    The only possible workaround I could find is if the the applet can be loaded from IP-address in the codebase URL to avoid the unnecessary lookups by the SecurityManger.
    This, however, maybe very difficult to use in most virtual-hosting environment, and IE browsers older than IE7 would most likely throw an error like "Class not found".
    Example, if www.hostingsite.com resolves to 1.2.3.4
    and http://1.2.3.4 goes to http://www.hostingsite.com
    Change the codebase URL in the html embedding the applet, from:
    "http://www.hostingsite.com/classes"
    to:
    "http://1.2.3.4/classes"
    I also forgot to mention in my bug report that this would also be quite a big problem in server farms, where the origin-hostname resolves to multiple IP addressses and when those IP addresses do not all resolve back to the same hostname.

  • Photoshop CS4 - odd behavior in titling

    All,
    I edit video almost every night and every weekend and have been doing this for several years now.  Suddenly, I'm seeing an odd behavior now that I've never seen before. 
    I created a title that consists only of a red circle and have it as one of my title templates.  I've used the red circle template across many projects without problems  I use it to highlight an athlete in the video.  I use keying so that the circle stays around the athlete for the entire clip so that a coach can focus on the specific athlete during the action.  My videos are used by college coaches for recruiting high school athletes.
    In the last few days, when I select the red circle title and the Motion bar under Video Effects under Effects Control so I can perform the keying, the video will flip to black so that all I see is the red circle on a black background.  If I drag the scrubber a little, the video reappears with the red circle overlayed, but as soon as I release the scrubber, the video goes black again. This makes it impossible to change the key values for the title since I can't see the video.
    For trouble-shooting, I created a new red circle title from scratch but it behaves the same.  I tried using a completely different title but it behaves the same.
    I assume I inadvertantly hit a switch somewhere that has changed the behavior, but I can't figure this out.  If someone can tell me what I'm doing wrong, I would greatly appreciate your help.
    Thanks,
    Dan
    Windows 7 64-bit
    Adobe Production Premium CS4
    Adobe PPro CS4 4.2.1
    Canon AVCHD video with output typically to H.264
    Asus Laptop G74Sx with 8g RAM and Intel Core i7-2630QM CPU @2GHz

    What exaxctly are you talking about? Using the graphic in Premiere? If so, this is probably a more appropriate question for the PPro forum. That aside, why even bother? Premiere's title tool can do circles with transparency no problem and then After Effects has this neat parametric Circle effect and a motio0n tracker, too. Sounds like you love doing things the hard way....
    Mylenium

  • Issues Exiting Sleep Mode and Odd Behavior On Restart with GPU

    I'm running a completely stock HP P7-1240 desktop except for an EVGA GeForce GTX 750 TI SC GPU. The GPU runs fine when the computer is up and running (which is odd because the forums have several other threads mentioning that the 700 series should be incompatible with my BIOS).
    However, there are two main strange problems that have arisen since installing the GPU. One is that, whenever the computer enters sleep mode, it refuses to wake back up properly. It seems to me that the computer activates but does not send any signals out from the back panel (at the very least, no video signal because my monitors stay blank). On a rare occasion, it will wake back up properly, but at least 90% of the time, it needs to be restarted. Upon restart, sometimes the same issue occurs (no video output), and the computer needs to be restarted a second time before it will boot up again.
    This leads to the second problem. When starting, the computer goes to a black screen listing basic computer specs (see attached photo. At this screen, the computer does not respond to any input.  It proceeds to beep 3 times, all the same length and pitch spaced about 30 seconds apart. After the third beep, the screen goes black and then the computer boots up normally with no further odd behavior.
    Without the GPU, none of these issues happen. At the very least, not regularly.
    I have seen another thread mentioning that, although the HP support page for my desktop does not list it, there is a BIOS update for my motherboard that has fixed issues relating to more modern GPU's. By nature of it being a BIOS update that does not (appear to) officially support Windows 7, I'm hesitant to move forward with that potential solution.
    Although I'm planning to build myself a new computer from scratch at some point, I was hoping to at least get another year out of this machine, if not 2.  While this issue doesn't appear to be immediately threatening the stability of the computer, I can't help but think that this is an issue I should iron soon to avoid future issues (not to mention it would save me a fair amount of electricity to be able to enter sleep mode on a regular basis).
    Any suggestions would be greatly appreciated!
    This question was solved.
    View Solution.

    Hello @johnmwalker,
    I understand that you are having some issues with your HP Pavilion p7-1240 Desktop PC waking up from sleep mode. I am not sure how much can be done for the delay on your startup with an OEM BIOS you are limited in what you can do and since your graphic card works I think you would be better off not messing too much with the BIOS at this point. The one thing I would try is going into the BIOS using the HP Support document:BIOS Setup Utility Information and Menu Options, and under Advanced > Power-On Options set POST Messages to Disable and POST Delay (in seconds) to None.
    Now the waking from sleep mode issue  could just be the hybrid sleep setting causing you an issue with sleep mode. Use the following steps to disable hybrid sleep:
    Step 1. Click Start
    Step 2. Click Control Panel.
    Step 3. Click System and Security
    Step 4. Click Power Options
    Step 5. Click High Performance from Power Options
    Step 6. Click Change plan settings
    Step 7. Select Change advanced power settings
    Step 8. Click the plus (+) sign next to Sleep
    Step 9. Click the plus (+) sign next to Allow hybrid sleep
    Step 10. Select Off from the drop-down menu
    Step 11. Click OK
    Please re-post if you require additional support. Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • Strange behavior after software update

    I'm working with a 13" MacBook running OS X 10.4.11. Recently, the owner ran Software Update to download the most recent security update. On shutting down before restarting, she was prompted to recover unused space in her Filevault-protected home directory. The recovery process hung, and she was forced to force-restart the Mac. And that's when things got weird ...
    The Mac now exhibits all kinds of odd behavior, including widespread amnesia with regard to its preference files. Several applications - Mail, iChat, Address Book etc. - will randomly 'forget' all their stored data and revert to the 'never used before state'. iTunes repeatedly complains that its library file is corrupt. Mail attachments go missing. The Address Book lost all its data, and it took multiple attempts to get it to re-read the backed-up version of the data file. The Console indicates some errors reading plist files. Downloaded files appear damaged (trying to download the OS X 10.4.11 Combo Update, for instance, resulted in failed verification) although downloading them to another volume seems to work.
    TechTool 3.11 doesn't indicate any problems with the computer, and following the Apple-recommended procedure for verifying a sparse image (i.e. a FileVault home directory) didn't report any errors. However, it's pretty clear that something is very wrong.
    Has anyone seen this issue before, and found a fix? Or is the best solution to nuke and reinstall the OS from zero, then restore all the user's data from backups?

    One other possibility would be to reapply that update and/or the The combo update for Intel-based Macs...
    http://www.apple.com/support/downloads/macosx10411comboupdateintel.html
    Repair Permissions before & after re-install, then reboot again each time.

  • IMovie 09 odd behavior

    A few days back, without a reason, iM 09 would not open. After pref trash and permission repair there was no change. After re-install it now opens, but has odd behavior (will not play projects and events stutter. I also noticed that QT (have X & 7Pro) begins to play backwards when the cursor hovers over the screen. Just did the latest OS update, no change
    Any similar experiences out there and any solutions if so.
    I've been throught the iMovie threads for the last hour and see nothing that relates.
    Thanks,
    Wayne Garriepy (Mac since 99)

    I should add that QT X does not play when prompted, but when I drag in the scrubber and pull the playhead forward, the playhead, when released, as in QT7, plays backward.
    I've had friends make screenshots of how the preferences appear (their names & size) in their Home folders and there seems to be no difference. Really stumped.

  • Odd behavior when using custom Composite/CompositeContext and antialiasing

    Hi,
    I created a custom Composite/CompositeContext class and when I use it with antialiasing it causes a black bar to appear. I seems it has nothing to do with the compose() code but just that fact that I set my own Composite object. The submitted code will show you what I mean. There are 3 check boxes 1) allows to use the custom Composite object, 2) allows to ignore the compose() code in the CompositeContext and 3) toggles the antialiasing flag in the rendering hints. When the antialiasing flag is set and the Composite object is used the bar appears regardless of if the compose() method is executed or not. If the Composite object is not used the bar goes away.
    The Composite/CompositeContext class performs clipping and gradient paint using a Ellipse2D.Float instance.
    a) When the Composite is not used the code does a rectangular fill.
    b) When the Composite is used it should clip the rectangular fill to only the inside of a circle and do a gradient merge of background color and current color.
    c) If the compose() method is ignored then only the background is painted.
    d) When antialiasing is turned on the black bar appears, i) if you ignore the compose() method it remains, ii) if you do not use the Composite object the bar disappears (???)
    NOTE: the compose method's code is only for illustration purposes, I know that AlphaComposite, clipping and/or Gradient paint can be used to do what the example does. What I am trying to find out is why the fact of simply using my Composite object with antialiasing will cause the odd behavior.  Been trying to figure it out but haven't, any help is appreciated.
    Thx.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.awt.image.*;
    import javax.swing.*;
    public class TestCustomComposite2
    extends JFrame
    implements ActionListener {
        private JCheckBox useCompositeChk, useAntialiasingChk, useCompositeContextChk;
        private Shape clippingShape = new Ellipse2D.Float(100, 100, 100, 100);
        private MergeComposite composite = new MergeComposite();
        public TestCustomComposite2() {
            super("Test Custom Composite");
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JPanel cp = (JPanel) getContentPane();
            cp.setLayout(new BorderLayout());
            cp.add(new TestCanvas(), BorderLayout.CENTER);
            JPanel panel = new JPanel(new FlowLayout(FlowLayout.LEFT, 0, 0));
            panel.add(useCompositeChk = new JCheckBox("Use Composite", true));
            useCompositeChk.addActionListener(this);
            panel.add(useCompositeContextChk = new JCheckBox("Use Composite Context", true));
            useCompositeContextChk.addActionListener(this);
            panel.add(useAntialiasingChk = new JCheckBox("Use Antialiasing"));
            useAntialiasingChk.addActionListener(this);
            cp.add(panel, BorderLayout.SOUTH);
            pack();
            setVisible(true);
        public void actionPerformed(ActionEvent evt) {
            useCompositeContextChk.setEnabled(useCompositeChk.isSelected());
            invalidate();
            repaint();
        private class TestCanvas
        extends JComponent {
            public TestCanvas() {
                setSize(300, 300);
                setPreferredSize(getSize());
            public void paint(Graphics gfx) {
                Dimension size = getSize();
                Graphics2D gfx2D = (Graphics2D) gfx;
                gfx2D.setColor(Color.GRAY);
                gfx2D.fillRect(0, 0, size.width, size.height);
                RenderingHints rh = null;
                if(useAntialiasingChk.isSelected()) {
                    rh = gfx2D.getRenderingHints();
                    gfx2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
                Rectangle r = clippingShape.getBounds();
                //gfx2D.setColor(Color.GREEN);
                //gfx2D.drawRect(r.x, r.y, r.width, r.height);
                gfx2D.setColor(Color.YELLOW);
                gfx2D.fill(clippingShape);
                Composite oldComposite = null;
                if(useCompositeChk.isSelected()) {
                    oldComposite = gfx2D.getComposite();
                    gfx2D.setComposite(composite);
                gfx2D.setColor(Color.ORANGE);
                gfx2D.fillRect(r.x, r.y, r.width + 1, r.height + 1);
                if(oldComposite != null)
                    gfx2D.setComposite(oldComposite);
                if(rh != null)
                    gfx2D.setRenderingHints(rh);
        public class MergeComposite
        implements Composite, CompositeContext {
            public CompositeContext createContext(ColorModel srcColorModel,
                                                  ColorModel dstColorModel,
                                                  RenderingHints hints) {
                return this;
            public void compose(Raster src,
                                Raster dstIn,
                                WritableRaster dstOut) {
                if(!useCompositeContextChk.isSelected())
                    return;
                int[] srcPixel = null;
                int[] dstPixel = null;
                for(int sy = src.getMinY(); sy < src.getMinY() + src.getHeight(); sy++) {
                    for(int sx = src.getMinX(); sx < src.getMinX() + src.getWidth(); sx++) {
                        int cx = sx - dstOut.getSampleModelTranslateX();
                        int cy = sy - dstOut.getSampleModelTranslateY();
                        if(!clippingShape.contains(cx, cy)) continue;
                        srcPixel = src.getPixel(sx, sy, srcPixel);
                        int ox = dstOut.getMinX() + sx - src.getMinX();
                        int oy = dstOut.getMinY() + sy - src.getMinY();
                        if(ox < dstOut.getMinX() || ox >= dstOut.getMinX() + dstOut.getWidth()) continue;
                        if(oy < dstOut.getMinY() || oy >= dstOut.getMinY() + dstOut.getHeight()) continue;
                        dstPixel = dstIn.getPixel(ox, oy, dstPixel);
                        float mergeFactor = 1.0f * (cy - 100) / 100;
                        dstPixel[0] = merge(mergeFactor, srcPixel[0], dstPixel[0]);
                        dstPixel[1] = merge(mergeFactor, srcPixel[1], dstPixel[1]);
                        dstPixel[2] = merge(mergeFactor, srcPixel[2], dstPixel[2]);
                        dstOut.setPixel(ox, oy, dstPixel);
            protected int merge(float mergeFactor, int src, int dst) {
                return (int) (mergeFactor * src + (1.0f - mergeFactor) * dst);
            public void dispose() {
        public static void main(String[] args) {
            new TestCustomComposite2();
    }

    I got a better version to work as expected. Though there will probably be issues with the transformation to display coordinates as mentioned before. At least figured out some of the kinks of using a custom Composite/CompositeContext object.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.awt.image.*;
    import javax.swing.*;
    public class TestCustomComposite2
    extends JFrame
    implements ActionListener {
        private JCheckBox useCompositeChk, useAntialiasingChk, useCompositeContextChk;
        private Shape clippingShape = new Ellipse2D.Float(100, 100, 100, 100);
        private MergeComposite composite = new MergeComposite();
        public TestCustomComposite2() {
            super("Test Custom Composite");
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JPanel cp = (JPanel) getContentPane();
            cp.setLayout(new BorderLayout());
            cp.add(new TestCanvas(), BorderLayout.CENTER);
            JPanel panel = new JPanel(new FlowLayout(FlowLayout.LEFT, 0, 0));
            panel.add(useCompositeChk = new JCheckBox("Use Composite", true));
            useCompositeChk.addActionListener(this);
            panel.add(useCompositeContextChk = new JCheckBox("Use Composite Context", true));
            useCompositeContextChk.addActionListener(this);
            panel.add(useAntialiasingChk = new JCheckBox("Use Antialiasing"));
            useAntialiasingChk.addActionListener(this);
            cp.add(panel, BorderLayout.SOUTH);
            pack();
            setVisible(true);
        public void actionPerformed(ActionEvent evt) {
            useCompositeContextChk.setEnabled(useCompositeChk.isSelected());
            invalidate();
            repaint();
        private class TestCanvas
        extends JComponent {
            public TestCanvas() {
                setSize(300, 300);
                setPreferredSize(getSize());
            public void paint(Graphics gfx) {
                Dimension size = getSize();
                Graphics2D gfx2D = (Graphics2D) gfx;
                gfx2D.setColor(Color.GRAY);
                gfx2D.fillRect(0, 0, size.width, size.height);
                RenderingHints rh = null;
                if(useAntialiasingChk.isSelected()) {
                    rh = gfx2D.getRenderingHints();
                    gfx2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
                Rectangle r = clippingShape.getBounds();
                //gfx2D.setColor(Color.GREEN);
                //gfx2D.drawRect(r.x, r.y, r.width, r.height);
                gfx2D.setColor(Color.YELLOW);
                gfx2D.fill(clippingShape);
                Composite oldComposite = null;
                if(useCompositeChk.isSelected()) {
                    oldComposite = gfx2D.getComposite();
                    gfx2D.setComposite(composite);
                gfx2D.setColor(Color.ORANGE);
                gfx2D.fillRect(r.x, r.y, r.width + 1, r.height + 1);
                if(oldComposite != null)
                    gfx2D.setComposite(oldComposite);
                if(rh != null)
                    gfx2D.setRenderingHints(rh);
        public class MergeComposite
        implements Composite, CompositeContext {
            public CompositeContext createContext(ColorModel srcColorModel,
                                                  ColorModel dstColorModel,
                                                  RenderingHints hints) {
                return this;
            public void compose(Raster src,
                                Raster dstIn,
                                WritableRaster dstOut) {
    //            dumpRaster("SRC   ", src);
    //            dumpRaster("DSTIN ", dstIn);
    //            dumpRaster("DSTOUT", dstOut);
    //            System.out.println();
                if(dstIn != dstOut)
                    dstOut.setDataElements(0, 0, dstIn);
                if(!useCompositeContextChk.isSelected())
                    return;
                int[] srcPixel = null;
                int[] dstPixel = null;
                int w = Math.min(src.getWidth(), dstIn.getWidth());
                int h = Math.min(src.getHeight(), dstIn.getHeight());
                int xMax = src.getMinX() + w;
                int yMax = src.getMinY() + h;
                for(int x = src.getMinX(); x < xMax; x++) {
                    for(int y = src.getMinY(); y < yMax; y++) {
                        try {
                            // THIS MIGHT NOT WORK ALL THE TIME
                            int cx = x - dstIn.getSampleModelTranslateX();
                            int cy = y - dstIn.getSampleModelTranslateY();
                            if(!clippingShape.contains(cx, cy)) {
                                dstPixel = dstIn.getPixel(x, y, dstPixel);
                                dstOut.setPixel(x, y, dstPixel);
                            else {
                                srcPixel = src.getPixel(x, y, srcPixel);
                                dstPixel = dstIn.getPixel(x, y, dstPixel);
                                float mergeFactor = 1.0f * (cy - 100) / 100;
                                dstPixel[0] = merge(mergeFactor, srcPixel[0], dstPixel[0]);
                                dstPixel[1] = merge(mergeFactor, srcPixel[1], dstPixel[1]);
                                dstPixel[2] = merge(mergeFactor, srcPixel[2], dstPixel[2]);
                                dstOut.setPixel(x, y, dstPixel);
                        catch(Throwable t) {
                            System.out.println(t.getMessage() + " x=" + x + " y=" + y);
            protected int merge(float mergeFactor, int src, int dst) {
                return (int) (mergeFactor * src + (1.0f - mergeFactor) * dst);
            protected void dumpRaster(String lbl,
                                      Raster raster) {
                System.out.print(lbl + ":");
                System.out.print(" mx=" + format(raster.getMinX()));
                System.out.print(" my=" + format(raster.getMinY()));
                System.out.print(" rw=" + format(raster.getWidth()));
                System.out.print(" rh=" + format(raster.getHeight()));
                System.out.print(" tx=" + format(raster.getSampleModelTranslateX()));
                System.out.print(" ty=" + format(raster.getSampleModelTranslateY()));
                System.out.print(" sm=" + raster.getSampleModel().getClass().getName());
                System.out.println();
            protected String format(int value) {
                String txt = Integer.toString(value);
                while(txt.length() < 4)
                    txt = " " + txt;
                return txt;
            public void dispose() {
        public static void main(String[] args) {
            new TestCustomComposite2();
    }

  • Very odd behavior regarding variable naming with DataService.fill()

    I'm experiencing this odd behavior in LCDS 2.5, wich pertains
    to variable naming for the objects returned by a DataService.fill()
    call. I ceated a simple destination with a Java adapter. the Server
    side Java data object is defined as follows)
    package test;
    public class RepositoryObject
    private String m_strObjectId;
    private boolean m_bIsValid;
    private long m_lSize;
    [public setters and getters here]
    On Flex side, the ActionScript value object is defined as
    follows:
    package test
    [Bindable]
    [RemoteClass(alias="test.RepositoryObject")]
    public class RepositoryObject
    public var m_strObjectId:String;
    public var m_bIsValid:Boolean;
    public var m_lSize:Number;
    public function RepositoryObject()
    The FDS destination definition (in
    data-management-config.xml):
    <destination id="testDs">
    <adapter ref="java-dao" />
    <properties>
    <source>test.TestDS</source>
    <scope>application</scope>
    <metadata>
    <identity property="m_strObjectId"/>
    </metadata>
    <network>
    <session-timeout>20</session-timeout>
    <paging enabled="false" pageSize="10" />
    <throttle-inbound policy="ERROR" max-frequency="500"/>
    <throttle-outbound policy="REPLACE"
    max-frequency="500"/>
    </network>
    <server>
    <fill-method>
    <name>getObjects</name>
    </fill-method>
    </server>
    </properties>
    </destination>
    What I figured while debugging into the client was is the
    data returned by the service (I'm using the mx:DataService call)
    returns objects whose variable names
    do not match my definition:
    m_strObjectId becomes objectId
    m_lSize becomes size
    m_bIsValid becomes isValid
    I wonder why that renaming??? Basically "m_str" prefix was
    stripped and capital "O" became lower case "o" for my first
    variable etc.
    For instance, in a datagrid cell renderer I could not
    reference the returned value as {data.m_strObjectId}, but if I use
    {data.objectId}, it works.
    Any ideas why this behavior (which I found confusing and odd)
    would be greately appreciated.
    Robert

    The latter, as "getM_strObjectId " is an ugly name... don't
    tell me that causes issue...ok kidding, I got you. The
    setter/getter names are important in this context.
    Thanks a lot.
    Robert

  • Sequence behavior after importing via DataPump

    Hi Friends,
    I'm running Oracle DB 11.2.0.3 on Windows 2008 R2 SP1 Servers and I faced a strange sequences behavior after importing a schema via Data Pump.
    The export is done this way:
    EXPDP userid/password dumpfile= logfile= directory= remap_dumpfile=y (no news)
    The import is done this way
    IMPDP userid/password dumpfile= logfile= directory= remap_schema=(old_one:new_one) remap_tablespace=(old_ones:new_ones, so on...)
    The import works fine. There are no errors and the sequences are as well imported with no warnings.
    The strange behavior is that the sequences seems to "reset". When we call a sequence the NEXTVAL is just lower than the values already stored in the Database, and we get ORA-00001 a lot. The sequence should know that vale. I don't have this problem when using exp/imp, just via DataPump.
    So that when we create an order that should receive the value of 100, as an example, because we have 99 orders on the system, Oracle suggest a value lower than 99 or even the number one value (01).
    We then wrote a script to check the CURVAL of the sequences on the base schema to recreate the sequences using this initial value on the new imported schema.
    Does anyone faced this problem before?
    Any suggestions?
    Tks a lot

    Richard
    I've tried what you just said.
    Adding the parameter consistent=y makes Oracle to show a message like that at the beginning of the export
    "flashback_time=TO_TIMESTAMP('2013-09-03 12:18:12', 'YYYY-MM-DD HH24:MI:SS')"
    It warns me: Legacy Parameter CONSISTENT=TRUE, and replaces with flashback_time.
    Really, I did not know about this behavior with this "old" parameter. I'm very appreciated about your help.
    I was almost thinking it was a DataPump bug or something.
    Thanks a lot Richard. I'll now update my scripts and make lots of test.
    If you have more advices using this parameter please share us.
    Cheers

  • Odd behavior when duplicating pages

    I have run into some odd behavior when duplicating pages.
    First I spent many hours trying to acomplish a double trigger effect in which the last trigger opened a large image in a pop up window. Thanks to help from agm 123 and Sachin Hasija  see the posts here: http://forums.adobe.com/message/5186239#5186239
    And the result here: http://ljusa.businesscatalyst.com/stockholm--1.html
    I had to do a number of work arounds, but succeeded and will help anyone interested to reproduce this type of effect.
    My next step was to recreate this effect for another 50 pages. The best way I have found is to duplicate the first page. This is where it gets weird.
    When I create a duplicate and replace the images in the newly created pages (done by changing the fill to the new image) with different ones and save it the changes are effected on the original page, not the clone. No big problem, just switch the names and continue.
    The next problem that occurs is that when I go to make further copies a variety of odd behaviors creep in. The biggest problem is a repositioning or resizing of photo frames/containers. The images do not change, just move as the frame resizes. When I try to resize the frame it snaps back to it's larger new size. This is a phenomenon that I have seen in other instances in work with lightboxes and slideshows. It seems that some other unseen element has jumped into the frame with the original frame.
    The method I have used to create these pages is as described in the post at: http://forums.adobe.com/message/5186239#5186239
    It involves creating a blank composition widget and then placing a composition lightbox widget trigger into the blank hero.
    I have already invested more time than I should have on this and would like to keep it simple, yet as I have 50 pages to go I could start from scratch if someone has a better method of doing this.
    Suggestions?

    Just an update.
    I haven't seen the naming problem with duoplicates reoccur. I am however still stuggling with duplicates.
    I have a page with 5 image frames linked to images which in turn trigger a lightbox. When I create a duplicate of a page there is always at least one of my image frames that moves and or a link to an image that is dead. The only recourse I have had is to recreate one of the lifgtboxes for each new page I create. With all the formatting this is time consuming.
    I have tried copying and pasting the entire page into a blank page, but then there are even more problems.
    I have also tried to save my lightbox as a graphic style, but that dooesn't seem to work either.
    Please Help! I've got at least 45 more of these pages to replicate1

  • HELP! Odd behavior in Photoshop CS6. Anyone have a solution?

    Hi I am having really odd behavior in CS6. I have reset and cleared preferences. As you can see from the screenshot I have a rectangle shape layer but I have not assigned any shape layer effects to it.  PS is adding a black border on its own and I have no idea how to get rid of it. I have been using photoshop for 20 years and this is driving me nuts. I've never seen this behavior before. If I add a color overlay the line is still there. If I rasterize the shape layer then add a color overly  the outline disappears. But I don't want to raterize my shape layers. Anyone know how to get rid of it? Thank you in advance to anyone who might have a solution.

    You appear to be on Windows, so I couldn't help you anyway.
    But for the benefit of Photoshop Windows users, please consider the following:
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    A screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Odd Behavior with Multi-page Forums

    I have observed an odd behavior, when navigating multi-page forums.
    As an example, I use the Premiere Elements Tips & Tricks sub-forum often, to link to helpful articles. It is, like most, a multi-page forum.
    As the order of the articles will change, as new replies are added, I often need to navigate to multiple pages, to find the one that I need. My bookmark opens that forum onto Page 1, which is normal. I then scroll that page, looking for what I want. If it is not there, I will use either the Next, or the Page 2 buttons to move on. As I have scrolled to the bottom of Page 1, the Next (or Page 2) page will open at the bottom, rather than at the top, the first time that I do this. Pages 3, and above, will always open at the top. Also, if I go back to Page 2, it now opens at the top. I only see this, when going from Page 1, to Page 2, and then, only the first time. Odd, but no deal breaker, as I just manually scroll back to the top of Page 2, and then scroll down, looking for a particular article.
    I am on Chrome and Win XP-Pro SP-3. I have not yet tried in IE 7 - my latest version.
    Has anyone else experienced this little anomaly?
    Hunt

    Adobe-admin,
    Sorry, but I am out of "points... "
    Thank you for the input. I just found it slightly odd behavior, and all that it means is a bit of scrolling, now that I know what to expect. In most cases, the average user probably does not go to Page 2 of a forum, but many of us do. If it becomes a pain, I'll just jump quickly to Page 3, and then back to Page 2.
    Hey, Adobe never promised to make my life perfect - just better... I can easily live with this, but thought I'd ask, in case it was OE on my part.
    Appreciated,
    Hunt

  • Exceptions, odd behavior of streaming data to outputstream

    I have a servlet which writes mp3 data to the dataoutputstream of a servlet response object. For some reason, the servlet method writes the data out and gets an exception. Then the method/servlet is called again automatically and begins to write the data out again. The exception is below. In the end the mp3 is delivered to the client fine, however with server side exceptions and odd behavior.
    try {
              int len = 0;
              resp.setContentType("audio/mpeg");
              String filename = req.getParameter("file");
              File mp3 = new File(mediaDir + filename);
              byte[] buf = new byte[1024];
              FileInputStream fis = new FileInputStream(mp3);
              DataOutputStream o = new DataOutputStream(resp.getOutputStream());
              while( (len = fis.read(buf)) != -1) {            
                 o.write(buf, 0, len);            
              o.flush();
              resp.flushBuffer();
              o.close();
              fis.close();
           catch(Exception e) {
              System.out.println(e.getMessage());
              e.printStackTrace();
    null
    ClientAbortException:  java.net.SocketException: Connection reset by peer: socket write error
         at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:366)
         at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:403)
         at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:323)
         at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:392)
         at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:381)
         at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:76)
         at java.io.DataOutputStream.write(DataOutputStream.java:90)
         at TrafficControl.streamAudio(TrafficControl.java:639)
         at TrafficControl.processRequest(TrafficControl.java:136)
         at TrafficControl.doGet(TrafficControl.java:61)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)thanks
    Edited by: black_lotus on 19-Feb-2009 3:08 PM

    There are some versions of some browsers (MS IE) that can call a servlet twice; they only look at the headers at the first request, in order to decide whether to display a "save or open" dialog, or some such reason. Try different browsers; also log the User-Agent header to see if it is "contype", which is present when the multiple request thing happens.
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;q293792
    "Connection reset" can also happen if the client closes the connection without reading the entire response. Occasional resets will happen as users cancel download.
    Not a source of exceptions but something you may still want to consider when sending large responses: by default, the servlet container will have to buffer the entire file in memory to find out its length. To save memory, either set content length before writing the data, or use chunked encoding (google should find details.) That way your write() actually streams data to the user.

Maybe you are looking for

  • Time From field is not getting displayed in correct format in Activities

    Hello Experts , We are facing one problem in UI , when we search for Activities in Web UI . In the field "Time From" we are not getting the time in correct format , ie is instead of  getting time as say 13::38 we are getting time as 13::3 , but when

  • Get the IP Address

    hi, I need to retrieve the IP Address of the machine where the PDF is open, anyone knows how do it? Best regards, MP

  • Error: Transaction cannot be posted due to errors in price determination

    Hi, I am facing below error when i try to post GR for a SA. I checked out all the configurations, these worked on GR for PO but not on SA. I have seen other posts which recommend to view OSS note 447374 and 446831. I am not sure where to find these a

  • How to meet customer's demand in the query?

    There are a lot of record in DSO, for each plant the customer wants to display the latest record. e.g Plant Date       amount A1 2007/08/09 30 A1 2007/12/05 50 A1 2007/12/28 30 in the query A1 2007/12/28 30 will be displayed. PS: Remodellierung and n

  • PeopleTools 8.5

    Hi All, I have been going through forums and other blogs where People are installing PeopleTools 8.5 along with HRMS 9.1 I am wondering whether we can install PT 8.5 with lower version of PeopleSoft Applications? Is it supported?? Can we install FSCM