WaitFor() works only when in debugging mode!

Hi, im having a problem with making my function waits for a process to end while in run mode!
The function always run and exists while the process is still running...
I checked it in debugging mode and it worked just fine, but i cant seem to be able to make it work in the run mode!
Any hints???
Here is my code:
public void executeBatch (){
try{
Runtime runtime = Runtime.getRuntime();
Process batchProcess = runtime.exec(new String[] {"cmd.exe", "/c", "FetchFiles.bat"}, null, new File(BATCH_FILES_PATH));
BufferedReader b = new BufferedReader(new InputStreamReader(batchProcess.getErrorStream()));
if (b.ready()){
String line=null;
while ( (line = b.readLine()) != null) {
System.out.println(line);
line = b.readLine();
int exitVal = batchProcess.waitFor();
System.out.println("Exit Value = " + exitVal);
} else {
b = new BufferedReader(new InputStreamReader(batchProcess.getInputStream()));
if (b.ready()){
String line=null;
while ( (line = b.readLine()) != null) {
System.out.println(line);
line = b.readLine();
int exitVal = batchProcess.waitFor();
System.out.println("Exit Value = " + exitVal);
} catch ( Exception ex ){
System.out.println("executeBatch : " + ex.getMessage());
btw, the process is a batch that connects to a linux server and "mget" files from some directories in the server...

what the ....???
the "BadExecWinDir.java" bad approach is all about
not using an executable command like "dir"... which
im not using at all...More than that but secondary.
>
and for the "GoodWindowsExec.java" concept
demonstrates that you should handle the standard
error and standard input streams and emptying them
both together, which what i exactly did. i USED the
concept...
My piece of code is the same as the
"GoodWindowsExec.java" code except that i made the
code of the StreamGobbler class comes inside the
function directly, and that i didn't use a checkup on
the operating system to decide wither it's a Windows
NT or Windows 95 to decide the command prompt
executable name...StreamGobbler runs as a thread so both streams are emptied in parallel. In your code
           String line=null;
            while ( (line = brError.readLine()) != null)
                System.out.println(line);this will only terminate when the process terminates and closes stderr. This means that the following code
          while ( (line = brInput.readLine()) != null)
                System.out.println(line);
            only starts to run once the process terminates.
BUT, the stderr stream and stdout streams have a limited buffer and block when this buffer becomes full. So, if the stdout stream produces more than a buffer full then it blocks until more room is avaialable and the process cannot terminate so the error stream cannot be closed so the code to empty stdout cannot run to make room in the buffer to put more output. Phew!
If you change the order of emptying the two streams then you have a simillar effect.
The only way I know of dealing with this is to empty both streams at the same time so you need two threads. You can use the default thread for one but you MUST use another thread for the other. Since I use stdout, stderr and stdin I use 3 threads!
>
thats all...Please read the article again.

Similar Messages

  • USB OTG Work only When USB Debugging is On

    My USB OTG worked correctly. But Now it works only when USB debugging is turend on. What Should I do Now

    @ytheekshana
    what if you repair the phone with PCC
    PC Companion (PCC)
    Bridge (for Mac)
    Alternatives on How to backup Xperias
    http://talk.sonymobile.com/thread/36355
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • My iphone4's mic is not working. I can assure that my iphone4 is not on mute mode. The audio is working only when headset/handsfree plugged in.I tried reset my handset many times already but still nothing got success.what is the remedy to comeout from it.

    My iphone4's mic is not working. I can assure that my iphone4 is not on mute mode. The audio is working only when headset/handsfree plugged in.I tried reset my handset many times already but still nothing got success.what is the remedy to comeout from it.

    Try plugging the headphones in and gently wiggling them around for a few seconds. It may be that the sensor that tells the iPhone that headphones are plugged in has gotten stuck. If this doesn't work, they try a reset (hold down Sleep/Wake and Home all the way until the Apple logo appears on the screen).

  • HT201401 Microphone works only when using the phone in hands-free

    Microphone works only when using the phone in hands-free (speaker on) mode.  Otherwise, only a constant buzz, accompanied by regular clicks (repeating 2-3 times/sec) can be heard by called persons or when recording a memo.  Makes Siri unusable, and cannot make private calls unless in a private area.  Does anybody have a fix for this?

    Okay I just solved the problem myself..
    For anyone that may have the same issue:
    The microphone used when recording video, is the little dot next to the jack on top of the iPhone 4S (maybe also iPhone 4, don't know). There was some dirt in this tiny little hole, and I simply just removed it with a very thin needle, and now it works great!

  • I have a new iMac with osx 10.8.3 i can not get my hp laserjet m1522nf scanner to work. The printer works but when in scanner mode the scanner does not show up

    I have a new iMac with osx 10.8.3 i can not get my hp laserjet m1522nf scanner to work. The printer works but when in scanner mode the scanner does not show up.I tried to install the newest hp driver for the printer but when I install the computer ca not find the printer.

    Repair permissions and restart your computer.
    Make sure you have the updated scanner drivers installed. 
    Install the gimp drivers:  http://gimp-print.sourceforge.net/MacOSX.php 
    http://support.apple.com/kb/PH11070 OS X Mountain Lion: Troubleshoot a network printer 
    http://support.apple.com/kb/PH11143 OS X Mountain Lion: Reset the printing system
    http://support.apple.com/kb/HT3669 Printer and scanner software available for download
    What to do when you can't print

  • Why is Fault Policy working only when the BPEL's transaction is requiresNew

    Hi All
    I've defined Fault policy & fault bindings files for faults in my BPEL process. I'm using Oracle SOA Suite 11g.
    But the fault management framework is properly working only when the transaction property(bpel.config.transaction) of the BPEL is set to "requiresNew" in composite.xml
    When i modify it ot required, its not working, i.e. it is waiting for some period and erroring out. I could not manage these errors from the EM as we do for those in Fault Management Framework.
    Why is this behavior?
    I went thru this article, but could not understand it
    Transaction and Fault Propagation Semantics in BPEL Processes(http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/soa_transactions.htm)
    Can someone pls explain this.
    Regards
    RaviKiran.

    Please refer http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/soa_transactions.htm
    Thanks,
    S

  • The new Google instant search works only in private browsing mode. Fix?

    The new Google instant search feature works only in Private Browsing mode in my Firefox 3.6 How can I get Firefox to allow it in regular, non-private mode?

    You're welcome

  • Does the NavigationController work only when placed in appDelegate?

    I am trying to build application that has a tab bar controller with two view and the first view contains a segmented control.
    Based on the decision of the segmented control, I load the tableview. The table view has an instance of navigation Controller in which I have assigned the tableview controller as a rootview controller. When I click on any row of the table view, a new controller gets pushed on the table view. In my case, the new view does not show up on the screen, once the row is clicked. I used NSlog and checked that the views pushed on the stack are correct.
    I read many threads here and saw that all of them use tabBarController and then it directly uses the navigationController and viewcontroller. Is this the only config that works ?
    What if I want to have a tabBarController->tableViewController->NavigationController, isn't it possible? Can anyone please help?

    WitchKing wrote:
    So, if I understand this fully, I can initialize the navigation controller as soon as the any row is clicked and put the tableView I am on as my rootView for the navController. and also push the next view controller I want to see, on its stack. and present the navigation controller's view.
    The usual way to implement a table view drill-down would be to make the first table view (or the content view which includes it) the root view of the nav controller. I.e. the table view's controller would be the root controller. When you do it that way all the objects will do what they were designed to do, and the code to push and pop subsequent views will almost write itself.
    However there's no reason you can't do what you described, which (if I understood) would be to attach the nav controller's view to the hierarchy only after a row in the table is selected. Note however, that you couldn't then expect the nav controller to make that first transition from the parent table view. You would have to provide your own transition to the nav controller's view.
    You bring up a good point in any case. I never explicitly answered the question in the Subject line of this thread.
    does the NavigationController work only when placed in appDelegate?
    No, there is no requirement to create a nav controller in any particular position of the view hierarchy. Unlike a tab controller, a nav controller need not be the root of the hierarchy (i.e. added directly to the key window). In fact you'll find several examples in the docs which show one or more nav controllers under some other controller.
    there might be some problem with adjusting bar heights and etc though.
    I'm not sure you proposed anything that would make it difficult to configure a table view. One nav controller issue that will impact table view position and size is the attempt to hide the nav bar which would otherwise appear above the table. I walked, unsuspecting, into this problem when I tried to help with another, currently ongoing thread that might interest you: [http://discussions.apple.com/message.jspa?messageID=9606805#9606805].
    While I'm pasting links, this one is also relevant to your post: [http://discussions.apple.com/message.jspa?messageID=9607946#9607946].
    Thank you for the very kind words about my posts. For some reason, this past few weeks I've been spending most of my forum helper time writing about table views and nav controllers. I sure hope I've been dispensing correct information. It's not like I have any knowlege of the internals. These puppies are black boxes to me, so I'm just going by the same docs you have and my own (growing!) collection of test beds.
    \- Ray

  • Web ADI works only when cache is cleared

    I have created a custom integrator and the web ADI component works only when I clear the cache from the functional administrator responsibility in Oracle Apps. The component has a lot of validations for the fields and is expected to insert upto 2000 lines, It works fines for a small number of lines but the web ADI hangs for a large number of lines (>500). But if I clear the cache, it works fine. Anyone has a solution for this, cause I cant clear the cache always and I cant tell my customer to do the same.
    G. Arun
    Oracle SSI

    The WebADI caching can be very confusing. I made a little summary of what you can do to avoid caching problems like:
    "ORA-06508: PL/SQL: Could not Find Program Unit being Called in Custom Web ADI" or
    "SQL exception occurred during PL/SQL upload"
    A) clear cache with http://<machine>:<port>/OA_HTML/BneAdminServlet
    B) clear IE cache & restart
    C) clear the cache from the functional administrator responsibility
    D) Bounce the Apache server
    E) SQL command: Alter system flush shared_pool
    F) Download another WebADI spreadsheet (but you can re-use your old spreadsheet)
    G) log out and log back in EBS
    H) login at another computer and try it there
    ...or sometimes just wait for a while till it works again.
    Jeroen

  • Foreing keys works only when created as CAPITAL?

    Hello,
    When working with HTML DB tutorial, I have noticed that foreign keys works only when I do create them as CAPITAL. I did create some foreign keys manually, and when I was trying "query by example" it did not work correctly unles I did re-create the foreign keys using all captials in their name. Why is it that?
    Thank you,
    DanielD

    I let it dry out more and it started working. It still has a quirk or two but I can live with it.

  • My touch pad does not work only when using Safari browser. The screen was grey. Help!

    My touch pad does not work only when I use Safari browser online. The screen was grey. No matter what I do, there is no reponse. Only the web address box works. What is this problem? I can use App Store and everything else fine.
    Someone please help.
    Thanks

    I would try:
    - Resetting the iPod:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Go to Settings>Safari and delete cache, history and cookies.

  • JVM crash when using debug mode in eclipse

    Hi,
    I get a SIGSEGV every time I use debug mode in Eclipse. Sometimes after a few breakpoints, sometimes when I start the debug view.
    Have Eclipse helios and JRE 6.0_21-b06 but have also tried 1.6.0_03-b05 with same result.
    The log file (hs_error_pidxxx.log) gives the following:
    # A fatal error has been detected by the Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0xff23259c, pid=2917, tid=2
    # JRE version: 6.0_21-b06
    # Java VM: Java HotSpot(TM) Server VM (17.0-b16 mixed mode solaris-sparc )
    # Problematic frame:
    # C [libc.so.1+0x3259c] strncmp+0x348
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x0003d800): JavaThread "main" [_thread_in_native, id=2, stack(0xfe300000,0xfe380000)]
    siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000000
    Registers:
    O0=0x00000001 O1=0x00000000 O2=0x00000001 O3=0x00000000
    O4=0x00000102 O5=0x0125d898 O6=0xfe37d3b8 O7=0xe1dd104c
    G1=0x00105000 G2=0x00007b00 G3=0x00000000 G4=0xe2947b08
    G5=0xfee6e2e8 G6=0x00000000 G7=0xfe3e0200 Y=0x00000000
    PC=0xff23259c nPC=0xff2325a0
    Top of Stack: (sp=0xfe37d3b8)
    0xfe37d3b8: 00000000 e1ebec00 ff2c1bd0 e1ebec00
    0xfe37d3c8: 011966e8 00000001 fee2e000 00001cc4
    0xfe37d3d8: 1d69c014 e2963fec 00000001 00000108
    0xfe37d3e8: 0000006e 0000006e fe37d3f8 e2947bd4
    0xfe37d3f8: e2963ff4 014e2b38 e2963ffc 00000000
    0xfe37d408: fee2e000 011afd80 01da6f38 e2963fec
    0xfe37d418: fe37d484 0125da90 0125dab8 00000002
    0xfe37d428: 00000000 e2974f88 fe37d488 e2350fd4
    Instructions: (pc=0xff23259c)
    0xff23258c: 91 ee 00 00 b4 a6 a0 01 0a bf ff e1 01 00 00 00
    0xff23259c: f8 0e 40 18 fa 0e 40 00 b2 06 60 01 80 a7 00 1d
    Stack: [0xfe300000,0xfe380000], sp=0xfe37d3b8, free space=1f4ff23259ck
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [libc.so.1+0x3259c] strncmp+0x348
    C [libpangoft2-1.0.so.0.501.1+0x7bdc]
    C [libswt-pi-gtk-3650.so+0x50fdc] Java_org_eclipse_swt_internal_gtk_OS__1pango_1context_1list_1families+0x74
    j org.eclipse.swt.internal.gtk.OS._pango_context_list_families(I[I[I)V+472954808
    j org.eclipse.swt.internal.gtk.OS._pango_context_list_families(I[I[I)V+0
    j org.eclipse.swt.internal.gtk.OS.pango_context_list_families(I[I[I)V+10
    j org.eclipse.swt.graphics.Device.getFontList(Ljava/lang/String;Z)[Lorg/eclipse/swt/graphics/FontData;+53
    j org.eclipse.jface.resource.FontRegistry.filterData([Lorg/eclipse/swt/graphics/FontData;Lorg/eclipse/swt/widgets/Display;)[Lorg/eclipse/swt/graphics/FontData;+67
    j org.eclipse.jface.resource.FontRegistry.createFont(Ljava/lang/String;[Lorg/eclipse/swt/graphics/FontData;)Lorg/eclipse/jface/resource/FontRegistry$FontRecord;+32
    j org.eclipse.jface.resource.FontRegistry.getFontRecord(Ljava/lang/String;)Lorg/eclipse/jface/resource/FontRegistry$FontRecord;+53
    j org.eclipse.jface.resource.FontRegistry.get(Ljava/lang/String;)Lorg/eclipse/swt/graphics/Font;+2
    j org.eclipse.jface.resource.JFaceResources.getHeaderFont()Lorg/eclipse/swt/graphics/Font;+5
    j org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor$SourceAttachmentForm.createTitleLabel(Lorg/eclipse/swt/widgets/Composite;Ljava/lang/String;)Lorg/eclipse/swt/widgets/Label;+36
    j org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor$SourceAttachmentForm.createControl(Lorg/eclipse/swt/widgets/Composite;)Lorg/eclipse/swt/widgets/Control;+99
    j org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.verifyInput(Lorg/eclipse/ui/IEditorInput;)V+95
    j org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.createPartControl(Lorg/eclipse/swt/widgets/Composite;)V+96
    j org.eclipse.ui.internal.EditorReference.createPartHelper()Lorg/eclipse/ui/IEditorPart;+361
    j org.eclipse.ui.internal.EditorReference.createPart()Lorg/eclipse/ui/IWorkbenchPart;+27
    j org.eclipse.ui.internal.WorkbenchPartReference.getPart(Z)Lorg/eclipse/ui/IWorkbenchPart;+65
    j org.eclipse.ui.internal.EditorReference.getEditor(Z)Lorg/eclipse/ui/IEditorPart;+2
    j org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;ZILorg/eclipse/ui/IMemento;)Lorg/eclipse/ui/IEditorPart;+233
    j org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;ZILorg/eclipse/ui/IMemento;)Lorg/eclipse/ui/IEditorPart;+27
    j org.eclipse.ui.internal.WorkbenchPage.access$11(Lorg/eclipse/ui/internal/WorkbenchPage;Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;ZILorg/eclipse/ui/IMemento;)Lorg/eclipse/ui/IEditorPart;+8
    j org.eclipse.ui.internal.WorkbenchPage$10.run()V+29
    j org.eclipse.swt.custom.BusyIndicator.showWhile(Lorg/eclipse/swt/widgets/Display;Ljava/lang/Runnable;)V+116
    j org.eclipse.ui.internal.WorkbenchPage.openEditor(Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;ZILorg/eclipse/ui/IMemento;)Lorg/eclipse/ui/IEditorPart;+59
    j org.eclipse.ui.internal.WorkbenchPage.openEditor(Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;ZI)Lorg/eclipse/ui/IEditorPart;+7
    j org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility$1.run()V+41
    j org.eclipse.swt.custom.BusyIndicator.showWhile(Lorg/eclipse/swt/widgets/Display;Ljava/lang/Runnable;)V+116
    j org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.openEditor(Lorg/eclipse/ui/IWorkbenchPage;Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;)Lorg/eclipse/ui/IEditorPart;+26
    j org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.openEditor(Lorg/eclipse/debug/ui/sourcelookup/ISourceLookupResult;Lorg/eclipse/ui/IWorkbenchPage;)Lorg/eclipse/ui/IEditorPart;+201
    j org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.display(Lorg/eclipse/debug/ui/sourcelookup/ISourceLookupResult;Lorg/eclipse/ui/IWorkbenchPage;)V+3
    j org.eclipse.debug.ui.DebugUITools.displaySource(Lorg/eclipse/debug/ui/sourcelookup/ISourceLookupResult;Lorg/eclipse/ui/IWorkbenchPage;)V+5
    j org.eclipse.debug.internal.ui.elements.adapters.StackFrameSourceDisplayAdapter$SourceDisplayJob.runInUIThread(Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/core/runtime/IStatus;+24
    j org.eclipse.ui.progress.UIJob$1.run()V+53
    J org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Z)Z
    J org.eclipse.swt.widgets.Display.runAsyncMessages(Z)Z
    J org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V
    j org.eclipse.ui.internal.Workbench.runUI()I+555
    j org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/internal/Workbench;)I+1
    j org.eclipse.ui.internal.Workbench$7.run()V+55
    j org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
    j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+18
    j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
    j org.eclipse.ui.internal.ide.application.IDEApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+99
    j org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+135
    j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103
    j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29
    j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+149
    j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183
    v ~StubRoutines::call_stub
    V [libjvm.so+0x15e33c]
    V [libjvm.so+0x797afc]
    V [libjvm.so+0x217704]
    V [libjvm.so+0x215d8c]
    C [libjava.so+0x10bfc] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x18
    j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+746878888
    j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
    j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
    j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
    j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
    j org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+211
    j org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+126
    j org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
    j org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V+10
    v ~StubRoutines::call_stub
    V [libjvm.so+0x15e33c]
    V [libjvm.so+0x2012dc]
    C [java+0x3ab8]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j org.eclipse.swt.internal.gtk.OS._pango_context_list_families(I[I[I)V+0
    j org.eclipse.swt.internal.gtk.OS.pango_context_list_families(I[I[I)V+10
    j org.eclipse.swt.graphics.Device.getFontList(Ljava/lang/String;Z)[Lorg/eclipse/swt/graphics/FontData;+53
    j org.eclipse.jface.resource.FontRegistry.filterData([Lorg/eclipse/swt/graphics/FontData;Lorg/eclipse/swt/widgets/Display;)[Lorg/eclipse/swt/graphics/FontData;+67
    j org.eclipse.jface.resource.FontRegistry.createFont(Ljava/lang/String;[Lorg/eclipse/swt/graphics/FontData;)Lorg/eclipse/jface/resource/FontRegistry$FontRecord;+32
    j org.eclipse.jface.resource.FontRegistry.getFontRecord(Ljava/lang/String;)Lorg/eclipse/jface/resource/FontRegistry$FontRecord;+53
    j org.eclipse.jface.resource.FontRegistry.get(Ljava/lang/String;)Lorg/eclipse/swt/graphics/Font;+2
    j org.eclipse.jface.resource.JFaceResources.getHeaderFont()Lorg/eclipse/swt/graphics/Font;+5
    j org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor$SourceAttachmentForm.createTitleLabel(Lorg/eclipse/swt/widgets/Composite;Ljava/lang/String;)Lorg/eclipse/swt/widgets/Label;+36
    j org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor$SourceAttachmentForm.createControl(Lorg/eclipse/swt/widgets/Composite;)Lorg/eclipse/swt/widgets/Control;+99
    j org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.verifyInput(Lorg/eclipse/ui/IEditorInput;)V+95
    j org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.createPartControl(Lorg/eclipse/swt/widgets/Composite;)V+96
    j org.eclipse.ui.internal.EditorReference.createPartHelper()Lorg/eclipse/ui/IEditorPart;+361
    j org.eclipse.ui.internal.EditorReference.createPart()Lorg/eclipse/ui/IWorkbenchPart;+27
    j org.eclipse.ui.internal.WorkbenchPartReference.getPart(Z)Lorg/eclipse/ui/IWorkbenchPart;+65
    j org.eclipse.ui.internal.EditorReference.getEditor(Z)Lorg/eclipse/ui/IEditorPart;+2
    j org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;ZILorg/eclipse/ui/IMemento;)Lorg/eclipse/ui/IEditorPart;+233
    j org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;ZILorg/eclipse/ui/IMemento;)Lorg/eclipse/ui/IEditorPart;+27
    j org.eclipse.ui.internal.WorkbenchPage.access$11(Lorg/eclipse/ui/internal/WorkbenchPage;Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;ZILorg/eclipse/ui/IMemento;)Lorg/eclipse/ui/IEditorPart;+8
    j org.eclipse.ui.internal.WorkbenchPage$10.run()V+29
    j org.eclipse.swt.custom.BusyIndicator.showWhile(Lorg/eclipse/swt/widgets/Display;Ljava/lang/Runnable;)V+116
    j org.eclipse.ui.internal.WorkbenchPage.openEditor(Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;ZILorg/eclipse/ui/IMemento;)Lorg/eclipse/ui/IEditorPart;+59
    j org.eclipse.ui.internal.WorkbenchPage.openEditor(Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;ZI)Lorg/eclipse/ui/IEditorPart;+7
    j org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility$1.run()V+41
    j org.eclipse.swt.custom.BusyIndicator.showWhile(Lorg/eclipse/swt/widgets/Display;Ljava/lang/Runnable;)V+116
    j org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.openEditor(Lorg/eclipse/ui/IWorkbenchPage;Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;)Lorg/eclipse/ui/IEditorPart;+26
    j org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.openEditor(Lorg/eclipse/debug/ui/sourcelookup/ISourceLookupResult;Lorg/eclipse/ui/IWorkbenchPage;)Lorg/eclipse/ui/IEditorPart;+201
    j org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.display(Lorg/eclipse/debug/ui/sourcelookup/ISourceLookupResult;Lorg/eclipse/ui/IWorkbenchPage;)V+3
    j org.eclipse.debug.ui.DebugUITools.displaySource(Lorg/eclipse/debug/ui/sourcelookup/ISourceLookupResult;Lorg/eclipse/ui/IWorkbenchPage;)V+5
    j org.eclipse.debug.internal.ui.elements.adapters.StackFrameSourceDisplayAdapter$SourceDisplayJob.runInUIThread(Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/core/runtime/IStatus;+24
    j org.eclipse.ui.progress.UIJob$1.run()V+53
    J org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Z)Z
    J org.eclipse.swt.widgets.Display.runAsyncMessages(Z)Z
    J org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V
    j org.eclipse.ui.internal.Workbench.runUI()I+555
    j org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/internal/Workbench;)I+1
    j org.eclipse.ui.internal.Workbench$7.run()V+55
    j org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
    j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+18
    j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
    j org.eclipse.ui.internal.ide.application.IDEApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+99
    j org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+135
    j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103
    j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29
    j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+149
    j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183
    v ~StubRoutines::call_stub
    j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
    j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
    j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
    j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
    j org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+211
    j org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+126
    j org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
    j org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V+10
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x016fec00 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=300, stack(0xd8f00000,0xd8f80000)]
    0x01a5dc00 JavaThread "org.eclipse.jdt.debug: JDI Event Dispatcher" daemon [_thread_blocked, id=292, stack(0xd9000000,0xd9080000)]
    0x00a3bc00 JavaThread "Timer-2" daemon [_thread_blocked, id=291, stack(0xd9700000,0xd9780000)]
    0x00a41000 JavaThread "Packet Send Manager" daemon [_thread_blocked, id=290, stack(0xd9100000,0xd9180000)]
    0x01f73c00 JavaThread "Packet Receive Manager" daemon [_thread_in_native, id=289, stack(0xd9200000,0xd9280000)]
    0x00e2a400 JavaThread "Timer-1" daemon [_thread_blocked, id=287, stack(0xd9a00000,0xd9a80000)]
    0x0094c000 JavaThread "ServerConnection" [_thread_in_native, id=285, stack(0xd9800000,0xd9880000)]
    0x0094bc00 JavaThread "Process monitor" daemon [_thread_blocked, id=284, stack(0xd9300000,0xd9380000)]
    0x00895c00 JavaThread "Input Stream Monitor" daemon [_thread_blocked, id=283, stack(0xd9400000,0xd9480000)]
    0x01fef800 JavaThread "Output Stream Monitor" daemon [_thread_in_native, id=282, stack(0xd9600000,0xd9680000)]
    0x00a8b000 JavaThread "Output Stream Monitor" daemon [_thread_in_native, id=281, stack(0xd9900000,0xd9980000)]
    0x011dbc00 JavaThread "process reaper" daemon [_thread_in_native, id=280, stack(0xd9500000,0xd9580000)]
    0x01059800 JavaThread "Worker-24" [_thread_blocked, id=261, stack(0xd9c80000,0xd9d00000)]
    0x01059000 JavaThread "Worker-23" [_thread_blocked, id=260, stack(0xde580000,0xde600000)]
    0x02176000 JavaThread "Worker-22" [_thread_blocked, id=248, stack(0xddd00000,0xddd80000)]
    0x01ff0800 JavaThread "Worker-21" [_thread_blocked, id=247, stack(0xda280000,0xda300000)]
    0x00c41c00 JavaThread "Worker-20" [_thread_blocked, id=245, stack(0xdd700000,0xdd780000)]
    0x0268bc00 JavaThread "Worker-19" [_thread_blocked, id=243, stack(0xde000000,0xde080000)]
    0x0141e800 JavaThread "Worker-18" [_thread_blocked, id=242, stack(0xdda00000,0xdda80000)]
    0x019aec00 JavaThread "Worker-16" [_thread_blocked, id=227, stack(0xddf00000,0xddf80000)]
    0x0143b800 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=223, stack(0xddb00000,0xddb80000)]
    0x01022800 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=219, stack(0xdde00000,0xdde80000)]
    0x00a58800 JavaThread "Worker-12" [_thread_blocked, id=211, stack(0xde680000,0xde700000)]
    0x018c5400 JavaThread "pool-1-thread-5" [_thread_blocked, id=187, stack(0xd9d80000,0xd9e00000)]
    0x013cdc00 JavaThread "pool-1-thread-4" [_thread_blocked, id=186, stack(0xda380000,0xda400000)]
    0x002a4c00 JavaThread "pool-1-thread-3" [_thread_blocked, id=185, stack(0xddc00000,0xddc80000)]
    0x0282b400 JavaThread "pool-1-thread-2" [_thread_blocked, id=184, stack(0xd9e80000,0xd9f00000)]
    0x018c6400 JavaThread "pool-1-thread-1" [_thread_blocked, id=183, stack(0xd9f80000,0xda000000)]
    0x00973000 JavaThread "Timer-0" daemon [_thread_blocked, id=75, stack(0xdd800000,0xdd880000)]
    0x00ab8000 JavaThread "Thread-39" daemon [_thread_blocked, id=74, stack(0xdd500000,0xdd580000)]
    0x00dc1400 JavaThread "Worker-6" [_thread_blocked, id=73, stack(0xdd900000,0xdd980000)]
    0x004db000 JavaThread "Thread-32" daemon [_thread_in_native, id=66, stack(0xda4d0000,0xda4e0000)]
    0x011eb000 JavaThread "[ThreadPool Manager] - Idle Thread" daemon [_thread_blocked, id=43, stack(0xdd400000,0xdd480000)]
    0x003e6400 JavaThread "Bundle File Closer" daemon [_thread_blocked, id=27, stack(0xde100000,0xde180000)]
    0x007c6c00 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=26, stack(0xde200000,0xde280000)]
    0x001ce800 JavaThread "Java indexing" daemon [_thread_blocked, id=24, stack(0xde380000,0xde400000)]
    0x00191400 JavaThread "Worker-0" [_thread_blocked, id=21, stack(0xe2580000,0xe2600000)]
    0x01235400 JavaThread "Worker-JM" [_thread_blocked, id=20, stack(0xe2380000,0xe2400000)]
    0x007ff400 JavaThread "[Timer] - Main Queue Handler" daemon [_thread_blocked, id=19, stack(0xe2480000,0xe2500000)]
    0x0074e000 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=17, stack(0xe2680000,0xe2700000)]
    0x00390000 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=16, stack(0xe2780000,0xe2800000)]
    0x005c9800 JavaThread "State Data Manager" daemon [_thread_blocked, id=15, stack(0xe2880000,0xe2900000)]
    0x00124800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=13, stack(0xe2a80000,0xe2b00000)]
    0x00122400 JavaThread "CompilerThread1" daemon [_thread_blocked, id=12, stack(0xe2b80000,0xe2c00000)]
    0x00110c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=11, stack(0xe2c80000,0xe2d00000)]
    0x00118000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10, stack(0xe2d80000,0xe2e00000)]
    0x00107c00 JavaThread "Finalizer" daemon [_thread_blocked, id=9, stack(0xe2e80000,0xe2f00000)]
    0x00106400 JavaThread "Reference Handler" daemon [_thread_blocked, id=8, stack(0xe2f80000,0xe3000000)]
    =>0x0003d800 JavaThread "main" [_thread_in_native, id=2, stack(0xfe300000,0xfe380000)]
    Other Threads:
    0x00103c00 VMThread [stack: 0xe3080000,0xe3100000] [id=7]
    0x0012ec00 WatcherThread [stack: 0xe2980000,0xe2a00000] [id=14]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    PSYoungGen total 40704K, used 18973K [0xf6000000, 0xf9400000, 0xfb800000)
    eden space 29568K, 59% used [0xf6000000,0xf714b120,0xf7ce0000)
    from space 11136K, 11% used [0xf7e40000,0xf7f7c5c8,0xf8920000)
    to space 10432K, 0% used [0xf89d0000,0xf89d0000,0xf9400000)
    PSOldGen total 90112K, used 71968K [0xeb400000, 0xf0c00000, 0xf6000000)
    object space 90112K, 79% used [0xeb400000,0xefa48298,0xf0c00000)
    PSPermGen total 73728K, used 71408K [0xe3400000, 0xe7c00000, 0xeb400000)
    object space 73728K, 96% used [0xe3400000,0xe79bc298,0xe7c00000)
    Dynamic libraries:
    0x00010000      /proj/atelteadm/tools/jdk1.6.0_21/bin/java
    0xff3a0000      /lib/libthread.so.1
    0xff370000      /proj/atelteadm/tools/jdk1.6.0_21/bin/../jre/lib/sparc/jli/libjli.so
    0xff350000      /lib/libdl.so.1
    0xff200000      /lib/libc.so.1
    0xff390000      /platform/SUNW,Sun-Fire-V445/lib/libc_psr.so.1
    0xfe400000      /proj/atelteadm/tools/jdk1.6.0_21/jre/lib/sparc/server/libjvm.so
    0xff1d0000      /lib/libsocket.so.1
    0xff1f0000      /usr/lib/libsched.so.1
    0xff1b0000      /lib/libm.so.1
    0xff180000      /usr/lib/libCrun.so.1
    0xff160000      /lib/libdoor.so.1
    0xff080000      /lib/libnsl.so.1
    0xfef80000      /lib/libm.so.2
    0xff050000      /lib/libscf.so.1
    0xff140000      /lib/libuutil.so.1
    VM Arguments:
    jvm_args: -Xms128m -Xmx256m -XX:MaxPermSize=128m
    java_command: /proj/atelteadm/tools/eclipse_dist_jcat/e4e_fix//plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -os solaris -ws gtk -arch sparc -showsplash -launcher /proj/atelteadm/tools/eclipse_dist_jcat/e4e_fix/eclipse -name Eclipse --launcher.library /proj/atelteadm/tools/eclipse_dist_jcat/e4e_fix//plugins/org.eclipse.equinox.launcher.gtk.solaris.sparc_1.1.0.v20100503/eclipse_1307.so -startup /proj/atelteadm/tools/eclipse_dist_jcat/e4e_fix//plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -exitdata 74000027 -install /proj/atelteadm/tools/eclipse_dist_jcat/e4e_fix -nl en_US -showlocation -vm /proj/atelteadm/tools/jdk1.6.0_21//bin/java -vmargs -Xms128m -Xmx256m -XX:MaxPermSize=128m -jar /proj/atelteadm/tools/eclipse_dist_jcat/e4e_fix//plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=/usr/local/opt/apssystem/aps_9.1/bin:/proj/aps/bin:/home/ehollis/.afs/0/rbin:/home/ehollis/.afs/0/pbin:/env/seli/bin:/home/ehollis/.afs/0/ibin:/usr/atria/bin:/usr/afsws/bin:/usr/bin:/usr/X/bin:/usr/dt/bin:/usr/openwin/demo:/usr/openwin/bin:/usr/dt/bin:/usr/ccs/bin:/usr/sbin:/sbin:/usr/ucb:/opt/seli/bin:/opt/sge/seli/etegrid/bin:/opt/sge/seli/bctgrid/bin:/usr/ucb:.
    LD_LIBRARY_PATH=/proj/atelteadm/tools/jdk1.6.0_21/jre/lib/sparc/server:/proj/atelteadm/tools/jdk1.6.0_21/jre/lib/sparc:/proj/atelteadm/tools/jdk1.6.0_21/jre/../lib/sparc:/app/gtk+/2.2.2/lib:/usr/sfw/lib/mozilla/
    SHELL=/bin/tcsh
    DISPLAY=:16.0
    HOSTTYPE=sun4
    OSTYPE=solaris
    MACHTYPE=sparc
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x87b320], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGBUS: [libjvm.so+0x87b320], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGFPE: [libjvm.so+0x1c4174], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGPIPE: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGXFSZ: [libjvm.so+0x1c4174], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGILL: [libjvm.so+0x1c4174], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGQUIT: [libjvm.so+0x7560bc], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGHUP: [libjvm.so+0x7560bc], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGINT: [libjvm.so+0x7560bc], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGTERM: [libjvm.so+0x7560bc], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIG39: [libjvm.so+0x759ae8], sa_mask[0]=0x00000000, sa_flags=0x00000008
    SIG40: [libjvm.so+0x1c4174], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    --------------- S Y S T E M ---------------
    OS: Solaris 10 10/08 s10s_u6wos_07b SPARC
    uname:SunOS 5.10 Generic_142900-13 sun4u (T2 libthread)
    vm_info: Java HotSpot(TM) Server VM (17.0-b16) for solaris-sparc JRE (1.6.0_21-b06), built on Jun 22 2010 01:34:33 by "" with Workshop 5.8
    Any clues anyone?

    get a SIGSEGV every time I use debug mode in EclipseSo if you create a hello world program and then debug it, it crashes?
    If yes then the causes would be
    1. The VM(s) binaries are corrupted. Plural as it depends on how you run Eclipse.
    2. Something else installed on your system at the OS level (or at least always running) is corrupt or is corrupting the OS.
    3. A hardware failure.

  • Published report will not run; works fine in VS2010 debug mode.

    Have 64bit Visual Studio Ultimate installed, CRv13_1 and MSSQL 2008 R2.
    The issue I am having is the report work like a champ when I run the web application in debug mode. IE I hit the run button in Visual Studio, However when I publish the application the report will not run. I get various errors depending on how I have connected to report to MSSQL. I have tried ODBC and OLE DB connections. I have tried Windows authentication and MSSQL user login. The results are the same. the report works fine in debug mode but will not work when published. The most common error message is :
    Error
    Database logon failed.
    or
    Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
    Depending on how I am authenticating. I have Google this issue and there are tons of posts about it but no solutions. Any help would be appreciated.

    See if the article [Troubleshooting Guide to Database Connectivity Issues with Crystal Reports in Visual Studio .NET Applications|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0225775-88c4-2c10-bd80-8298769293de] helps.
    I'd settle on the prefered connection method and troubleshoot that. Use the search box in the top right corner of this web page. It will bring up KBases, blogs, wikis, articles and more. Also, search these forums. There is lots of info here and lots of answers.
    - Ludek

  • Output preview works only when preview dialogue box is open?

    The output preview setting certainly takes effect, but only when the output preview dialogue box is open, so that accurately previewing images in reading mode is not possible; it's only possible to see a preview by going to an image and opening the OP dialogue box. As soon as the OP dialogue box is closed, the image reverts back to its pre-preview state. This can't be right!

    Thanks for your feedback. I had tried to navigate with the dialogue box open using the "hand", which didn't work; I see now that you can still go from page to page with the box open using either keyboard command or menu arrows.
    I was actually incorrect in referring to "reading mode"; I meant to say "full screen" mode. And again, since the cursor doesn't act as a cursor but rather as a pinpoint when the dialogue box is open, I incorrectly assumed that all navigation (including full screen mode) was disabled. This, I now see, is not the case.

  • ImaqDisplayImage hangs when running .exe and the window can't be moved when in Debug mode

    I am running a multi threaded application with multiple windows, two of which display images but only one is open all the time.  The window displaying the image (using imaqDisplayImage(myImage, 1, TRUE)) can not be moved or resized, the image continually updates though, when I run the app in debug mode.
    If I run an executable, either debug or release the following happens:
    Everything looks good right when the app starts, all windows are displayed and the live image window is continually updated.
    If I click on any window in my program or not in my program, the imaqDisplayImage window freezes and will not udate its image, it will allow me to move it though, and it has (Not Responding) in the title bar.  The main window of my program does not freeze and behaves normally. 
    I know that an acquisition is still taking place because I have a button on my main window that copies the last grabbed image that should be displayed in the imaqDisplayImage window and displayes it on a canvas (using imaqImageToArray etc . . .) and this image changes everytime I click the button.
    Anyone have any tips with dealing with imaqDisplayImage windows??  Thanks!

    At this point we want to pinpoint exactly where in your code this behavior is originating from. Try running the included examples which can be found here:
    C:\Program Files\National Instruments\MeasurementStudio\CVI\samples\IMAQ\Display
    C:\Program Files\National Instruments\MeasurementStudio\CVI\samples\Vision\1.GettingStarted
    and see if you experience the same behavior. If we still experience this, then we know that it is a setting within the functions that we need to change. If not, we know that it is somewhere else in the code of the bigger project which is the culprit. 
    Daniel G.
    Applications Engineer
    National Instruments

Maybe you are looking for

  • How to change Position Number in Sales Order?

    Hello Gurus, I have the requirement to renumber the positions in an existing sales order. For example position 000020 needs to be changed to position 000030. Unforunately BAPI_SALESORDER_CHANGE cant do this apparently. Anyone knows a way other than d

  • My ipod was stolen and now its under there name

    My ipod was stolen from me but thankfully i got it back but when they had it they put all there songs on it when i got home to update my songs on in the coner of my itunes it kept saying that it was there ipod like when i updated mine my name would s

  • Input Negative values in selection screen  for select-options field

    I am not able enter negative values for SELECT-OPTIONS V_ERFMG FOR MSEG-ERFMG. It says negative values are not allowed but I need to check for negative values. Kindly provide me solution.

  • Ipod wont update new songs

    when i plug my ipod into the computer so it can charge and update in my new songs, it stays on the "do not disconnect" screen and doesn't update it anymore. help? ipod mini    

  • DS5.2 - no objectclass violation errors any more?

    Hi, I don't get an error when adding 2 values to single-value attribute. For instance when adding 2 mail values (a single-value attribute according to the schema) to a person I can see both mail values in the audit log, but only the last one is added