Constructing a class extending JDialog when invoked from main application

In an application that extends JFrame a method, showJDialogGUI, is called to instantiate an object of another class (called enterGUI) that extends JDialog. This object, enterGUIDialog, is modal; user must click on its Submit button in order to dismiss it and be able to continue in MainProgram. I have troubles getting error messages resolved when the constructor of the enterGUIDialog JDialog object is called. Perhaps there are other things wrong with below code. Any help appreciated - snippet of code from both classes is below.
public class MainProgram extends JFrame {
enterGUI enterGUIDialog; // declaration for object of class extending JDialog
public MainProgram() {     // constructor
myContainer = getContentPane();
showJDialogGUI(); // calls method to initialize
public void showJDialogGUI() {
enterGUIDialog = new enterGUI (this, true);
enterGUIDialog.setDefaultCloseOperation (DISPOSE_ON_CLOSE );
enterGUIDialog.setSize(200,200);
enterGUIDialog.setVisible( true );
enterGUIDialog.show();
} // end of class MainProgram
public class enterGUI extends JDialog{
Container myContainer;
JPanel myPanel;
//// How to call the constructor to create this JDialog????
public loginGUI( JRootPane theRoot, boolean theModal ) // passed in 'this', and 'true'
// or maybe??? public About(Frame parent, boolean modal) {
this.setRootPane( theRoot ); //???????
// or maybe ??? super(theRoot, flag);
//super(theRoot, flag); // calls Dialog class constructor
this.setModal( theModal ); // ?????
myContainer = getContentPane();
myContainer.setLayout( new FlowLayout() );
thePanel = new JPanel();
// next add components to JPanel, then add to the JDialog container
fieldsPanel.add( pageLabel ); etc.
myContainer.add( fieldsPanel );
// etc.
myContainer.setDefaultCloseOperation( DISPOSE_ON_CLOSE );
myContainer.setVisible(true);
} // end of constructor
// more methods etc
}

Error received is:
E:\Ghost>
MainProgram.java:670: cannot resolve symbol
symbol : constructor enterGUI (MainProgram,boolean)
location: class MyPackage.enterGUI
enterGUIDialog = new enterGUI(this, true);
'new enterGUI(this, true); ' seems to be at start of
error
TIAThe error message could not be any more clear. To wit: the compiler is telling you it cannot find a constructor for class enterGUI that takes as parameters a reference to a javax.swing.JFrame, and a boolean value. Supply the constructor and the error will not be raised.

Similar Messages

  • Oracle Server 11.2.0.1.0 64-bit fails when invoked from InstallShield

    I'm trying to install the Oracle Server 11.2.0.1.0 64-bit on Windows 2008 SP1 from the InstallShield 2010.
    The installation is silent. Invoked by command line:
    J:\Oracle_11.2.0_x64\OracleServer_11.2.0.1_x64\setup.exe ORACLE_HOME_NAME="ARAXI_11" -silent -nowelcome -force -nowait -noconsole -loglevel fine -noconfig -ignoreSysPrereqs use_prereq_checker=false -responseFile C:\Oracle\11.2.0\installation\scripts\SVRCUSTOM11.2.0.rsp
    The problem is that when the command is invoked from command line (cmd), the installation is successful.
    However, when the same command is invoked from under the InstallShield, the installation fails on Architecture requirement check:
    INFO: *********************************************
    INFO: Architecture: This is a prerequisite condition to test whether the system has a certified architecture.
    INFO: Severity:CRITICAL
    INFO: OverallStatus:OPERATION_FAILED
    INFO: All forked task are completed at state performChecks
    INFO: Completed background operations
    INFO: Moved to state <performChecks>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating state <performChecks>
    INFO: Using default Validator configured in the Action class oracle.install.ivw.db.action.PrereqAction
    INFO: Adding ExitStatus PREREQUISITES_NOT_MET to the exit status set
    SEVERE: [FATAL] [INS-13013] Target environment do not meet some mandatory requirements.
    CAUSE: Some of the mandatory prerequisites are not met. See logs for details. C:\Oracle\Inventory\logs\installActions2011-05-19_12-58-13PM.log
    ACTION: Identify the list of failed prerequisite checks from the log: C:\Oracle\Inventory\logs\installActions2011-05-19_12-58-13PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
    INFO: Advice is ABORT
    INFO: Adding ExitStatus INVALID_USER_INPUT to the exit status set
    The questions:
    1. Why the requirement checks give different results when installation is invoked from CMD and from InstallShield?
    2. Why the requirement checks are done despite the parameters "-ignoreSysPrereqs" and "use_prereq_checker=false"?
    3. What should I do to get the installation pass (either remove the check or make it satisfying)?
    PS. The 32 bit Oracle Server installation on Windows 2003 works without problem when invoked from InstallShield.

