TLF Hanging in 4.5.20967

We just noticed that our application would hang (for 15s) with the following warning after upgrading to the release 4.5 SDK:
Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
at flashx.textLayout.container::TextContainerManager/http://ns.adobe.com/textLayout/internal/2008::factoryUpdateContainerChildren()[C:\Vellum\b ranches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContai nerManager.as:1396]
at flashx.textLayout.container::TextContainerManager/updateContainer()[C:\Vellum\branches\v2 \2.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManager .as:1357]
at HTMLHelper/composeHTMLText()[E:\dev\hero_private\frameworks\projects\spark\src\mx\core\FT ETextField.as:3683]
at mx.core::FTETextField/validateNow()[E:\dev\hero_private\frameworks\projects\spark\src\mx\ core\FTETextField.as:2524]
at mx.core::FTETextField/get textWidth()[E:\dev\hero_private\frameworks\projects\spark\src\mx\core\FTETextField.as:165 1]
at mx.charts.chartClasses::DataTip/measure()[E:\dev\hero_private\frameworks\projects\charts\ src\mx\charts\chartClasses\DataTip.as:396]
at mx.core::UIComponent/measureSizes()[E:\dev\hero_private\frameworks\projects\framework\src \mx\core\UIComponent.as:8496]
at mx.core::UIComponent/validateSize()[E:\dev\hero_private\frameworks\projects\framework\src \mx\core\UIComponent.as:8420]
at mx.charts.chartClasses::ChartBase/positionDataTips()[E:\dev\hero_private\frameworks\proje cts\charts\src\mx\charts\chartClasses\ChartBase.as:3789]
at mx.charts.chartClasses::ChartBase/updateDataTipToMatchHitSet()[E:\dev\hero_private\framew orks\projects\charts\src\mx\charts\chartClasses\ChartBase.as:3323]
at mx.charts.chartClasses::ChartBase/processRollEvents()[E:\dev\hero_private\frameworks\proj ects\charts\src\mx\charts\chartClasses\ChartBase.as:2586]
at mx.charts.chartClasses::ChartBase/mouseUpHandler()[E:\dev\hero_private\frameworks\project s\charts\src\mx\charts\chartClasses\ChartBase.as:4806]
As the code snippet, we are clicking an item within a chart and the entire application would freeze up.
Anybody seeing the same thing? We can reproduce this fairly easily (just click around on a chart).

Would you please to offer your code scrapt? That will help us to reproduce your problem and tell what happens.
Thanks

