Build exception error

After converting a LV7 application to a LV8 project and attempting a build, the following message appears:
CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFBuildDist_Build.vi
Loading product deployment information
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
Building deployment
Copying setup files
Setting merged database information
Setting product information
Setting developer part information
Starting final build
*** Error: Caught an exception of an unknown type. (Error code -1)
*** End Error Report
Done building deployment
Has anyone run into this before, and know how to get rid of it?
Any help appreciated... Dave Gardner

Hello Dave,
Do you have some invalid filename characters such as / \ : * ? " > < | in your executable filname, because this could cause this problem.
If your filname contains such characters please remove it and it should work!
Regards, Christian

Similar Messages

  • Build payments error

    I am trying to run a cheque payment batch but the Build payments request is erroring. I have run this successfully many times a month or so ago.
    I have tried searching metalink, on OTN and googling the error but no luck.
    Here is the log from the request:
    Payments: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    IBYBUILD module: Build Payments
    Current system time is 10-DEC-2012 17:36:39
    **Starts**10-DEC-2012 17:36:40
    **Ends**10-DEC-2012 17:36:43
    BUILD PROGRAM ERROR - CANNOT COMPLETE CHECK NUMBERING
    Start of log messages from FND_FILE
    Enter Build :: Concurrent Request ID::4699011
    |STEP 1: Insert Payment Service Request:: Timestamp:10-DEC-12 05.36.40.324885000 PM +11:00|
    |STEP 2: Insert Documents :Timestamp:10-DEC-12 05.36.40.363742000 PM +11:00|
    |STEP 3: Account/Profile Assignment :Timestamp:10-DEC-12 05.36.42.262375000 PM +11:00|
    Request status after assignments: ASSIGNMENT_COMPLETE
    |STEP 4: Document Validation :Timestamp:10-DEC-12 05.36.42.305476000 PM +11:00|
    Request status after document validation: DOCUMENTS_VALIDATED
    |STEP 5: Document Re-Validation: Timestamp:10-DEC-12 05.36.42.425959000 PM +11:00|
    |STEP 6: Payment Creation :Timestamp:10-DEC-12 05.36.42.427070000 PM +11:00|
    Request status after payment creation: PAYMENTS_CREATED
    |STEP 7: Payment Re-Creation:Timestamp:10-DEC-12 05.36.42.942589000 PM +11:00|
    Final status of payment request 683 (calling app pay req cd: tdl chq 10-dec-12 #6) before exiting build program is PAYMENTS_CREATED
    |STEP 8: Check PICP Kickoff Flag: Timestamp:10-DEC-12 05.36.42.945151000 PM +11:00|
    |STEP 9: Payment Instruction Creation :Timestamp:10-DEC-12 05.36.42.947062000 PM +11:00|
    FV_FEDERAL_PAYMENT_FIELDS_PKG.GET_PAY_INSTR_SEQ_NUM: FV: Federal Enabled profile is not turned on
    Return status of payment instruction creation: S
    |STEP 10: Check Numbering : Timestamp:10-DEC-12 05.36.43.441961000 PM +11:00|
    After numbering, return status: E, and return message:
    Exception occured when numbering checks of payment instructions. Check numbering will be aborted ..
    SQLCODE: -20001
    SQLERRM: ORA-20001:
    Build program error: Exception occured when attempting to provide printed document numbers (check numbers) for the payments of the provided payment service request.
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    439
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 10-DEC-2012 17:36:43
    ---------------------------------------------------------------------------

    Hi,
    Since you were able to run this successfully earlier, i would rule out the possibility of this being a BUG...
    The second most likely cause is that, the payment document used by this payment process request is also being used in another payment process request which is in incomplete status....So, make sure there are no other payment process requests pending apart from this one ... either complete those or terminate those...
    The Third cause is that, the payment document defined would have exhausted its sequence numbers, hence you should either increase the sequence or use a different payment document which has enough number of sequences available for generating checks...
    By sequence i am referring to the number of check leafs...
    If the above does not apply, then you would be better off logging a service request with oracle, as it could be something new which many are not aware of ...
    Regards,
    Ivruksha

  • BUILD PROGRAM ERROR - CANNOT CREATE PAYMENTS

    Hi, I'm trying to run a payment batch using payments manager and encountered this error.
    In my test data I used two suppliers that belongs to the same operating unit.
    Payments: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    IBYBUILD module: Build Payments
    Current system time is 09-NOV-2009 11:26:11
    **Starts**09-NOV-2009 11:26:11
    **Ends**09-NOV-2009 11:26:13
    BUILD PROGRAM ERROR - CANNOT CREATE PAYMENTS
    Start of log messages from FND_FILE
    IBY_PAYGROUP_PUB.performPostHookProcess: Fatal error - Payment count mismatch after hook operation. # payments passed to hook: 1, # payments returning from hook: 2
    IBY_PAYGROUP_PUB.performPostHookProcess: Aborting program ..
    End of log messages from FND_FILE
    Executing request completion options...
    Finished executing request completion options.
    Exceptions posted by this request:
    Concurrent Request for "Build Payments" has completed with error.
    Concurrent request completed
    Current system time is 09-NOV-2009 11:26:13
    Please help
    thanks,
    Renz

    Hi
    Please review the below note from Metalink,
    Bug No. 6771847
    Filed 24-JAN-2008 Updated 13-MAR-2008
    Product Oracle Payments Product Version 12.0.4
    Platform Linux x86 Platform Version ENTERPRISE 4
    Database Version 10.2.0.2 Affects Platforms Generic
    Severity Severe Loss of Service Status Closed, Verified by Filer
    Base Bug N/A Fixed in Product Version 12.0.4
    Problem statement:
    R12: AFTER APPLYING 12.0.4 BUILD PAYMENT PROGRAM ERRORS
    please review the same if it resolvs your error.
    Thanks
    Manish Jain.

  • Build Program error

    I am trying to make batch payment in Release 12 via a Payment Manager.
    The invoice which are selected by the payment process request belong to 2 operating units. The problem comes with the build progam getting errored out.
    The out file displays the following message:
    "Build program error: Exception occured when attempting to create payments from the documents payable of the provided payment service request."
    The log file is as follows:
    Payments: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    IBYBUILD module: Build Payments
    Current system time is 22-JUN-2009 15:08:50
    **Starts**22-JUN-2009 15:08:50
    **Ends**22-JUN-2009 15:09:08
    BUILD PROGRAM ERROR - CANNOT CREATE PAYMENTS
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 22-JUN-2009 15:09:09
    Could someone please provide a solution for this.
    you may email me at [email protected]

    so if i have 2 sites...say X and Y then I can pay invoices from these two sites using a single check.
    say on X site i entered invoice 1 and 3
    and on Y site i entered invoice 2 and 4
    so can i pay all invoice 1 2 3 and 4 using batch payment..i know this is yes
    but the question is can i pay using a single check???

  • Java io exception error

    hi i am getting a io exception error in this code
    * MainCanvas.java
    * Created on 06 March 2007, 10:25
    import java.io.*;
    import javax.microedition.lcdui.*;
    import javax.*;
    //import com.nokia.mid.ui.FullCanvas; //code to load full canvas
    * @author  Administrator
    * @version
    public class MainCanvas extends Canvas implements CommandListener
        Image logo, cursor, background, pfrIcon, pffIcon;
         * constructor
        public MainCanvas()
            try {
                // Set up this canvas to listen to command events
                setCommandListener(this);
                // Add the Exit command
                addCommand(new Command("Exit", Command.EXIT, 1));
                logo = Image.createImage("c:/logo.png");
                //pfrIcon = Image.createImage("c:/icon.png");
                setFullScreenMode(true);
            } catch(Exception e) {
                e.printStackTrace();
         * paint
        public void paint(Graphics g)
            g.drawString("Sample Text",0,2,Graphics.TOP|Graphics.LEFT);
            g.drawImage(logo, 0,0,Graphics.TOP | Graphics.LEFT);
        }the error points to this specific line whenever i try to run the program. However their is no build errors.
    logo = Image.createImage("c:/logo.png");

    Without the specific wording of the exception, we'll
    have to resort to guessing.
    logo =Image.createImage("c:/logo.png");Should that be
    logo =
    Image.createImage("c:\\logo.png");on Windows?Would both OleW and hellbinder please desist from giving advice in the future until you know what you are talking about.
    The java classes which deal with paths work just fine with forward slashes, translating them into the OS's format automatically when they actually get around to talking to the OS. This is part of platform independence. Your 'advice' is headed in the wrong direction, making the code platform DEpendent.

  • ERROR: invalid backup file version. Exception: Error while unzipping invalid wcs 7.x export file

    Hi,
    I'm having a serious issue with your brend new Cisco Prime Network Control System (NCS) and i would appreciate if someone could give me good answers.
    After a background backup task failure, the database was entirelly corrupted and the oracle server no longuer wanted to start. And because of that the NCS web server is unusable, since no one can log in.
    We tryed to restore to last known backup obtained after a former suucessful backup. But we get this error:
    "ERROR: invalid backup file version. Exception: Error while unzipping invalid wcs 7.x export file"
    All the lost data was previously migrated from the former WCS 7.x server. Before this issue everything was working fine.
    So we think that the appliance is seeing the backup file from NCS as a WCS backup.
    We need to find rapidly a solution. Here is our configuration:
    We formerly had WCS 7.0.172.0 hosted on Microsoft Windows Server 2003  SP2 with the above caracteristics: 
    Intel(R)Xeon(R) CPU  5120 @ 1.86Ghz 1.87Ghz 16GB of RAM.
    We now have NCS  Version 1.1.1.24 running under Cisco Application Deployment  Engine
    OS Release:  2.0
    ADE-OS Build Version: 2.0.1.038
    ADE-OS System Architecture:  x86_64

    I was getting this error too. TL;DR: When you transfer the wcs.zip file to your FTP server, make sure you are using BINARY mode... which is often NOT the default FTP mode.
    Long Version:
    TO GET THIS ERROR, what I had done was use the Windows CLI FTP command to transfer my "wcs.zip" to the NCS FTP server.
    -----BEGIN WRONG STEPS-----
    C:\ftp
    ftp> open x.x.x.x
    Connected to x.x.x.x.
    220 Service ready for new user
    User (x.x.x.x:(none)): ftp-user
    331 User name okay, need password for ftp-user
    Password:
    230 User logged in, proceed
    ftp> put wcs.zip
    200 Command PORT okay
    150 File status okay; about to open data connection
    226 Closing data connection
    ftp: 526768949 bytes sent blah blah etc
    -----END WRONG STEPS-----
    I would then run "ncs stop" and "ncs migrate" and get the "ERROR: invalid backup file version. Exception: Error while unzipping invalid wcs 7.x export file".
    I remembered something from my misspent youth: Windows, for no good reason, likes to transfer files in ASCII mode. UNIX (which LINUX comes from) prefers BINARY, and the two do not like to negotiate.
    TO FIX THIS, I had to just FTP in Binary mode.
    -----BEGIN RIGHT STEPS-----
    C:\ftp
    ftp> open x.x.x.x
    Connected to x.x.x.x.
    220 Service ready for new user
    User (x.x.x.x:(none)): ftp-user
    331 User name okay, need password for ftp-user
    Password:
    230 User logged in, proceed
    ftp> binary
    200 Command TYPE okay
    ftp> put wcs.zip
    200 Command PORT okay
    150 File status okay; about to open data connection
    226 Closing data connection
    ftp: 526768949 bytes sent blah blah etc
    -----END RIGHT STEPS-----
    NOW when I enter "ncs stop" (actually... had to restart them... then stop them... x.x) and then the proper "ncs migrate" commands, I get a happy output and don't have to go home late troubleshooting this.
    "  Stage 1 of 5: Decompressing backup ...
      -- complete.
      Stage 2 of 5: Restoring Support Files ...
                  : Restoring the Domain Maps ...
                  :  -- complete.
                  : Restoring the License files ...
                  :  -- complete.
      -- complete.
      Stage 3 of 5: Restoring Data ...
    I hope this helps anyone banging their head against the WCS->PI1.3 install wall.
    (Note, WCS needs to be migrated to NCS 1.1.1.24 (NOT NCS 1.1.3!!!!!) before you can migrate to Prime Infrastructure 1.2 or 1.3, because for no readily apparent reason the "ncs migrate" command was removed from PI 1.2 and up. Also note, there is no "Prime Infrastructure 1.1;" they just renamed NCS to Prime Infrastructure after NCS 1.1 because. Yes, the sentence ends there. Great products, all 3, just... agonizing to migrate.)

  • Exception Error 0x5F4 deletechildobject.vi

    Hello,
    I am getting a very strange error.
    I am using the storage vi's in my application.  On my development machine my application runs fine.  When I build an executable and use it on another machine I get the following error.
    Exception error  0x5F4 _deleteChildObject.vi.  I think there is a problem with the delete run group vi but I don't know what it could be.
    When I run the executable on my development machine I don't have a problem.
    Please advise.
    Dan

    Hello,
    After trading the your path creating subVI (which was not attached) for a hard path to the TDM file you attached, I successfully ran both the VI and an executable I built from the VI.  I was hoping to reproduce the error here so I could explore it.  Any more information you have on this issue would be helpful - perhaps you can attach your executable - maybe that explains the problem on your machine (although it wouldn't explain the problem on your customer's machine).  I imagine you may have already tried this, but maybe a mass compile would help if something in the VI is corrupted on your machine (holding control and shift, and then clicking the run button will mass compile your code in LabVIEW).
    Sorry I couldn't reproduce it, but I look forward to your repost with any additional information and possibly a failing executable version of your code (you can use the path functions such as Current VIs Path - see the File I/O -> File Constants palette - to get the base path to the same directory your executable is called from... then use that to call the TDM file which can sit in the same directory, and I can put it there to run your exe).
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • 11g Clusterware installation VIPCA Exception error on linux

    Hi,
    I'm trying to build a 11g RAC on OEL5.1 with vmware for education purposes.
    Software used:
    - Oracle Enterprise Linux 5.1
    - 11g clusterware for linux
    - 11g Enterprise Edition database software for linux
    - VMware 1.0.8 for linux
    Hardware:
    - Intel 2.3GHz quadcore with 4GB RAM and 250GB harddisk
    I have successfully setup:
    - host machine using OEL5.1 and installed VMware 1.0.8
    - 2 nodes with guest OS using OEL5.1
    When installing 11g clusterware, at the last part when we need to run orainst.sh and root.sh as root user on both nodes, I am able to run orainst.sh successfully on both nodes.
    However, root.sh is only able to run successfully on node 1 but had VIPCA error on node 2.
    Excerpt of the root.sh error message on node 2:
    NO KEYS WERE WRITTEN. Supply -force parameter to override.
    -force is destructive and will destroy any previous cluster
    configuration.
    Oracle Cluster Registry for cluster has already been initialized
    Startup will be queued to init within 30 seconds.
    Adding daemons to inittab
    Expecting the CRS daemons to be up within 600 seconds.
    Cluster Synchronization Services is active on these nodes.
    rac1
    rac2
    Cluster Synchronization Services is active on all the nodes.
    Waiting for the Oracle CRSD and EVMD to start
    Oracle CRS stack installed and running under init(1M)
    Running vipca(silent) for configuring nodeapps+
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/ewt/wizard/WizardFrame+
    Executing crs_stat -t as root user on both nodes only show 2 crs processes (CRSD and EVMD).
    I did try invoking vipca manually as root user, but keep getting the same Exception error:
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/ewt/wizard/WizardFrame+
    I have tried installing clusterware more than 3 times and keep getting the same errors.
    Has anyone experienced this vipca error before?
    Regards
    Jim
    Edited by: user6442011 on Jul 7, 2009 11:39 PM

    Check vipca.jar file at $ORA_CRS_HOME/srvm/jlib/vipca.jar
    $ORA_CRS_HOME/jdk/bin/jar -tvf $ORA_CRS_HOME/srvm/jlib/vipca.jar
    Or
    find $ORA_CRS_HOME -name vipca.jar -type f
    Example: test...
    # mv $ORA_CRS_HOME/srvm/jlib/vipca.jar $ORA_CRS_HOME/srvm/jlib/vipca.jar-bak
    # $ORA_CRS_HOME/bin/vipca
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/ops/vipca/VipCAStep:
    - find vipca.jar
    # find $ORA_CRS_HOME -name vipca.jar -type f
    it should be at $ORA_CRS_HOME/srvm/jlib PATH
    if not find... you can copy from other patch or ... (Or check why don'tfind ... it can happen if we patch, so find from old version )
    If find ..
    Check
    $ORA_CRS_HOME/jdk/bin/jar -tvf $ORA_CRS_HOME/srvm/jlib/vipca.jar | grep Wizard
    ;) check you can read it (vipca.jar)
    Or ... Example
    # type vipca
    /u01/oracle/crs/bin/vipca
    # ls /u01/oracle/crs/srvm/jlib/vipca.jar
    # /u01/oracle/crs/jdk/bin/jar -tvf /u01/oracle/crs/srvm/jlib/vipca.jarEdited by: Surachart Opun (HunterX) on Jul 8, 2009 5:22 PM
    Edited by: Surachart Opun (HunterX) on Jul 8, 2009 5:36 PM

  • Java.lang.NullPointer Exception error in webi

    Hi All,
    When a opening a webi report a user is getting java.lang.NullPointer Exception error in webi for a single report.
    Other reports which were build from same universe are working fine. The issue is only with one user and one report.
    Environment:
    Business Objects XIR3
    Java 6 ,update 3
    IE version 7
    Web Application Server - Apache Tomcat
    Thanks in Advance....

    Hi,
    Check whether the same user is able to open the report in some other machine?
    What happens when the user is trying to open other reports? Does he gets the error again?
    If the reports is working with other machine, check the java version of the machines.
    If the report is working with other users, it not possible that the universe is damaged.
    This issue cannot be a rights issue. It has to be something with the report, java, or the universe.
    Please check the above details and let me know.
    Regards,
    Shreyash.

  • Application Exception Error in NT

    Greetings,
    I am a relativley newbie to Labview (5.0.1). Got a serious problem.
    I have created a simple VI to collect voltages from 2 sources. I used the
    Simple Analog Sample Single point Sub-VI (x2).One sample per second. I stuck
    this in a For-loop and wrote the data to a file. I also bundled the outputs
    from the sub-vi and outputed that to a Waveform Chart. It worked fine.
    I modified that file to use Simple Analog Sample Multiple points (not multi-
    waveforms). The data was bundled and output to a Waveform Chart. (no file this
    time). I got a repeatable Application Exception Error (Win NT 4.0 workstation).
    Using the trace function, I found the error occured as the data hit the bundle
    function. I dropped the Sampl
    e AI and used a random number generator, the error
    still occured (as data hit the bundle functtion).
    I started from scratch the next time (tonight). I used a for-loop, Simple AI
    multipoint. One sample per second. Data indexed and then put into a bundle to
    put into a waveform chart. It worked !! but all of the plots were in just one
    of the five windows in the chart. I stopped the execution. I right clicked on
    the chart and chose overlay/stack. BAM !! the exception came back.
    What am I doing wrong ??!! Is it easy to fix?
    You can look at the VI for yourself. Like I said it is very simple:
    http://www.xdrive.com/share/975298119T7jjDSGNsaZ8RSSs6DRQVvL
    The file is called "Closed Loop DAQ.VI" and is 77k.
    I really appreciate any insights you might have.
    Mark Rogers
    LLUMC
    [email protected]

    [email protected] (TSchmid) wrote in <8vtnlk$3qo$[email protected]>:
    >I use NT4.0 SP6a and testet your VI on my Station.
    >changed the chart to overlay and back and had no problem ???
    >sorry it works on my station well.
    > :-( I think thats not what you wanted to hear
    >sorry Tobias
    You are right ! ;-)
    I tried the VI on another machine (different NT build), and I still get the
    error. I reinstalled LV on both machines, and I still get the error. You can
    imagine today was fun and productive...
    Since you do not get the error and are using version 6, I am guessing it is a
    LV thing. Anyway, I have a tech support person at NI looking at the logs and
    the VI.
    I guess it is time for a 6.0 upgrade.
    Thanks...
    Mark Rogers

  • If image file not exist in image path crystal report not open and give me exception error problem

    Hi guys my code below show pictures for all employees
    code is working but i have proplem
    if image not exist in path
    crystal report not open and give me exception error image file not exist in path
    although the employee no found in database but if image not exist in path when loop crystal report will not open
    how to ignore image files not exist in path and open report this is actually what i need
    my code below as following
    DataTable dt = new DataTable();
    string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
    using (SqlConnection con = new SqlConnection(connString))
    con.Open();
    SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
    cmd.CommandType = CommandType.StoredProcedure;
    SqlDataAdapter da = new SqlDataAdapter();
    da.SelectCommand = cmd;
    da.Fill(dt);
    foreach (DataRow dr in dt.Rows)
    FileStream fs = null;
    fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
    BinaryReader br = new BinaryReader(fs);
    byte[] imgbyte = new byte[fs.Length + 1];
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dr["Image"] = imgbyte;
    fs.Dispose();
    ReportDocument objRpt = new Reports.CrystalReportData2();
    objRpt.SetDataSource(dt);
    crystalReportViewer1.ReportSource = objRpt;
    crystalReportViewer1.Refresh();
    and exception error as below

    First: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
    Second : Drag And drop this image Filed Where I want.
    private void LoadReport()
    frmCheckWeigher rpt = new frmCheckWeigher();
    CryRe_DailyBatch report = new CryRe_DailyBatch();
    DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
    DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
    DataTable dt = GetImageRow(table, "Footer.Jpg");
    report.SetDataSource(dt);
    crv1.ReportSource = report;
    crv1.Refresh();
    By this Function I merge My Image data into dataTable
    private DataTable GetImageRow(DataTable dt, string ImageName)
    try
    FileStream fs;
    BinaryReader br;
    if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    else
    // if photo does not exist show the nophoto.jpg file
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    // initialise the binary reader from file streamobject
    br = new BinaryReader(fs);
    // define the byte array of filelength
    byte[] imgbyte = new byte[fs.Length + 1];
    // read the bytes from the binary reader
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dt.Rows[0]["Image"] = imgbyte;
    br.Close();
    // close the binary reader
    fs.Close();
    // close the file stream
    catch (Exception ex)
    // error handling
    MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
    return dt;
    // Return Datatable After Image Row Insertion
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • Why am I receiving Null pointer Exception Error.

    why am I receiving Null pointer Exception Error.
    Hi I am developing a code for login screen. There is no syntex error as such ut I am receving the aove mentioned error. Can some one please help me ??
    ------------ Main.java------------------
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class Main implements ActionListener
    Frame mainf;
    MenuBar mb;
    MenuItem List,admitform,inquiry,exit,helpn;
    Menu newm,update,help;
    Inquiry iq;
    Admit ad;
    // HosHelp hp;
    Howuse hu;
    Register reg;
    Main()
    mainf=new Frame(" Engg College V/S Mumbai University ");
         mb=new MenuBar();
         newm=new Menu(" New ");
         update=new Menu(" Update ");
         help=new Menu(" Help ");
         List=new MenuItem("List");
         admitform=new MenuItem("Admit");
         inquiry=new MenuItem("Inquiry");
         exit=new MenuItem("Exit");
         helpn=new MenuItem("How to Use?");
    newm.add(List);
                   newm.add(admitform);
    newm.add(inquiry);
                   newm.add(exit);
         help.add(helpn);
              mb.add(newm);
              mb.add(update);
              mb.add(help);
    mainf.setMenuBar(mb);
                   exit.addActionListener(this);
                   List.addActionListener(this);
         inquiry.addActionListener(this);
         admitform.addActionListener(this);
    helpn.addActionListener(this);
         mainf.setSize(400,300);
         mainf.setVisible(true);
    public void actionPerformed(ActionEvent ae)
    if (ae.getSource()==List)
              reg=new Register();
         if(ae.getSource()==inquiry)
         iq=new Inquiry();
    if(ae.getSource()==admitform)
         ad=new Admit();
              if(ae.getSource()==helpn)
              hu=new Howuse();
              if(ae.getSource()==exit)
         mainf.setVisible(false);
    public static void main(String args[])
              new Main();
    -------------Register.java---------------------------
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class Register implements ActionListener//,ItemListener
    Label id,name,login,pass,repass;
    Button ok,newu,cancel,check;
    Button vok,iok,lok,mok,sok; //buttons for dialog boxes
    TextField idf,namef,loginf,passf,repassf;
    Dialog valid,invlog,less,mismat,acucreat;
    Frame regis;
    Checkbox admin,limit;
    CheckboxGroup type;
    DBconnect db;
    Register()
         db=new DBconnect();
    regis=new Frame("Registeration Form");
              type=new CheckboxGroup();
              admin=new Checkbox("Administrator",type,true);
              limit=new Checkbox("Limited",type,false);
              id=new Label("ID :");
    name=new Label("Name :");
         login=new Label("Login :");
         pass=new Label("Password :");
         repass=new Label("Retype :");
    idf =new TextField(20); idf.setEnabled(false);
         namef=new TextField(30); namef.setEnabled(false);
    loginf=new TextField(30); loginf.setEnabled(false);
         passf=new TextField(30); passf.setEnabled(false);
         repassf=new TextField(30); repassf.setEnabled(false);
    ok=new Button("OK"); ok.setEnabled(false);
         newu=new Button("NEW");
    cancel=new Button("Cancel");
         check=new Button("Check Login"); check.setEnabled(false);
    vok=new Button("OK");
         iok=new Button("OK");
              lok=new Button("OK");
              mok=new Button("OK");
              sok=new Button("OK");
    valid=new Dialog(regis,"Login name is valid !");
         invlog=new Dialog(regis,"Login name already exist!");
         less=new Dialog(regis,"Password is less than six characters !");
    mismat=new Dialog(regis,"password & retyped are not matching !");
    acucreat=new Dialog(regis,"You have registered successfully !");
         regis.setLayout(null);
    //     regis.setBackground(Color.orange);
    valid.setLayout(new FlowLayout());
         invlog.setLayout(new FlowLayout());
         less.setLayout(new FlowLayout());
         mismat.setLayout(new FlowLayout());
    acucreat.setLayout(new FlowLayout());
    id.setBounds(35,50,80,25); //(left,top,width,hight)
    idf.setBounds(125,50,40,25);
    name.setBounds(35,85,70,25);
    namef.setBounds(125,85,150,25);
    login.setBounds(35,120,80,25);
    loginf.setBounds(125,120,80,25);
    check.setBounds(215,120,85,25);
         pass.setBounds(35,155,80,25);
    passf.setBounds(125,155,80,25);
    repass.setBounds(35,190,80,25);
    repassf.setBounds(125,190,80,25);
    admin.setBounds(35,225,100,25);
    limit.setBounds(145,225,100,25);
              ok.setBounds(45,265,70,25);
         newu.setBounds(135,265,70,25);
    cancel.setBounds(225,265,70,25);
         passf.setEchoChar('*');
    repassf.setEchoChar('*');
         regis.add(id);
         regis.add(idf);
    regis.add(name);
         regis.add(namef);
         regis.add(login);
         regis.add(loginf);
         regis.add(check);
    regis.add(pass);
         regis.add(passf);
    regis.add(repass);
         regis.add(repassf);
         regis.add(ok);
         regis.add(newu);
         regis.add(cancel);
    regis.add(admin);
         regis.add(limit);
    valid.add(vok);
         invlog.add(iok);     
         less.add(lok);
         mismat.add(mok);
    acucreat.add(sok);
    ok.addActionListener(this);
         newu.addActionListener(this);
    check.addActionListener(this);
    cancel.addActionListener(this);
         // limit.addItemListener(this);
         //admin.addItemListener(this);
              vok.addActionListener(this);
              iok.addActionListener(this);
         lok.addActionListener(this);
         mok.addActionListener(this);
         sok.addActionListener(this);
    regis.setLocation(250,150);
    regis.setSize(310,300);
    regis.setVisible(true);
         public void actionPerformed(ActionEvent ae)
         if(ae.getSource()==check)
              try{
                   String s2=loginf.getText();
    ResultSet rs=db.s.executeQuery("select* from List");
                        while(rs.next())
                   if(s2.equals(rs.getString(2).trim()))
    //                    invlog.setBackground(Color.orange);
                             invlog.setLocation(250,150);
                             invlog.setSize(300,100);
                   cancel.setEnabled(false);
    ok.setEnabled(false);
    check.setEnabled(false);
                        invlog.setVisible(true);
                             break;
                        else
                        //     valid.setBackground(Color.orange);
                             valid.setLocation(250,150);
                             valid.setSize(300,100);
                   cancel.setEnabled(false);
    ok.setEnabled(false);
    check.setEnabled(false);
                   valid.setVisible(true);
                        }catch(Exception e)
                   e.printStackTrace();
    if(ae.getSource()==newu)
         try{
              ResultSet rs=db.s.executeQuery("select max(ID) from List");
         while(rs.next())
    String s1=rs.getString(1).trim();
                   int i=Integer.parseInt(s1);
    i++;
                   String s2=""+i;
    idf.setText(s2);
                   newu.setEnabled(false);
                   namef.setText(""); namef.setEnabled(true);
              loginf.setText(""); loginf.setEnabled(true);
              passf.setText(""); passf.setEnabled(true);
              repassf.setText(""); repassf.setEnabled(true);
              ok.setEnabled(true);
                   check.setEnabled(true);
                   }catch(Exception e)
              e.printStackTrace();
         if(ae.getSource()==ok)
              try
              String s1=idf.getText();
              String s2=loginf.getText();
              String s3=passf.getText();
         String s4=repassf.getText();
         int x=Integer.parseInt(s1);
         int t;
         if(type.getSelectedCheckbox()==admin)
              t=1;
              else
              t=0;
    ResultSet rs=db.s1.executeQuery("select* from List");
                   while(rs.next())
                   if(s2.equals(rs.getString(2).trim()))
                        invlog.setBackground(Color.orange);
                        invlog.setLocation(250,150);
                        invlog.setSize(300,100);
                   cancel.setEnabled(false);
    ok.setEnabled(false);
    check.setEnabled(false);
                        invlog.setVisible(true);
                        break;
                   else
                        if (s3.length()<6)
                        less.setBackground(Color.orange);
                             less.setLocation(250,150);
                             less.setSize(300,100);
                   ok.setEnabled(false);
                        cancel.setEnabled(false);
                        check.setEnabled(false);
                        less.setVisible(true);
    else if(!(s3.equals(s4)))
                        mismat.setBackground(Color.orange);
                        mismat.setLocation(250,150);
                        mismat.setSize(300,100);
                        ok.setEnabled(false);
                        cancel.setEnabled(false);
                        check.setEnabled(false);
                        mismat.setVisible(true);
                        else
    db.s1.execute("insert into User values("+x+",'"+s2+"','"+s3+"',"+t+")");
                        acucreat.setBackground(Color.orange);
                        acucreat.setLocation(250,150);
                        acucreat.setSize(300,100);
                        regis.setVisible(false);
                        acucreat.setVisible(true);
                   }//else
              }//while
                   } //try
              catch(Exception e1)
              // e1.printStackTrace();
              if (ae.getSource()==cancel)
              regis.setVisible(false);
              if (ae.getSource()==vok)
              ok.setEnabled(true);
                   cancel.setEnabled(true);
    check.setEnabled(true);
                   valid.setVisible(false);
              if (ae.getSource()==iok)
              ok.setEnabled(true);
                   cancel.setEnabled(true);
    check.setEnabled(true);
                   invlog.setVisible(false);
              if (ae.getSource()==lok)
              less.setVisible(false);
                   cancel.setEnabled(true);
    ok.setEnabled(true);
    check.setEnabled(true);
              if (ae.getSource()==mok)
              mismat.setVisible(false);
                   cancel.setEnabled(true);
    ok.setEnabled(true);
    check.setEnabled(true);
    if (ae.getSource()==sok)
              acucreat.setVisible(false);
              ok.setEnabled(false);
                   newu.setEnabled(true);
                   regis.setVisible(true);
         public static void main(String args[])
         new Register();
    -----------DBConnect.java------------------------------------
    import java.sql.*;
    public class DBconnect
    Statement s,s1;
    Connection c;
    public DBconnect()
    try
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              c=DriverManager.getConnection("jdbc:odbc:Sonal");
              s=c.createStatement();
    s1=c.createStatement();
         catch(Exception e)
         e.printStackTrace();
    ----------Login.java----------------
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class Login implements ActionListener
    Frame log;
    Label login,pass;
    TextField loginf,passf;
    Button ok,cancel;
    Dialog invalid;
    Button iok;
    Register reg;
    DBconnect db;
    Main m;
    Login()
    db=new DBconnect();
         log=new Frame();
         log.setLocation(250,210);
         login=new Label("Login :");
    pass=new Label("Password :");
         loginf=new TextField(20);
         passf=new TextField(20);
         passf.setEchoChar('*');
         ok=new Button("OK");
         // newu=new Button("New User");
         cancel=new Button("CANCEL");
         iok=new Button(" OK ");
    invalid=new Dialog(log,"Invalid User!");
    //log.setBackground(Color.cyan);
    //log.setForeground(Color.black);
         log.setLayout(null);
         // iok.setBackground(Color.gray);
         invalid.setLayout(new FlowLayout());
         login.setBounds(35,50,70,25); //(left,top,width,hight)
         loginf.setBounds(105,50,100,25);
         pass.setBounds(35,85,70,25);
         passf.setBounds(105,85,70,25);
         ok.setBounds(55,130,70,25);
    // newu.setBounds(85,120,80,25);
    cancel.setBounds(145,130,70,25);
    log.add(login);
    log.add(loginf);
    log.add(pass);
    log.add(passf);
    log.add(ok);
    // log.add(newu);
    log.add(cancel);
         invalid.add(iok);//,BorderLayout.CENTER);
    ok.addActionListener(this);
    // newu.addActionListener(this);
    cancel.addActionListener(this);
         iok.addActionListener(this);
    log.setSize(300,170);
    log.setVisible(true);
    public void actionPerformed(ActionEvent a)
    if(a.getSource()==ok)
         try{
              String l=loginf.getText();
              String p=passf.getText();
              ResultSet rs=db.s.executeQuery("select * from List");
              while(rs.next())
              if(l.equals(rs.getString(2).trim())&& p.equals(rs.getString(3).trim()))
                        String tp=rs.getString(4).trim();
                             int tp1=Integer.parseInt(tp);
    log.setVisible(false);
    if(tp1==1)
                             m=new Main();
                        // m.List.setEnabled(true);
                             else
                             m=new Main();
                             m.List.setEnabled(false);
                        break;
    else
                   invalid.setBackground(Color.orange);
                   invalid.setSize(300,100);
                   invalid.setLocation(250,210);
                   cancel.setEnabled(false);
              ok.setEnabled(false);
                   invalid.setVisible(true);
                   }catch(Exception e1)
                   e1.printStackTrace();
         if (a.getSource()==cancel)
         log.setVisible(false);
         if (a.getSource()==iok)
         invalid.setVisible(false);
         loginf.setText("");
         passf.setText("");
         cancel.setEnabled(true);
    ok.setEnabled(true);
         public static void main(String[] args)
         new Login();
    -------------inquiry.java---------------------------------
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import java.util.Date;
    import java.text.*;
    import java.sql.*;
    public class Inquiry implements ActionListener
    Frame inqry;
    Label name,addr;
    TextField namef,addrf;
    Button ok,cancel,dok;
    Dialog invalid;
    Frame result; //Result of the inquiry....
    Label lrname,lraddr,lward,lrdate,lcdate;
    TextField rname,raddr,ward,rdate,cdate;
    Date d;
    DateFormat df;
    Button rok,rcancel;
    Dialog success;
    Button rdok;
    DBconnect db;
    Inquiry()
              db=new DBconnect();
              inqry=new Frame("Inquiry Form");
              inqry.setLayout(null);
    inqry.setBackground(Color.cyan);
              name=new Label(" NAME ");
              addr=new Label("ADDRESS");
              namef=new TextField(20);
              addrf=new TextField(20);
              ok=new Button("OK");
              cancel=new Button("CANCEL");
              dok=new Button("OK");
              invalid=new Dialog(inqry,"Invalid Name or Address !");
              invalid.setSize(300,100);
         invalid.setLocation(300,180);
              invalid.setBackground(Color.orange);
              invalid.setLayout(new FlowLayout());
    result=new Frame(" INQUIRY RESULT "); //Result Window......
    result.setLayout(null);
    result.setBackground(Color.cyan);
    lcdate=new Label(" DATE ");
         lrname=new Label(" NAME ");
    lraddr=new Label(" ADDRESS ");
         lward=new Label(" WARD ");
         lrdate=new Label(" ADMIT-DATE ");
    cdate=new TextField(10);
         rname=new TextField(20);
    rname.setEnabled(false);
         raddr=new TextField(20);
         raddr.setEnabled(false);
         ward=new TextField(20);
         ward.setEnabled(false);
         rdate=new TextField(10);
         rdate.setEnabled(false);
         cdate=new TextField(20);
         d=new Date();
         df=DateFormat.getDateInstance(DateFormat.MEDIUM,Locale.KOREA);
         cdate.setText(df.format(d));
         cdate.setEnabled(false);
    rok=new Button(" OK ");
         rcancel=new Button("CANCEL");
              name.setBounds(40,50,50,25);
    namef.setBounds(120,50,130,25);
    addr.setBounds(40,100,60,25);
    addrf.setBounds(120,100,80,25);
    ok.setBounds(60,145,70,25);
              cancel.setBounds(140,145,70,25);
              lcdate.setBounds(200,50,60,25); //Result Window......
    cdate.setBounds(270,50,80,25);      
    lrname.setBounds(35,85,70,25);
    rname.setBounds(140,85,180,25);
    lraddr.setBounds(35,120,80,25);
         raddr.setBounds(140,120,100,25);
    lward.setBounds(35,155,80,25);
    ward.setBounds(140,155,100,25);
    lrdate.setBounds(30,190,80,25);
    rdate.setBounds(140,190,80,25);
    rok.setBounds(70,240,70,25);
    rcancel.setBounds(170,240,70,25);
              inqry.add(name);
              inqry.add(namef);
              inqry.add(addr);
              inqry.add(addrf);
              inqry.add(ok);
              inqry.add(cancel);
    invalid.add(dok);
         result.add(lcdate); //Result Window......
         result.add(cdate);
              result.add(lrname);
              result.add(rname);
              result.add(lraddr);
              result.add(raddr);
              result.add(lward);
              result.add(ward);
              result.add(lrdate);
              result.add(rdate);
              result.add(rok);
              result.add(rcancel);
         ok.addActionListener(this);
         cancel.addActionListener(this);
         dok.addActionListener(this);
    rok.addActionListener(this); //Result Window......
         rcancel.addActionListener(this);
         inqry.setSize(280,180);
         inqry.setLocation(300,180);
         inqry.setVisible(true);
              result.setSize(400,280); //Result Window......
         result.setLocation(200,150);
         result.setVisible(false);
              public void actionPerformed(ActionEvent ae)
                   if(ae.getSource()==ok)
                   try
                             String nm=namef.getText();
                             String ad=addrf.getText();
                             inqry.setVisible(false);
                             ResultSet rs=db.s.executeQuery("select * from Billinformation");
                             while(rs.next())
                                  String nm1=rs.getString(2).trim();
                                  String ad1=rs.getString(3).trim();
                                  int k=0;
                                  if((nm1.equals(nm))&&(ad1.equals(ad)))
                             String adm=rs.getString(5).trim();
                             String wr=rs.getString(6).trim();
                             String bd=rs.getString(8).trim();
                                  String wrb=wr+"-"+bd;
    result.setVisible(true);
                                  rname.setText(nm1);
                             raddr.setText(ad1);
                             ward.setText(wrb);
                             rdate.setText(adm);
    k=1;
                                  break;
                                  }//if
                             else if(k==1)
                             invalid.setVisible(true);
                             }//while
    }//try
                             catch(Exception e)
                             e.printStackTrace();
                        } //getsource ==ok
                   if(ae.getSource()==cancel)
    inqry.setVisible(false);
                        if(ae.getSource()==rok) //Result Window......
                        namef.setText("");
                             addrf.setText("");
                             result.setVisible(false);
                        inqry.setVisible(true);
    if(ae.getSource()==rcancel)
    result.setVisible(false);
                        if(ae.getSource()==dok)
                        namef.setText("");
                             addrf.setText("");
                             invalid.setVisible(false);
                             inqry.setVisible(true);
         public static void main(String args[])
              new Inquiry();
    PLease Help me !!
    I need this urgently.

    can you explain what your program tries to do... and
    at where it went wrong..Sir,
    We are trying to make an project where we can make a person register in our data base & after which he/she can search for other user.
    The logged in user can modify his/her own data but can view other ppl's data.
    We are in a phase of registering the user & that's where we are stuck. The problem is that after the login screen when we hit register (OK- button) the data are not getting entered in the data base.
    Can u please help me??
    I am using "jdk1.3' - studnet's edition.
    I am waiting for your reply.
    Thanks in advance & yr interest.

  • History report error: | An Exceptional Error occurred. Application exiting. Check the log file for error 5022

    Hi all
    I've got a error msg when try to generate a report using Cisco history report tool:
    Error | An Exceptional Error occurred. Application exiting.  Check the log file for error 5022
    It only happens when choose report template: ICD_Contact_Service_Queue_Activity_by_CSQ_en_us.
    User tried samething on other PC, it working fine.
    only on user' own PC and only choose this report, error appears.
    user runing windows 7 and do not have crystal report installed
    tried reinstalled the software, doesn't work.
    also tried this: (https://cisco-support.hosted.jivesoftware.com/thread/2041254) - doesn't work
    then tried https://supportforums.cisco.com/docs/DOC-6209  - doesn't work
    attached the log file.
    thanks.

    wenqianyu wrote:From the log file:Looks like you get a Login Window.Error message showed up after username/password be enteredThere is an error in the log: Error happened in comparing UCCX version and HRC versionYou may need to do a clean uninstall, download the Historical report from the server, and install it again on the PC.Does this only happen to one PC or to every PC with this application?Wenqian 
    I have completely uninstalled the HRC, and download from server install again -- still doesn't work with exactly same error.
    this matter only happens on this PC, when user try same thing on other PC, it works.
    so i think it not relate to server or account.

  • Report builder error after applying sql server 2008R2 SP3 when click on report builder gives error like 'Application validation did not succeed. Unable to continue.

    Hi All,
    I applied SQL server 2008 R2 SP3 recently but report builder doesn't work since then
    When click on report builder gives error like 'Application validation did not succeed. Unable to continue.
    and when I try to see details the error summary like following:
    +File, Microsfot.ReportingServices.ComponentLibrary.Controls.dll, has a different computed hash than specified in manifest.
    this is urgent.
    Please reply me asap.
    thanks a lot in advance.
    Regards,
    Nik
    Regards, Naman

    Hi nikp11,
    According to your description, you recently updated SQL Server 2008 R2 to SP3, Report Builder doesn’t work since then the error occurs: "Application validation did not succeed. Unable to continue".
    This is an known issue in SSRS 2008 R2 SP3 that Microsoft has published an article addressing this issue. It is not planning to release a fix for this issue. But we could implement one of the following workarounds:
    Install and run Report Builder 3.0 of SQL Server 2008 R2 RTM.
    Install and run Report Builder of SQL Server 2014.
    Uninstall Service Pack 3 then uninstall Service Pack 2 and then reinstall Service Pack 3.
    Reference:
    Report Builder of SQL Server 2008 R2 Service Pack 3 does not launch
    Thank you for your understanding.
    Best Regards,
    Wendy Fu

  • Word 2013 - MSI Install vs. One-Click Install - COM Exception Error

    Hello -
    we have a 3rd party control that sits on top of word to render word documents.  In a MSI installation of Word 2013 everything works fine.  When we use the one-click installation the rendering does not work and the system throws a com exception
    error.
    it basically says "The document is not associated with an ActiveX Document server.  at OfficeControlLIB.IOfficeControl.OpenLocalfile...
    there is a suggested fix @ http://stackoverflow.com/questions/19778211/office-2013-click-to-run-installer-and-activex-issue/26890815#26890815 
    where you modify the registry to insert :
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{F4754C9B-64F5-4B40-8AF4-679732AC0607}\DocObject]
    into the registry - however this did not work (note we looked up the CLSID for our OCX and replaced.
    Any ideas?

    Hi,
    So it's a 32-bit version of Office which is running on a 32-bit version of Windows, try to omit
    Wow6432Node from the registry keys and see if it works.
    It's a 3rd party control, there is no way for us to understand how exactly it works. I'd suggest you contact the vendor support of that control for further assistance.
    Regards,
    Ethan Hua
    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.

Maybe you are looking for