    Please use 2008R2 if you want to install 11gR2 versionThank you for that update. Possibly it will help me to solve another trouble.
    Regarding the problem I described, the issue is that I install Oracle Client 32 bit prior to trying to install Oracle Servier 64 bit.
    The Oracle Client setup had started RemoteExecService.exe 32 bit process. And the process remained running after the installation completed.
    The Oracle Server setup utilizes the running RemoteExecService.exe process. Since the process is 32 bit, the architecture requirement check had failed.
    I've added to my script killing the process
    taskkill /F /IM RemoteExecService.exe
    before invoking the Oracle Server installation.
    That way the Oracle Server setup starts another RemoteExecService.exe process and the new process is 64 bit.
    The architecture requirement succeed.

  • Faults in BPEL when invoked from a Custom built Web Application

    Hello there,
    I have developed a BPEL flow for a HealthCare demo and it works fine and all is well when it is invoked from the BPEL Console's initiate screen.
    I developed a webapplication to invoke the same (using the regular com.collaxa api for invokation of any BPEL process). It invokes the BPEL successfully and I can see the whole Payload in the 'receiveInput' section of the BPEL Flow. But the very First 'Assign' in which i just assign a text string as a default value to an input element faults out stating that the 'to' field is a 'zero node'... The assign stage also shows the payload with all values in it. But it errors out...
    here is the payload in the 'receiveInput' stage:
    <inputVariable>
    <part name="payload" >
    <HealthCareWorkFlowProcessRequest>
    <enduser_name>pavan</enduser_name>
    <enduser_phone_number>08046521345</enduser_phone_number>
    <enduser_username>pkvedam</enduser_username>
    <enduser_email_id>[email protected]</enduser_email_id>
    <problem_desc>cancer</problem_desc>
    <prob_relates_to>onchology</prob_relates_to>
    <doctor_assigned/>
    <doctor_assigned_email_id/>
    <proposed_date>13-10-2006</proposed_date>
    <proposed_time>09:00</proposed_time>
    <proposed_duration>01:00</proposed_duration>
    <patient_comments>swelling in the arm pit</patient_comments>
    <receptionist_comments/>
    <doctor_comments/>
    <receptionist_username>employee</receptionist_username>
    <receptionist_email_id>[email protected]</receptionist_email_id>
    </HealthCareWorkFlowProcessRequest>
    </part>
    </inputVariable>
    Here is the ASSIGN stage errors out (copied to clipboard):
    [2006/10/14 10:44:54]
    Error in <assign> expression: <to> value is empty at line "46". The XPath expression:
    "/child::client:HealthCareWorkFlowProcessRequedst/child::client:receptionist_username"
    returns zero node, when applied to document shown below:
    <HealthCareWorkFlowProcessRequest>
    <enduser_name>pavan</enduser_name>
    <enduser_phone_number>08046521345</enduser_phone_number>
    <enduser_username>pkvedam</enduser_username>
    <enduser_email_id>[email protected]</enduser_email_id>
    <problem_desc>cancer</problem_desc>
    <prob_relates_to>onchology</prob_relates_to>
    <doctor_assigned/>
    <doctor_assigned_email_id/>
    <proposed_date>13-10-2006</proposed_date>
    <proposed_time>09:00</proposed_time>
    <proposed_duration>01:00</proposed_duration>
    <patient_comments>swelling in the arm pit</patient_comments>
    <receptionist_comments/>
    <doctor_comments/>
    <receptionist_username>employee</receptionist_username>
    <receptionist_email_id>[email protected]</receptionist_email_id>
    </HealthCareWorkFlowProcessRequest>
    <selectionFailure>
    <part name="summary" >
    <summary>XPath query string returns zero node. According to BPEL4WS spec 1.1 section 14.3, The assign activity &lt;to&gt; part query should not return zero node. Please check the BPEL source at line number "46" and verify the &lt;to&gt; part xpath query. </summary>
    </part>
    </selectionFailure>