Similar Messages

  • Any known issues with TLF in AIR 2 from Flash CS5?

    Hi,
    We're creating an AIR 2 application in Flash CS5. Virtually all text is TLF text.
    It's a CPU and RAM hog.
    Saving the file as CS4, opening it in Flash CS5 and then generating an AIR 2 file works great, although, of course, we've lost all the TLF and the text needs some serious re-formatting.
    The development environment is Mac Snow Leopard, with latest OS and Flash updates.
    Any thoughts are greatly appreciated.
    Thanks,
    Kirk

    I've had similar oddities with Booting USB drives off several MBP's and am not sure there's a rational explanation of some of the oddities. (I have a twin cable and if one doesn't power it I stick the other plug in and it works 100% of the time)
    FWIW This Mac's iSight shows 500/500 +when not in use+ (5,1) while the EyeTV Diversity and external Logitech camera also both show 500/500 - Bluetooth USB controller shows 500/0 even with 3 devices hanging off it ...

  • TLF code freezing up application

    [cross-posted here from TLF forum]
    Since upgrading to the final release SDK for Hero, we have seen our application freezing up intermittently. As the stack trace suggests, it is related to clicking on points on a line chart.
    Has anybody seen something like this before? It is suggested that this is probably any issue within FTETextField.
    Flex SDK 4.5.20967
    Flash Player 10.3.181.14/26
    Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
    at flashx.textLayout.container::TextContainerManager/http://ns.adobe.com/textLayout/internal/2008::factoryUpdateContainerCh ildren()
    at flashx.textLayout.container::TextContainerManager/updateContainer()
    at HTMLHelper/composeHTMLText()[E:\dev\hero_private\frameworks\projects\ spark\src\mx\core\FTETextField.as:3683]
    at mx.core::FTETextField/validateNow()[E:\dev\hero_private\frameworks\pr ojects\spark\src\mx\core\FTETextField.as:2524]
    at mx.core::FTETextField/get textWidth()[E:\dev\hero_private\frameworks\projects\spark\src\mx\core \FTETextField.as:1651]
    at mx.charts.chartClasses::DataTip/measure()
    at mx.core::UIComponent/measureSizes()
    at mx.core::UIComponent/validateSize()
    at mx.charts.chartClasses::ChartBase/positionDataTips()
    at mx.charts.chartClasses::ChartBase/updateDataTipToMatchHitSet()
    at mx.charts.chartClasses::ChartBase/processRollEvents()
    at mx.charts.chartClasses::ChartBase/mouseDownHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()
    at mx.managers::SystemManager/mouseEventHandler()[E:\dev\hero_private\fr ameworks\projects\framework\src\mx\managers\SystemManager.as:2924]

    I suggest you also post the question to Flex Forum.
    mx.core.FTETextField is not a class in TLF and It's not recommended that you take it as the container for TLF. s:TextArea, s:RichText, and s:RichEditableText are all good containers for TLF in Flex.

  • My Excel with PowerPivots acts weird, it hangs when i try to change font color

    Hi 
    I am facing a weird issue using PowerPivot in my workbook, there is a worksheet named Charts in my workbook and all the charts i am using resides in that worksheet. Whenever i try to change the font color in that sheet, my excel's color palette goes blur
    and then everything just freezes and turns black. This problem is happening only with Charts worksheet, when i try to change the color in other sheets, it works just, the problem is only with Charts sheet. File
    size is 16 MB, there are just 10 pivot tables with some calculations and some calculated fields. There are no add-ins other than PowerPivot. 
    Thanks,
    Shanker

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Do you receive any error message?
    Which Excel version are you using?  Excel 2013 or other?
    Which workbook format are you using? XLS or XLSX?
    Are you performing any specific task?
    According to your description, this issue seems only occur with the special worksheet "Charts".
    Firstly, I recommend we copy all of the content to a new/blank Excel file to test.
    If it works fine, this issue might be caused by the "Charts" workbook itself. We'd better check the "Charts" workbook. Or re-build the file with a new workbook.
    If it still makes Excel hang with a new file, this issue might due to the content. Please check the content first.
    Secondly, we could follow below KB to troubleshoot this issue:
    https://support2.microsoft.com/kb/2758592/en-us?wa=wsignin1.0
    Thirdly, if the issue still exists, we may try to collect the Event log and App crash dump file to do advanced troubleshooting.
    Event log:
    http://windows.microsoft.com/en-US/windows7/Open-Event-Viewer
    App crash dump file:
    First enable app crash dump collection by copying following words into notepad, saving it as dump.reg and importing
    it:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\localdumps\EXCEL.EXE]
    "DumpFolder"=hex(2):63,00,3a,00,5c,00,63,00,72,00,61,00,73,00,68,00,64,00,75,\
      00,6d,00,70,00,73,00,00,00
    "DumpCount"=dword:00000010
    "DumpType"=dword:00000001
    "CustomDumpFlags"=dword:00000000
    Then, open Excel
    to repro the issue. If crash issue appeared, please find the crashdump file under c:\.
    To further help you, please upload this file into Skydrive and shared the link here.
    Also, you can try to analyze dump by yourself if you would like to:
    How to analyze app crash dump file:
    http://blogs.technet.com/b/askperf/archive/2007/05/29/basic-debugging-of-an-application-crash.aspx
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Just installed Firefox 4. It hangs when I open any website and type in, for example, an ID, or even just click on something, for example, "Compose", in my webmail site.

    Here's the detail of what happens.
    1. Turn on computer and then click on Firefox icon on desktop.
    2. Firefox opens. Everything looks OK. Mr Bunsen's graphic is working fine.
    3. Click on any webpage link. For example, a newspaper or an online webmail page. All looks OK until
    4. Click on anything or type anything, such as in ID in a box, and bingo, the top line of Firefox goes from dark blue to very pale blue and the computer is hung. You cannot get out of Firefox or get Firefox to work.
    5. Switch off computer.
    Is this perhaps due to a clash of Add-ons. I run Avast anti-virus. McAfee came with Firefox 4 and I did not reject it. Is it conflicting wth something in my system and causing it to hang?

    You can modify the pref <b>keyword.URL</b> on the <b>about:config</b> page to use Google's "I'm Feeling Lucky" or Google's "Browse By Name".
    * Google "I'm Feeling Lucky": http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
    * Google "Browse by Name": http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
    * http://kb.mozillazine.org/keyword.URL
    * http://kb.mozillazine.org/Location_Bar_search

  • I upgraded to the latest version of Firefox but it hangs when I use a search site such as Google or Bing. How can I fix this?

    putting a search option in the search box to the right of the address bar opens up the full search window but then Firefox hangs.

    Your UserAgent string in Firefox is messed up by another program that you installed, and those websites don't know you are running Firefox 3.6.3 (which is what you do have installed).
    [http://en.wikipedia.org/wiki/User_Agent]
    type '''about:config''' in the URL bar and hit Enter
    ''If you see the warning, you can confirm that you want to access that page.''
    Filter = '''general.useragent.'''
    Right-click the preferences that are '''bold''', one line at a time, and select '''''Reset''''',
    Then restart Firefox

  • It hangs when playing games

    My system is Windows 7 - 64 bit operating system
    I've used Firefox for many many years and always praised it compared to EI. I am afraid I wont be able to praise it much more. It stinks. It hangs mostly when I am playing games or looking at pictures or videos. Its worse when on Facebook but also happens on other web site. I did all the troubleshooting, updates, remove old versions and re install, disable add ons all and all Its driving me insane. Can you solve the problem with a new versionof Firefox or do we have to flush the darn browser for good.
    Thank you

    anyone has a solution until a new version comes out?

  • When I boot up it hangs on the login screen for awhile, why?

    I have a mid 2011 Macbook Air 13".  It came with Lion but I recently updated to Mountain Lion.  When I wake the laptop from sleep everything is fine.  If it's been awhile since it slept (a couple of hours), the login screen hangs.  What happens is that it boots like normal and looks like everything is correct, but it won't let me type in my password.  After 10 seconds or so I can see a cursor come up but it won't let me type (but anything I do type at this point will later fill in the field after another 2-3 seconds or so).  One other thing that's weird is that when the screen first comes up it shows the battery percentage from when I put it back on the charger, then after everything catches up, it changes to show 100%.
    I hope I explained the problem well enough.  Basicly a "wake from sleep" is fine if it hasn't been long since the laptop slept, but if it's been awhile it takes about 15-20 seconds to boot up.
    Ideas?

    Here are some suggestions based on my recent issue with unable to get Mavericks up after upgrade - The Apple geniuses just simply couldnt figure this one out...despite it being in their shop for 3 days (They probably did not look at it...and asked if they can just wipe out everything and install fresh...i had said NO):
    Restart computer and hold Cmd+V when you hear chime. This will start the computer in Verbose mode.
    See the messages and see where the system boot fails. In my case, it was some backtrace IOStorageFamily issue with com.paragon-software.
    Google may be able to solve your Apple issues - just type the error message in and see if you get any useful suggestions. in most cases - this would be some faulty 3rd party drivers.....
    In my case, it was something stupid i had probably installed....I had to boot to safe mode (Hold Shift at boot chime) - open Terminal, delete the folder com.paragon-software.kext from System/Library/Extensions....that fixed the problem. Mavericks is working great now....
    Let me know if your debugging thing works...

  • Firefox hangs on opening requiring force quit I have snow leopard mac It hangs when I try safe mode. I need to know how to remove all traces of firefox on my mac so I can reinstall. I have tried terminal as advised on firefox webpage. Please advise m

    Firefox hangs on opening requiring force quit I have snow leopard Mac It even hangs when I try safe mode. I need to know how to remove all traces of firefox on my mac so I can reinstall. I have tried terminal as advised on firefox webpage. Please advise me
    == This happened ==
    Every time Firefox opened
    == I tried to update firefox add-ons ==
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    Try a new profile. See [[Recovering important data from an old profile]]

  • I am having a problem opening my browser, the broswer is hanging up after slowly opening

    Hello, I have been having trouble with my firefox browser for quite some time now, it just stopped working on me about 5 or 6 months ago. I have switched over to Internet Explorer which has still been working fine. I like using Firefox much more than Explorer these days, but I am unfortunately not good much with fixing computer problems and have pretty much extinguished all my available options for repairing it myself.
    The problem with Firefox is now when I click on the shortcut link on my desktop, it takes a good 5 to 10 minutes to open up the browser now. Once it does finally open, you cannot type or click on anything it is hung up and will not allow you to go to another site(the home page will still load, with current news and other information)
    I cannot remember anything that would have caused it to crash or get hung up like this, but like I said I am not a computer expert by any means. I do know that I am ready to get Mozilla back to running smoothly as before, I had just gotten really used to it(I had been using internet explorer).
    I also uninstalled Firefox completely and reinstalled it, I figured if nothing else I tried worked that usually is the best option...it still did/does the same thing, hangs up everytime you try to run/open it.
    I checked your online solution for what to do on a hanging first page, I saw something about pentium 4's running Windows Vista or XP...my computer runs Windows 7 (was actually purchased running the terribly bug ridden and error-prone Vista, and lucky I was able to obtain a free upgrade to 7). So I was thinking maybe that had something to do with it, I had some problem in the past, with what I cannot remember, but it traced back to something from when Vista was on my computer(even though it was no longer my operating system I'll be darn if it wasn't still causing me headaches! How fitting.)
    My computer in question is a Dell Studio XPS 1640 which I bought new almost two years ago exactly)

    Did you check what I would consider the first place to look:
    * http://kb.mozillazine.org/Problematic_extensions
    If the site is still down (at least 12 hours) when you read this try [http://webcache.googleusercontent.com/search?q=cache:http%3A//kb.mozillazine.org/Problematic_extensions Google's cache]
    Link or url would make it easier to see which page you tried rather than "your online solution for ...".
    * http://kb.mozillazine.org/Firefox_hangs ([http://webcache.googleusercontent.com/search?q=cache:http%3A//kb.mozillazine.org/Firefox_hangs cached version])
    * http://kb.mozillazine.org/Firefox_crashes ([http://webcache.googleusercontent.com/search?q=cache:http%3A//kb.mozillazine.org/Firefox_crashes cached version])
    * [https://support.mozilla.com/kb/Firefox%20hangs#os=mac&amp;browser=fx4 Firefox hangs | Troubleshooting | Firefox Help]

  • When I open Pages from the dock, the page comes up but immediately hangs up with the

    When I open Pages from the Dock,  the page comes up on the screen but immediately hangs up with the rainbow circle spinning.  I finally have to force quite to make it go away.  It does not ask me to choose a template.  This is sporadic, sometimes working, sometimes not.  What is going on?

    Helo,
    Did you try to delete Pages' preferences file(s) in the folder your-user-name/Library/Preferences ?
    There are one or more (depends on your OS X version) file like "com.apple.iWork.Pages.plist"
    You can also repair permissions with Disk Utility in the folder Applications/Utilities.
    Choose the hard drive were Pages is and click the button "Repair permissions".
    Or you can re-install Pages.
    Hope this will help.

  • Z77A-GD65 Multiple BIOS Issues - B4 Hang, Splash Screen Blinking

    Back in November 2012, I built a home server with a Z77A-GD65.  Lately, I've noticed some strange things happening that I've been trying to research but to no avail.
    First off, I get the B4 code hang-up whenever I'm booting.  This doesn't matter if it's a cold boot or a reboot, it hangs on B4 for about 10-15 seconds, flashes 92 really quick, and then goes to A2 which it stays for another 5 or so seconds.  After that I get the MSI splash screen for about 1 second, then it blinks 5 times.  After that it goes into Windows just fine.
    The blinking is a new issue, the B4 hang is not.  I've read from multiple posts that this is a USB issue.  When I disable USB legacy support, the issue goes away, but of course then I can't have legacy support.  I have yet to figure out what exact device is causing it.  In the process of trying to figure this out, I updated BIOS to A.A0.  After updating to this version of BIOS the splash screen blinks 5 times before going to the "Starting Windows" splash screen.  This is a more difficult issue to figure out why it's doing this because if you search for "BIOS" and "flash" or "flashes" or "flashing", you typically get results for flashing your BIOS.   Hence, why I'm using the term "blinking".  But even then I can't really find a solution out there.
    I also happened to see that the website for the Z77A-GD65 is showing a newer BIOS version, but I'm unable to flash this (at least using M-Flash).  I threw it on a USB, re-enabled USB legacy and whenever I click on it to install, the BIOS screen hard locks.  The screen just freezes exactly where it's at in the BIOS and the mouse is dead.  However, I can CTRL+ALT+DEL on the keyboard and it will reboot the system so I don't need to power cycle the computer.  Not sure why this is happening either.  Perhaps I need to flash this a different way?  Maybe I don't need to flash this at all?
    I could really use some input here on why this is happening.
    As for the specs on my system, they're as follows:
    i7-3770K overclocked to 4.2 Ghz by using the Turbo Mode in BIOS
    32GB Komputerbay DDR3 PC3-12800 1600MHz DIMM with Low Profile Blue Heatspreaders Quad Channel RAM | 9-9-9-24 XMP ready
    AMD PowerColor 7870 Myst Edition GPU - currently not overclocked although overclocking this doesn't seem to affect any issues
    2 - 128 GB Corsair SATA III SSD - one runs the OS, the other I use to load games from
    2 - 500 GB Seagate Barracuda 7200 RPM Sata II HDD's mirrored via Windows 7
    1 - 750 GB Seagate Barracude 7200 RPM Sata II HDD
    1 - 1 TB Western Digital MyBook USB 2.0 external
    2 - 3 TB Seagate USB 3.0 external
    ASUS DVD Burner - not sure which one, it's a cheapy $20 from Newegg
    1 - PCI USB 3.0 expansion card
    Antec TruePower New TP-550 Modular 550W Continuous Power ATX12V V2.3 / EPS12V V2.91 SLI Certified CrossFire Ready 80 PLUS BRONZE Certified Active PFC "compatible with Core i7/Core i5" Power Supply
    NZXT Switch 810 gunmetal - currently have 4 fans running but plan on more, also the Switch 810 has the multi-card reader in the front with 1x SD Card, 2x USB 2.0, 2x USB 3.0
    for peripherals
    1 - Microsoft 360 Wireless controller adapter (legit one, not the knockoff although I had a knockoff prior to getting the real deal)
    1 - Logitech Wireless USB Keyboard with Touchpad
    I tried to be thorough.  Thanks in advance for any help!

    Quote from: PirateDog on 26-August-13, 12:45:18
    Probably a USB device problem.
    This is a candidate, as well as mouse and keyboard. Disconnect USB devices one at a time to find the culprit.
    A lot of devices running. PSU a +12V single rail or is it multi rail? A rail going to the graphics or components may not be enough amps. My best guess is the card reader.
    For UEFI/BIOS flashing, select your mainboard here and use the forum flash method;
    I'll definitely try unplugging some of these USB devices to see if that helps with the B4 hang issue.
    As for the PSU, according to the description for it on Newegg:  "Four industry-leading independent +12v rails are provided for more stable and safer power output."  It has two rails going to the GPU.  The GPU is a new addition to the system and so I wasn't running it until recently.  The issues were occurring beforehand, but you're right that this PSU is underpowered for the rig considering PowerColor recommends a minimum of 500w.  I'm going to be buying a larger capacity one sometime in the very near future.  Any recommendations on good modular PSU's?  What's a good way to tell what wattage to get?
    Thanks for letting me know about the forum flash method.  I'll be back later when I have some results.

  • Switched computer cases and now I hang at the MSI splash screen.

    Hey guys. I've never had any problems with building my PC until yesterday on the simplest of tasks.
    I decided to buy a new case and switch everything over but when I did it decided to hang on the MSI motherboard splash screen.
    Specs:
    * MEM 4Gx2|G.SKILL F3-12800CL9D-8GBXL + one more stick.
    * Processor = AMD Phenom II X6 1055T Thuban 2.8GHz Socket AM3 125W Six-Core Desktop Processor HDT55TFBGRBOX
    * Graphics Card = HD 7950
    * Motherboard = MB MSI| 880GM-E41 880G R
    * PSU = CORSAIR CX series CX500 500W ATX12V v2.3 80 PLUS BRONZE Certified Active PFC Power Supply
    * OS = Windows 7 64Bit
    * No overclocking.
    So far I've done the following. 
    * Removed battery/Jumped the bios. 
    * Checked and rechecked each RAM stick. 
    * Removed all connections. 
    * Removed graphics card etc. 
    Any help would be greatly appreciated, Christmas has kind of killed my budget for a new build.
    Thanks!
    These are as far as I can get before everything stops working.

    Really strange.
    Have you made sure that there was will be/was no contact between mobo and case (apart from spots where the contact should be made) ? This could've break the motherboard.
    Check ALL of the power supply cable connections between it and mobo.
    Now something weird which doesn't seen to make any sense... Try to put your motherboard back to the old case.
    That's all my suggestions, apart from that, if you're still able, then get it on a warranty and RMA it.
    Good luck.

  • Error while executing a process - it hangs!

    Hi there, please help me with this problem:
    I'm executing a CMD file with the next code and it hangs
    File file = new file("E:\\NDM_TEST\\UPLOAD_ENC\\CA210105.001.zip")
    Vector response = null;
    Log.debugLog("File to transport as a response " + getFileAbsolutePath());
    if (NDM.executeCMD(file.getFileAbsolutePath(), file.getFileName()) == 0) {
    public static int executeCMD(String fileAbsolutePath, String fileName) {
      int exitValue = 1;
      String chainn = "";
      try {
        Log.debugLog("starting CMD execution");
        String arguments[] = new String[1];
        arguments[0] = "\"" + getNDM_BATCH() + "\" " + fileAbsolutePath + " " + fileName;
        exitValue = WindowsExec.execute(arguments);
      } catch (Exception e) {
        Log.log("[ERROR] NDM.ejecutaBatch ==> " + e);
      } finally {
        return exitValue;
    public class WindowsExec {
      public static int execute(String args[]) {
        int exitVal = 1;
        if(args.length < 1) {
          Log.log("USAGE; java WindowsExec <cmd>");
          System.exit(1);
        try {
          String osName = System.getProperty("os.name");
          String[] cmd = new String[3];
          Runtime rt = Runtime.getRuntime();
          String toExecute = cmd[0] + " " + cmd[1] + " " + cmd[2];
          Log.debugLog(toExecute);
          Process proc = rt.exec(toExecute);
          Streammer errorStreammer = new Streammer(proc.getErrorStream(), "ERROR");
          Streammer outPutStreammer = new Streammer(proc.getInputStream(), "OUTPUT");
          errorStreammer.start();
          outPutStreammer.start();
          exitVal = proc.waitFor();
        } catch(Throwable t) {
          t.printStackTrace();
        } finally {
          return exitVal;
    public class Streammer extends Thread {
      InputStream is;
      String type;
      Streammer(InputStream is, String type) {
        this.is = is;
        this.type = type;
      public void run() {
        try {
          InputStreamReader isr = new InputStreamReader(is);
          BufferedReader br = new BufferedReader(isr);
          String line = null;
          while ((line = br.readLine()) != null) {
            Log.log(type + " > " + line);
        } catch (Exception ioe) {
          ioe.printStackTrace();
    }The output of the line Log.debugLog(toExecute); is:
    cmd.exe /C "E:\NDM_TEST\PROCESS\TX_TEST.CMD" E:\NDM_TEST\UPLOAD_ENC\CA210105.001.zip CA210105.001.zip
    If i run this output from a command prompt it runs ok, but when invoked from my java program it hangs and never ends

    You are right, at the moment I paste my code, I delete three important lines, here is the right code:
    File file = new file("E:\\NDM_TEST\\UPLOAD_ENC\\CA210105.001.zip")
    Vector response = null;
    Log.debugLog("File to transport as a response " + getFileAbsolutePath());
    if (NDM.executeCMD(file.getFileAbsolutePath(), file.getFileName()) == 0) {
    public static int executeCMD(String fileAbsolutePath, String fileName) {
      int exitValue = 1;
      String chainn = "";
      try {
        Log.debugLog("starting CMD execution");
        String arguments[] = new String[1];
        arguments[0] = "\"" + getNDM_BATCH() + "\" " + fileAbsolutePath + " " + fileName;
        exitValue = WindowsExec.execute(arguments);
      } catch (Exception e) {
        Log.log("[ERROR] NDM.ejecutaBatch ==> " + e);
      } finally {
        return exitValue;
    public class WindowsExec {
      public static int execute(String args[]) {
        int exitVal = 1;
        if(args.length < 1) {
          Log.log("USAGE; java WindowsExec <cmd>");
          System.exit(1);
        try {
          Runtime rt = Runtime.getRuntime();
          String[] cmd = new String[3];
          cmd[0] = "cmd.exe";
          cmd[1] = "/C";
          cmd[2] = args[0];
          String toExecute = cmd[0] + " " + cmd[1] + " " + cmd[2];
          Log.debugLog(toExecute);
          Process proc = rt.exec(toExecute);
          Streammer errorStreammer = new Streammer(proc.getErrorStream(), "ERROR");
          Streammer outPutStreammer = new Streammer(proc.getInputStream(), "OUTPUT");
          errorStreammer.start();
          outPutStreammer.start();
          exitVal = proc.waitFor();
        } catch(Throwable t) {
          t.printStackTrace();
        } finally {
          return exitVal;
    public class Streammer extends Thread {
      InputStream is;
      String type;
      Streammer(InputStream is, String type) {
        this.is = is;
        this.type = type;
      public void run() {
        try {
          InputStreamReader isr = new InputStreamReader(is);
          BufferedReader br = new BufferedReader(isr);
          String line = null;
          while ((line = br.readLine()) != null) {
            Log.log(type + " > " + line);
        } catch (Exception ioe) {
          ioe.printStackTrace();
    }I hope you can help me know... thanks!.

  • IPod suddenly no longer connects to any computer, hangs and clicks/pops

    I recently (within the last two weeks) started using a program called PodUtil ( http://www.kennettnet.co.uk/software/podutil.php ) to manage my music library between my work and home computers. Everything seems to have gone off without a hitch, but as of Friday my iPod started behaving very strangely.
    I was playing a song on it through iTunes on my work computer when all of the sudden the song cut out and iTunes froze up. I was forced to disconnect my iPod manually without disconnecting it through the computer, and when I hooked it back up my entire system locked up until the iPod was once again removed. I plugged it in again and left the system alone and finally fifteen minutes later I got an error message saying that an iPod was detected but the iPod software wasn't installed. Despite this not being true, I uninstalled iTunes and the iPod software, reinstalled them, and finally the iPod worked correctly.
    Until I brought it home and plugged it into my home computer and the exact same problem occurred. I once again uninstalled iTunes and the iPod software but this time it didn't fix the problem. The iPod refuses to connect now to any of the computers I've tried it on (home, work, my roommate's PC and even a work mac) and every time it's plugged in the system hangs until it's disconnected. I have also noticed that when it's plugged in every few minutes there's a loud hum and a clicking/popping sound that reminds me of drive heads failing on a harddrive.
    The iPod itself works fine, I can play everything and it gives me absolutely no trouble. It's when I connect it to a computer that the problems begin.
    I'm at a loss for what to do. I've tried every single thing under the knowledge base including rebooting and reinstalling and nothing's helped. It almost seems like there's a physical problem with the iPod (from the clicking sound) but the clicks never happen during normal operation and I haven't dropped it or anything that would've broken it. It's out of warranty and I'd rather not pay the cost of a new iPod to get this one fixed. Furthermore I took my songs off of my computer to free up space and the last music backup I have isn't entirely recent. But I can't even get it to restore even if I wanted to because it doesn't respond when it's connected. Any help will be great. Thanks!

    - See:      
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable. iOS 7 made the iPod/computer more sensiteve to cable problems
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar                 

Maybe you are looking for

  • IPod will not sync to newer computer

    Friends, I have a perplexing problem. I am moving my computers around. I always move the faster one up to the office while the older one goes to another room. Currently I have the iPod synced to a MAC 450 GHz G4 computer. I wanted to move the iTunes

  • Do I really need an Airport device for my home wireless network?

    Hi Apple Users, I am seriously considering purchasing my very first Apple computer: a MacBook Pro to be precise.  I'm a very experienced Windows PC user - was a Microsoft Windows & Office -based Help Desk Analyst at my company for 13 years till I was

  • PO Quote price break approval

    We want to approve Price Break Quotation lines thru program in R12 (we have lots of lines, so can not be possible one by one from screen). Oracle form calls the QUOTATION_APPROVALS_PKG.Insert_Row (and additional activities) to do this. The procedure

  • User name as sender in notification workflow

    Hi all, My requirement is that when sending the notification to the user from workflow , i need the sender name as initiator of the workflow ???? please help me out ... According to the Design  the task  SENDTASKDESCRIPTION   (background task) is dis

  • Email - VIP section

    In the VIP section in Emails, i want to be able to group all emails from 1 contact into a folder, at the moment all contact in VIP the emails are all mixed.  Is this something that is possible to do??