    oops... sorry... I had typed it in as there is no way to copy that 'error message' on to the clipboard from the BPEL FLOW depiction.
    it must have read 'HealthCareWorkFlowProcessRequest'...
    the problem is not with the typo... :(
    Am not able to find the root cause... but the flow fails when invoked from my web application...

  • Printer doesnt appear in the print options window when printing from an application like word etc

    Ok  this topic is all over the help forums but I have a couple of different observations not previously covered and all remedies that have been posted and worked for most havent worked for me
    First of all the Printer used to work with USB or NET connection and then suddenly unexpectedly stopped working. I cant say with 100% conviction whether this was when the upgrade to windows 7 occured or not
    things I have tried:-
    I have used the hp install wizard
    I have a downloaded the windows 7 update. 
    I can ping the device
    I can print a test page.
    The icon appears in the device and printer window but with an exclamation mark.
    I have tried NET STOP SPOOLER / NET START SPOOLER.
    I can scan docuemnts OK
    here is the part that I believe appears to be different from the other case on the forum.
    If I open a word document and select print the printer preferences dialogue window opens but no printer is visible to select. When I select add printer it shows my network then double clicking this opens a window showing a printer icon but its a previous version?? so when I select it as a printer to add nothing happens and it still doesnt appear as a selectable printer in the printer preferences pop up window. So doesnt print any thing
    Im lost for any other ideas to try

    I had already tried this and it didnt work on your advice I repeated the process with same results it appears in devices list but with an exclamation mark but trouble shooter fails to find any problem
     I refer you to the things tried and status in my first post i.e. I can ping the IP, I can scan. So my thoughts are now it must be something on my PC side that is the issue and not the printer or printer software.
    Could it be a security level issue that's the reason why  manual selection of add printer comes back access denied ??. Possibly  I need admin login. However I am the admin and single user of my PC anyway so I should have access.
    or some other PC setting why it doesnt see the printer in the printer settings when printing from an application ?

  • Microsoft Word and Excel Hang When Pasting From Apple Applications

    I have had a problem ever since upgrading to Snow Leopard. Word and Excel hang when pasting from Apple applications like Safari and Pages. Pasting to OpenOffice does not show the problem. Pasting from Firefox does not show the problem. I have resolved font duplicates, got rid of input managers, reinstalled Office removing plist files and normal templates but the problem persists. Microsoft is saying it is not their software after looking at the crash dump created from force quit. Besides, sticking to open source software , I am at a loss for what to try next besides reinstalling Mac OS X 10.6 (I am on 10.6.2 now). Any help appreciated. I have crash dumps and snapshots of the hung process if anyone can read them. Word is using close to 100% of the CPU when hung.

    Microsoft is saying it is not their software after looking at the crash dump created from force quit.
    If their software is freezing up, it's certainly nobody else's fault. If those Apple apps are for some reason creating bad clipboard data, Microsoft's apps should be able to gracefully recover and report the problem. Error handling is probably one of the most important, and most difficult, aspects of programming, but you can't blame poor error handling on anyone but the developer. I suspect that, rather than bad clipboard data, it's more likely to be a case of Microsoft's apps simply not understanding something about perfectly valid clipboard data, because they haven't properly followed Apple developer guidelines.
    Of course, that's not a solution. I can't really provide you a solution, other than to ask what version of Office you're using. If you're using too old a version of Word, you should update. You should also let us know what kinds of stuff you're copying. More info always helps to get better answers.

  • Rmi interface not loading when invoked from class in package

    Hi, It would be a great help if you could help me out with the following problem:
    The RMIClient fails to detect the remote object interface in the current directory when i place it within a package.
    1) I tried placing the remote object interface in the same package - this didn't change the error output.
    2) I tried to import the remote object by placing the parent's parent directory in the classpath - a new error popped up saying the file did not contain any class! Since its an RMI interface extending remote, it dosen't involve a class directly.
    The following is my client code:
    package java.util.logging;  // Without this line, this client works fine.
    import java.rmi.*;
    import java.rmi.server.*;
    import java.io.*;
    import java.util.logging.*;
    import logTest.RMIChannel;
    public class RMIChannelClient
       public static void main(String[] args)
          System.setProperty("java.security.policy", "client.policy");
          System.setSecurityManager(new RMISecurityManager());
          String url = "rmi://acrux.cis.ksu.edu/";
          LogRecord record= new LogRecord(Level.ALL,"");
          try
             RMIChannel rc = (RMIChannel)Naming.lookup(url + "RMI_Channel");
          rc.sendRecord(record);
          catch(Exception e)
             e.printStackTrace();
    }The following is my interface extending remote:
    //package java.util.logging;  // I tried adding and removing this line but to no avail
    import java.rmi.*;
    import java.util.logging.LogRecord;
    public interface RMIChannel extends Remote
      String getDescription() throws RemoteException;
      void sendRecord(LogRecord record) throws RemoteException;
    }Could anyone suggest a solution to this issue?
    Thanks.

    ok. i was hoping to write my own logging class (extending upon sun's classes). while doing this, i found that LogManager.getStringProperty() is not a public method and cannot be accessed outside the java.util.logging package and the compiler complained. So i tried placing my file in java.util.logging package and it compiled fine. Is there a way i can use a method thats not declared public without importing its package?

  • Bug?: layers.add() is not working properly when invoked from menu (ID/CS6/Win7)

    Hello Devs,
    I am facing a mysterious issue with the layers.add() method.
    I am trying to create n number of layers for my document. So I have decided to create a menu for this.
    I have creatd two scripts
    1. For creating menu & menu action,
    2. Actual script that creates n number of layers.
    When I run the script #2 direclty from ESTK it works fine.
    Now when I try to invoke the same script from the Menu it is not working fine. Only the last layer is created.
    Script 1: LayerPopupMenuAction
    #target indesign
    #targetengine createLayerset
    var layerTemplateScript = File(File(getActiveScriptPath()).parent.fsName+"/IntializeTemplate.jsx");
    var initTemplateHandler = {
        'beforeDisplay' : function(ev)
                ev.target.enabled = (app.documents.length>0);
        'onInvoke' : function()
                app.doScript(layerTemplateScript, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.FAST_ENTIRE_SCRIPT, "Initialize Script");
    var layerMenuAction = app.scriptMenuActions.add("&Create Layer Set");
    for(var init_ev in initTemplateHandler) {
        layerMenuAction.eventListeners.add(init_ev, initTemplateHandler[init_ev]);
    var refMenuItem = app.menus.item("$ID/LayerPanelPopup");
    refMenuItem.menuItems.add(layerMenuAction, LocationOptions.AFTER, refMenuItem.menuItems.item(2));
    function getActiveScriptPath() {
        // This function returns the path to the active script, even when running from ESTK
        try {
            return app.activeScript;
        } catch(e) {
            return e.fileName;
    Script 2: IntializeTemplate
    #target indesign
    if (app.documents.length == 0){
        alert("Please open a document and try again", "Document Error", true);
        exit();
    var templateDoc = app.activeDocument;
    var layerNameArray = ["Fixed_Static_Assets", "Absolute_User_Assets", "Relative_User_Assets"];
    CreateLayers(layerNameArray);
    alert("Initialization Successful");
    //--------------------------------FUNCTIONS ARE DEFINED HERE--------------------------------
    function CreateLayers(LayerNameList){
        var layerListLength = LayerNameList.length;
        var layerObject;
        for (var ln=0; ln<layerListLength; ln++){
            layerObject = templateDoc.layers.itemByName(LayerNameList[ln]);
            if (layerObject.isValid==false){
                layerObject = templateDoc.layers.add({name:LayerNameList[ln]});
                //$.writeln('Layer Creation: ' + layerObject.isValid + ' for '+layerObject.name);
        //Merger Default Layer with the bottom layer:
        var defaultLayer = templateDoc.layers.itemByName("Layer 1");
        if(defaultLayer.isValid==true){
            //$.writeln('Default is Valid and will be merged with top most layer');
            layerObject.merge([defaultLayer]);
    Any help / guidance on this regard will be much helpful.
    @Marijan Tompa [tomaxxi]: I googled for the solution and noticed that you have already worked on similar type of script. Please help me if you can.
    Thanks
    Green4ever

    Hi Green4ever,
    At a very first sight I'd suspect UndoModes.FAST_ENTIRE_SCRIPT which, as you may know, can deeply scramble script steps, especially when a try...catch is in use.
    Try to replace FAST_ENTIRE_SCRIPT by ENTIRE_SCRIPT and tell us.
    @+
    Marc

  • Under Windows 8.1, Adobe Drive crashes on File- Check In... when invoked from an Adobe creative application.

    I am testing my drive connector on Windows 8.1 (64-bit) using Adobe Drive (5.0.2) with Photoshop CC (15.1.0.148) and Bridge CC (6.1.0.116), and I find that if I use File->Check In... from the creative apps (I checked InDesign too), the application crashes inside of AdobeDriveUI.dll.  The crash happens as it attempts to display the dialog that solicits a Check In comment.
    I have tried using both the 32-bit and the 64-bit version of Adobe Drive, but both exhibit the same issue.  I am quite certain that my connector is not involved, as the crash happens in native code that collects the version comment *before* my ICheckInHandler instance gets called. 
    I am interested in any insight or work-arounds that might exist.  Thanks for any help!
    Here are details in the Windows Event Viewer's XML format:
    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
      <Provider Name="Application Error" />
      <EventID Qualifiers="0">1000</EventID>
      <Level>2</Level>
      <Task>100</Task>
      <Keywords>0x80000000000000</Keywords>
      <TimeCreated SystemTime="2014-10-02T15:36:38.000000000Z" />
      <EventRecordID>5226</EventRecordID>
      <Channel>Application</Channel>
      <Computer>Win8VM</Computer>
      <Security />
      </System>
    - <EventData>
      <Data>Photoshop.exe</Data>
      <Data>15.1.0.148</Data>
      <Data>53d97a8f</Data>
      <Data>AdobeDriveUI.dll</Data>
      <Data>5.0.2.16</Data>
      <Data>532b518c</Data>
      <Data>c0000005</Data>
      <Data>0000000000008ca8</Data>
      <Data>dec</Data>
      <Data>01cfde5650e17527</Data>
      <Data>C:\Program Files\Adobe\Adobe Photoshop CC 2014\Photoshop.exe</Data>
      <Data>C:\Program Files\Common Files\Adobe\Adobe Drive 4\Client\AdobeDriveUI.dll</Data>
      <Data>e5865b18-4a49-11e4-8271-000c29022208</Data>
      <Data />
      <Data />
      </EventData>
      </Event>

    Thank you for the Replay,
    I performed steps provided by you , but it did not help.
    on other hand, i have collected some more data regarding
    this issue.
    1. went to SAFE Mode and tried to run the application from USB
    2. got Exception "The instruction at 0x00407038 referenced memory at 0x00000078. The memory could not be read"
    some more info on setup :
    we have a micro controller on board, some part of memory (present on board) is used to keep application and server. we can open this memory via USB connection to PC. then we can see all files present at this memory on PC (behaves like externally connected
    USB Drive) . 
    When we start this application . it will start the server . server will send 'request file' to controller soft. (this part is working fine), and controller will send back response , as soon as response file(RSP.txt) will appear in USB drive it will get corrupted
    .(here RSP.txt file is present in controller USB decided memory but to open this we are using PC RAM). crashing of RSP.txt file will crash whole application. This RSP File is of FAT Type.
    i have copied application in another external drive and tried to RUN application. it will not crash  . but USB can not receive the "RSP.txt" (as it is not in communication with controller soft). and problem is in response file.
    BR,
    sanjyot

  • CUPS Error message when printing from some applications

    Hi. I've got an issue when printing from some apps, but not others. Up to a few months ago everything was fine, then it started when Word would not print direct to my printer (Epson Stylus Pro 3880), not a big deal as I don't use it a lot and could print it through Safari if needed. Then more worryingly as a designer I found that PDFs stopped printing direct too, again I can print through Safari and Preview. Last night I installed a firmware update and now InDesign (CS4) is refusing to print!! Not great as printing via Safari/Preview doesn't give me the same level of control over my prints. Just checked both Illustrator and Photoshop and they both print okay. I get the same error code each time "error: /usr/libexec/cups/filter/pstoraster failed" Does anyone know what could be causing this?
    Thanks in anticipation. D

    cytan,
    As Matt pointed, an application printing to CUPS controls only the format of the input.  It has no direct control over the chain of filters inside the printing pipeline.  Acrobat isn't coded to use pstoraster, it is simpling submitting postscript to the print queue.  In an un-molested Apple supplied CUPS setup, that works fine.
    What is going on is that the CUPS system configuration got mangled by some third party bits.  In the Unix tradition, the configuration is fairly transparent, in the form of plain text files.  In particular, in /usr/share/cups/mime you will find out exactly how the filter pipeline is configured via a table of what filter to use to convert data between two mime types.  So we can inspect how the filters are setup and how a broken pstoraster is getting into the chain.
    I don't have a handy "before mangling" state, but I can clearly see the Apple specified filters to be invoked when the input data is application/postscript (in apple.convs).  I can also see a conflicting filter definition referencing the broken pstopdf (in mime.convs) but with a higher precedence, overriding the apple specified filter.  This is why, in reference to your points #1 and #2, simply removing pstoraster fails, because the filter configuration is what needs fixing.
    On my system, I found the pstoraster filter to be a shell script referencing a MacPorts install of ghostscript. I've since removed MacPorts, but that evidentally left the CUPS configuration in this broken state.  Without knowing exactly how the CUPS system was put into the broken state, fixing it can be a bit tricky.  Another posting suggested replacing the broken pstoraster with the Apple supplied equivalent of pstocupsraster.  That might work, but it would be better to simply remove the conflicting filter specification, which on my system is this bit in /usr/share/cups/mime/mime.convs:
    # pstoraster is part of GPL Ghostscript...
    application/vnd.cups-postscript        application/vnd.cups-raster     100     pstoraster
    Removing that will restore the Apple specified filter chain for postscript input.  With the filter specification gone, you are free to remove the pstoraster filter itself.
    On wating for Adobe to fix this...
    Acrobat provides enough things to scream about without pinning non-Acrobat problems on it as well.  Not only is this problem not the fault of Acrobat, but suggesting that Acrobat should reach into a CUPS system broken by some unknown third party and fix it is only going to complicate the situation by having two third party products trying to un-do each other's configuration of a system resource.   Do you really trust Adobe to fiddle with system components it doesn't own?  No, I didn't think so.  Adobe installers and updaters have enough trouble with the stuff they do own.
    So, why does this problem only seem to affect Acrobat (your point #3)?  I suspect it is simply that Acrobat is in the minority of submitting Postscript to the print queue.  Any print job produced via CoreGraphics APIs is going to enter the system via a different path (namely, PDF), but the Postscript method is completely legitimate and any application that submits Postscript will be affected in the same way as Acrobat.
    I hope this sheds some useful light on what is really going on with this problem.
    -john

  • Sub VI to enter database data taking more time when calling from main VI

    Hi All,
    I created a sub vi to enter data to a new database, after reading from another database. when i executed that sub vi alone, it took only 2 minutes to enter 20000 records. But when i called that sub VI from my main VI, its taking 35 minutes to enter 20000 records. 
    my maiin vi has another while loop running parallelly which will perform some other operations. How to handle memory in this case? i mean when i call my sub vi from main vi, i need to give complete processor memory for that sub vi. is it possible?
    please help. thanks in advance.
    Sooraj

    Hi Oliver,
    in your example the numeric data is passed from sub-vi to main only when sub-vi terminates, this is what it's supposed to be when you fetch the data from the connector output of a sub-vi.
    You can use queues function to exchange data between sub-vi and main.vi; take a look at the example Message Logging with Named Queue.vi.
    An alternative method is passing to sub-vi a reference of an indicator (or control) and update its value on the fly.
    See example.
    Alberto
    Attachments:
    passing_data_from_sub-vi.llb ‏35 KB

  • Duplicate contacts when created from another application like Mail

    When adding a contact to Address Book from another application (from an email signature for example) two of the same contact are always created.  This does not happen when creating a contact from within Address Book.  Anyone have this problem and correct it?

    known bug, please send feedback to apple about your situation. http://www.apple.com/feedback/macosx.html
    Address book has a feature "look for duplicates" under Card in the menu bar. This will merge duplicate entries into on. But now I have some weird double names (but they're one contact/one card).

  • Environment.Exit hangs when called from an application domain exception handler

    I've implemented a handler for exceptions not thrown in the main GUI thread of my C# WinForms application, as follows:
        AppDomain.CurrentDomain.UnhandledException  += OnUnhandledExceptionThrown;
    This handler is called from a background thread. The last statement in this handler is a call to
    Environment.Exit with the application exit code. However, the application hangs in this call. From within Visual Studio, it hangs and I'm unable to break the application; I have to use Task Manager to terminate Visual Studio. Environment.Exit
    works fine when called from the unhandled exception handler for the GUI thread. Is there a better way to terminate the application in the context of an unhandled exception thrown by a background thread?

    Are you just trying to avoid a crash? Environment.Exit can cause deadlocking if exiting in the wrong kind of scenario; if you're just trying to avoid a crash, use
    GetCurrentProcess with
    TerminateProcess to terminate your own process.  It skips the notification phases that Environment.Exit uses which prevents the common deadlock scenarios.
    WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/

  • Filter condition not working when Navigating from Main report to detail

    Hello,
    I have one report in OBIEE 10.3.4. Below is the filter condition used in Main report:-
    (Customer Secondary Organization is equal to / is in BMS OTHER C
    AND Customer Tertiary Organization is equal to / is in S&FO )
    OR Customer Secondary Organization is equal to / is in MKTG
    Also in my detail report I am using the same filter conditions:-
    (Customer Secondary Organization is equal to / is in BMS OTHER C
    AND Customer Tertiary Organization is equal to / is in S&FO)
    OR Customer Secondary Organization is equal to / is in MKTG
    Now when I am navigating from Main report to Detail report, then this filter condition is getting overridden by below condition:-
    Customer Secondary Organization is equal to MKTG
    and Customer Tertiary Organization is equal to S&FO
    or Customer Secondary Organization is equal to MKTG
    What I noticed is If I rearrange the filters and make it as below:-
    (Customer Secondary Organization is equal to / is in MKTG
    AND Customer Tertiary Organization is equal to / is in S&FO)
    OR Customer Secondary Organization is equal to / is in BMS OTHER C
    Then I am getting the filter in detail report as:-
    Customer Secondary Organization is equal to BMS OTHER C
    and Customer Tertiary Organization is equal to S&FO
    or Customer Secondary Organization is equal to BMS OTHER C
    It is taking Secondary Organization which is 2nd one in the main report.
    Can anyone please help me on this.
    Thank You,
    Shivam Saxena

    Hi,
    What you can try is refer the filte condition in the main report to the detailed report with the option--> Filter based on another request.
    Or you try creating another intermediate report which will refer the main report filters and pass the filters to the detailed report.
    Hope this helps.
    Regards
    MuRam

  • Canother when them from another application eg imovie? 150 files but only 30 show.

    Aperture 3 help please. Can anyone tell me why I lose photos from files when trying to access them from another application eg imovie? file may have 80 photos but only 20 might be seen in application.

    Can anyone tell me why I lose photos from files
    Do you mean from folders, albums, or projects?
    How do you access your Aperure images from other applications? Do you show Aperture in the Media Brower?
    Then you need to ensure that Aperture renders previews for all  images you want to access externally. Check your settings in the Aperture Preferences -> Previews and enable "Share Previews ..." and "New Projects automatically generate Previews". If reviews are missing for older imports select the images, ctrl click and "Update Preview".
    Regards
    Léonie

  • MX 922 - "no paper" (but full) when printing from SOME applications

    I CAN print from my ipad "notes" application. I CANNOT print from a web page or my photos. The MX 922 says it is out of paper - BUT IT ISN'T. I don't get this error when printing from my ipad "notes" ap. I am frustrated and about to take it back to Costco.

    Hi djh,
    Please place paper in the upper cassette, making sure that the small size photo paper such as 4" x 6" (10 x 15 cm) or 5" x 7" (13 x 18 cm), or Hagaki are loaded.
    Please note that if you cut plain paper into small size such as 4" x 6" (10 x 15 cm) or 5" x 7" (13 x 18 cm) and try to print on it, the paper jam will occur.
    Once the paper is in place, align the paper guides with the both edges of the paper and the press the OK button.
    Please attempt to print.
    If you continue to have difficulties, please contact our support group using the following link:
    http://www.usa.canon.com/cusa/consumer/standard_display/contact_us_consumer
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

Maybe you are looking for