A COM exception has been encountered: At invoke of: ADD The server threw an

Hi,
we are using the Java Connector, and I can add or update Business Partners.
But adding or updating an JournalVouchers allways throws the following COM Exception
on a SBO 6.5. Our programm-code works on a SBO 6.2, but not on a SBO 6.5 ?
What is wrong ? Can anybody tell us that ?
Regards
Jan Nielsen
AMC-CONSULT A/S
====== error mesage ======
com.sap.smb.sbo.wrapper.com.ComFailException: A COM exception has been encountered:
At Invoke of: Add
Description: The server threw an exception.
====== Programcode ==============
Created on 25-09-2003
To change the template for this generated file go to
Window>Preferences>Java>Code Generation>Code and Comments
package amc.sap.util;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.util.Date;
import amc.language.Language;
import amc.xkernel.exception.SetThrowException;
import amc.xkernel.global.BoxPane;
import amc.xkernel.global.Convert;
import amc.xkernel.global.DateX;
import amc.xkernel.global.SysLog;
import amc.sap.table.SalarySetupTable;
import amc.sap.table.SalarySetupTrans;
import com.sap.smb.sbo.api.IJournalEntries;
import com.sap.smb.sbo.api.IJournalEntries_Lines;
import com.sap.smb.sbo.api.IChartOfAccounts;
import com.sap.smb.sbo.api.SBOCOMUtil;
import com.sap.smb.sbo.api.SBOErrorMessage;
import com.sap.smb.sbo.util.ConvertUtil;
@author Administrator
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
public class MultidataImport extends SAPLogonUtil
     private int lineNo = 0;
     public static void FileCopy(String srcFileName, String destFileName)
          try
               File srcFile = new File(srcFileName);
               if (srcFile.exists())
                    File destFile = new File(destFileName);
                    FileInputStream in = new FileInputStream(srcFile);
                    FileOutputStream out = new FileOutputStream(destFile);
                    int ret;
                    for (;(ret = in.read()) != -1;)
                         out.write(ret);
                    in.close();
                    out.close();
          catch (Throwable e)
               SysLog.setError(e.getMessage(),"");
     private SBOErrorMessage errMsg = null;
     private IJournalEntries iJournalEntries = null;
     private IChartOfAccounts iChartOfAccounts = null;     
     private IJournalEntries_Lines iJournalEntries_Lines = null;
     private boolean iJournalEntriesOK = false;
     private int recCounter = 0;
     private SalarySetupTable salarySetupTable = null;
     private boolean errorsFound = false;     
     File fileName = null;
     public MultidataImport()
          super();
     public void insertRecord(String record) throws Exception
          try
               SalarySetupTrans salarySetupTrans = new SalarySetupTrans();
               String strDate = null;
               Date entryDate = null;
               String salaryCode = null;
               String debetCredit = null;
               String entryAccount = null;
               String entryText = null;
               String intAmount = null;
               Double amount = Convert.string2Double("0.00");
               Double emptyDouble = Convert.string2Double("0.00");
               if (record.substring(0, 2).toString().equalsIgnoreCase("ML"))
                    /** Entrydate*/
                    strDate =
                         Convert.subString(record, 21, 4)
                              + "-"
                              + Convert.subString(record, 25, 2)
                              + "-"
                              + Convert.subString(record, 27, 2);
                    entryDate = ConvertUtil.DateString2Date(strDate);
                    /** Salarycode */
                    salaryCode = Convert.subString(record, 38, 4);
                    /** Identyfier for Debet or Credit amount */
                    debetCredit = Convert.subString(record, 42, 1);
                    /** Amount */
                    intAmount =
                         Convert.subString(record, 43, 10)
                              + "."
                              + Convert.subString(record, 53, 2);
                    amount = Convert.string2Double(intAmount);
Fillout the IJournalEntries
                                                            salarySetupTrans.setWhereFirstOnly(SalarySetupTrans.SalaryId"='"salaryCode+"'");
                    if (iJournalEntriesOK == false)
                         iJournalEntries.setMemo(Language.get("@ImportML"));
                         iJournalEntries.setReferenceDate(entryDate);
                         iJournalEntries.setStornoDate(entryDate);
                         iJournalEntries.setTaxDate(entryDate);
                         iJournalEntries_Lines = iJournalEntries.getLines();     
                         iJournalEntriesOK = true;
                    if (iJournalEntriesOK == true)
Fillout the IJournalEntries_Lines
                         /** Fetch account from from DB */
                         entryAccount = salarySetupTrans.accountId;
                         /** Fetch Entrytext from DB */
                         entryText = salarySetupTrans.entryText;
                         /** Make debet Line. */
                         if(lineNo >= 1)
                              lineNo = lineNo + 1;                         
                              Integer integer_ = new Integer(lineNo);
                              iJournalEntries_Lines.setCurrentLine(integer_);
                         iJournalEntries_Lines.setAccountCode(entryAccount);     
                         if (debetCredit.equalsIgnoreCase("+"))
                              iJournalEntries_Lines.setDebit(amount);
                              iJournalEntries_Lines.setCredit(emptyDouble);                              
                         else
                              iJournalEntries_Lines.setCredit(amount);
                              iJournalEntries_Lines.setDebit(emptyDouble);
                         iJournalEntries_Lines.setDueDate(entryDate);
                         iJournalEntries_Lines.setLineMemo(entryText);
                         iJournalEntries_Lines.setReferenceDate1(entryDate);
                         iJournalEntries_Lines.setShortName(entryAccount);
                         iJournalEntries_Lines.setTaxDate(entryDate);
                         iJournalEntries_Lines.add();
                         errMsg = iCompany.getLastError();
                         if (errMsg.getErrorCode() != 0)
                              iJournalEntriesOK = false;
                              throw new Exception("Could not create Journalentry "
                                                              + "\nReason code: "
                                                            + errMsg.getErrorCode()
                                                            + "\nLongtext: "
                                                            + errMsg.getErrorMessage());
                         lineNo = lineNo + 1;                         
                         Integer integer1_ = new Integer(lineNo);
                         iJournalEntries_Lines.setCurrentLine(integer1_);
                         /**  Make credit Line */
                         /** Fetch setoffaccount from from DB */
                         entryAccount = salarySetupTrans.setOffAccountId;                         
                         iJournalEntries_Lines.setAccountCode(entryAccount);                         
                         if (debetCredit.equalsIgnoreCase("+"))
                              iJournalEntries_Lines.setDebit(emptyDouble);
                              iJournalEntries_Lines.setCredit(amount);                              
                         else
                              iJournalEntries_Lines.setCredit(emptyDouble);
                              iJournalEntries_Lines.setDebit(amount);
                         iJournalEntries_Lines.setDueDate(entryDate);
                         iJournalEntries_Lines.setReferenceDate1(entryDate);
                         iJournalEntries_Lines.setShortName(entryAccount);
                         iJournalEntries_Lines.setTaxDate(entryDate);
                         iJournalEntries_Lines.setLineMemo(entryText);                         
                         iJournalEntries_Lines.add();
                         recCounter = recCounter + 1;
                         errMsg = iCompany.getLastError();
                         if (errMsg.getErrorCode() != 0)
                              iJournalEntriesOK = false;
                              throw new Exception("Could not create Journalentry "
                                                            + "\nReason code: "
                                                            + errMsg.getErrorCode()
                                                            + "\nLongtext: "
                                                            + errMsg.getErrorMessage());
          catch (SetThrowException s)
               SysLog.setError(s.getMessage(),"");
          catch (Exception e1)
               SysLog.setError(Language.get("@AddFail"),e1.toString());
     public void validateRecord(String record) 
          try
               SalarySetupTrans salarySetupTrans = new SalarySetupTrans();
               String salaryCode = null;
               if (record.substring(0, 2).toString().equalsIgnoreCase("ML"))
                    /** Entrydate*/
                    //** Salarycode */
                    salaryCode = Convert.subString(record, 38, 4);
                    /** Identyfier for Debet or Credit amount */
Check salarycodes and SAP Ledgeraccounts
                    salarySetupTrans.setWhereFirstOnly(SalarySetupTrans.SalaryId"='"salaryCode+"'");
                    if(!salarySetupTrans.found())
                                        SysLog.setError(Language.get("@SalarycodeNotFound",salaryCode),Language.get("@SalarycodeNotFoundHELP"));
                         errorsFound = true;                         
                    else
                         if(salarySetupTrans.accountId == "")
                              SysLog.setError(Language.get("@AccountIdNotFound",salaryCode),Language.get("@AccountIdNotFoundHELP"));
                              errorsFound = true;                         
                         else
                              if(!iChartOfAccounts.getByKey(salarySetupTrans.accountId))
                                   SysLog.setError(Language.get("@AccountIdNotExist",salarySetupTrans.accountId),Language.get("@AccountIdNotExistHELP"));
                                   errorsFound = true;                         
                         if(salarySetupTrans.setOffAccountId == "")
                              SysLog.setError(Language.get("@SetOffAccountIdNotFound",salaryCode),Language.get("@SetOffAccountIdNotFoundHELP"));
                              errorsFound = true;                         
                         else                                             
                              if(!iChartOfAccounts.getByKey(salarySetupTrans.setOffAccountId))
                                   SysLog.setError(Language.get("@SetOffAccountIdNotExist",salarySetupTrans.setOffAccountId),Language.get("@SetOffAccountIdNotExistHELP"));
                                   errorsFound = true;                         
               else
                    SysLog.setInfo(Language.get("@WrongFileType",fileName.getAbsolutePath()),Language.get("@WrongFileTypeHELP"));
                    errorsFound = true;
                    return;                              
          catch (SetThrowException i)
               SysLog.setError(i.getMessage(),"");
     public void run(boolean showBoxes)
          int je;
          String fileNameStr = null;
          File                     backupFile                = null;
          File                     backupDir                = null;
          FileReader fileReader = null;
          BufferedReader read = null;
          String readLine = null;
          String content = null;
          iJournalEntriesOK = false;
          if (iCompany == null)
               MultidataImport.tryLogon(false);
          if (iCompany == null)
               return;
          try
               salarySetupTable = new SalarySetupTable();
               salarySetupTable.setWhereFirstOnly();
               fileNameStr = salarySetupTable.salaryImportFile;
               if (fileNameStr == null || fileNameStr.equalsIgnoreCase(""))
                    SysLog.setError(Language.get("@NoImportfile"),Language.get("@NoImportfileHELP"));
                    return;
               backupFile = new File(salarySetupTable.salaryMoveTo"
"DateX.getSystemDateString()Convert.stringRemove( DateX.getSystemTime(),":")".bak");
               backupDir  = new File(salarySetupTable.salaryMoveTo);
               fileName   = new File(fileNameStr);
               if (!fileName.exists())
                    SysLog.setError(Language.get("@FileNoExist",fileName.getAbsolutePath()),Language.get("@FileNoExistHELP"));               
                    return;
               if ( !backupDir.exists() )
                    SysLog.setError(Language.get("@BackupDirNoExist",backupDir.getAbsolutePath()),Language.get("@BackupDirNoExistHELP"));                    
                    return;
               if(showBoxes)
                    if (BoxPane.okCancel(Language.get("@OKtoImport")" "Language.get("@Multidata"),"Multidata-import") != 0)
                    return;
               iJournalEntries  = SBOCOMUtil.newJournalEntries(iCompany);
               iChartOfAccounts = SBOCOMUtil.newChartOfAccounts(iCompany);               
               fileReader = new FileReader(fileName);
               read = new BufferedReader(fileReader);
               while (((readLine = read.readLine()) != null))
                    content = readLine;
                    if (!content.equalsIgnoreCase(""))
                         this.validateRecord(content);
               if(errorsFound == true)
                    SysLog.setError(Language.get("@ErrorsFound"),Language.get("@ErrorsFoundHELP"));
                    fileReader.close();
                    read.close();
                    return;
               fileReader.close();
               read.close();
               fileReader = new FileReader(fileName);
               read = new BufferedReader(fileReader);
               while (((readLine = read.readLine()) != null))
                    content = readLine;
                    if (!content.equalsIgnoreCase(""))
                         this.insertRecord(content);
               if (iJournalEntriesOK == true)
                    je = iJournalEntries.add();
                    if (je != 0L)
                         iJournalEntriesOK = false;
                         errMsg = iCompany.getLastError();
                         SysLog.setError(Language.get("@NotCreatedJEntry")
                                                            + "\n"+Language.get("@ReasonCode")
                                                            + errMsg.getErrorCode()
                                                            + "\n"+Language.get("@ErrorMessage")
                                                            + errMsg.getErrorMessage()
                                                            ,Language.get("@ConnectErrorHELP"));
                    else
                         SysLog.setInfo(Language.get("@CreatedJEntry",String.valueOf(recCounter)),"");
               if(iJournalEntriesOK == true)
                    FileCopy(fileName.getAbsolutePath(),backupFile.getAbsolutePath());
               fileReader.close();
               read.close();
               if (backupFile.exists())
                    fileName.delete();
          catch (SetThrowException t)
               SysLog.setError(t.getMessage(),"");
          catch (IOException i)
               SysLog.setError(i.getMessage(),"");
          catch (Exception s)
               SysLog.setError(s.getMessage(),"");

After a long search I have found the answer to this proproblem myself on service.sap.com/smb note-no 706379. I have tryed it out and it WORKS. Please read the following text that explains the problem and the solution :
Symptom
Following exception or similar text found in the failed response message
COM exception has been encountered: At Invoke of: Add
Description: The server threw an exception.
Other terms
SBO ITK, Java Connector, SBO SDK, DI-API, SAP J2EE 6.20
Reason and Prerequisites
Note 642676 explains this problem in a detail.
In a brief, the main stack size is not large enough causes this
exception.
Solution
First of all, please find from which exe file the J2EE server started. For starting in the console with go.bat, the exe may be java.exe under %JAVA_HOME%\bin (Please check the path setting for which java.exe
to be used. Normally, it may be C:\WINDOWS\SYSTEM32\java.exe,
%JAVA_HOME%\bin\java.exe, %JAVA_HOME%\jre\bin\java.exe,
or C:\Program Files\JavaSoft\JRE\1.3.1_08\bin\java.exe)
For starting as the windows service, you can find the exe as following:
1. Open the service from Start -> Setting -> Control Panel ->
   Adiministrative Tools -> Services
2. Find the service to start SAP J2EE 6.20 of ITK, for example,
    "SAP J2EE Engine Alone"
3. Open the properites window of this service, you can find the exe    in "Path to excutable", for example,    d:\SAP_J2EEngine6.20\configtool\alone.exe
Second, prepare the tools to do the patch. If you have installed
Microsoft Visual Studio 6.0, you have the right tools. We need
a. editbin.exe, to patch the exe.
b. dumpbin.exe, to check the stacksize.
c. link.exe and MSPDB60.DLL to run above two tools.
Third, patch the exe:
1. BACKUP THE ORIGINAL EXE, JAVA.EXE OR ALONE.EXE
2. Use dumpbin.exe to check the original stack size
   dumpbin.exe /headers alone.exe
   find line: 40000 size of stack reserve
   It means the current stack size is 256k
3. Use editbin.exe to patch the exe, for example with 2m stack size
   2m = 2 * 1024 *1024 bytes = 2097152 bytes
   editbin.exe /stack:2097152 alone.exe
4. Use dumpbin.exe to verify the patch.
   dumpbin.exe /headers alone.exe
   find line: 200000 size of stack reserve
   It means the current stack size is 2m
Last step, start the J2EE server again and see whether everything
is OK.
For service, we also recommend you patch    d:\SAP_J2EEngine6.20\configtool\service.exe All installed service exe file, for example alone.exe will be copied from this file. Patch this file will avoid patch each duplicated exe file then.
Regards
Jan Nielsen
AMC-CONSULT A/S

Similar Messages

  • At Invoke of: Update,A COM exception has been encountered

    Hi Guys,
    I just use java to access the data of SAP B1, and I  met a trouble, I have no idea.
    I have imported into SAP B1 from file and export the SAP data to a file, just in business partner module,
    it's ok.
    I also can export data from ORDR of SAP B1 database to  a file.
    But I can't work out importing data from external data about Order module, just table ORDR.
    I have search the WEB for 2 days, just nothing!!
    I will appreciate to your great help. Could you please give me a sample, should be perfect!!!!
    ERROR LOG about updating operation-
    !!!Error***-A COM exception has been encountered:
    At Invoke of: Update
    Description: The server threw an exception.
    com.sap.smb.sbo.wrapper.com.ComFailException: A COM exception has been encounter
    ed:
    At Invoke of: Update
    Description: The server threw an exception.
            at com.sap.smb.sbo.wrapper.com.Dispatch.invokev(Native Method)
            at com.sap.smb.sbo.wrapper.com.Dispatch.invokev(Unknown Source)
            at com.sap.smb.sbo.wrapper.com.Dispatch.callN(Unknown Source)
            at com.sap.smb.sbo.wrapper.com.Dispatch.call(Unknown Source)
    ==========================================================
    ERROR LOG about adding operation is similar-
    !!!Error***-A COM exception has been encountered:
    At Invoke of: Add
    Description: The server threw an exception.
    com.sap.smb.sbo.wrapper.com.ComFailException: A COM exception has been encounter
    ed:
    At Invoke of: Add
    Description: The server threw an exception.
    =================================================================
    the following just is some code.
              ICompany vCompany = SapSdkHelper.getICompany();
              vCompany.connect();
              IDocuments aOrder = SBOCOMUtil.newDocuments(vCompany,
                        SBOCOMConstants.BoObjectTypes_Document_oOrders);
              IDocument_Lines line = aOrder.getLines();//line should be the data in table rdr1
              int successCount = 0;
              for (String[] rowData : dataList) {
                   Integer key = new Integer(rowData[0]);
                   if (aOrder.getByKey(key)) {
                        aOrder.setAddress(aOrder.getAddress()+"test");
                        int rr = aOrder.update();
                        SBOErrorMessage errMsg = vCompany.getLastError();
                        System.out.println(errMsg.getErrorMessage());
                        System.out.println(rr);
                        continue;
                   aOrder.setDocNum(key);
                                                    aOrder.setCardCode(rowData[2]);
                   aOrder.setCardName(rowData[3]);
                   aOrder.setDocTotal(Double.valueOf(rowData[4]));
                   aOrder.setDocType(SBOCOMConstants.BoDocumentTypes_dDocument_Items);
                   //aOrder.setDocCurrency("RMB");
                   //aOrder.setDocRate(10.1);
                   line.setItemCode("A00001");
                   line.setItemDescription("description Testing");
                   line.setQuantity(new Double(3));
                   line.setPrice(new Double(3));
                   //line.setRate(10.1);
                   //line.setCurrency("RMB");
                   //line.add();
                   long rc = aOrder.add();
                   SBOErrorMessage errMsg = vCompany.getLastError();
                   System.out.println(errMsg.getErrorMessage());
                   System.out.println(rc);
                   successCount++;
              vCompany.disconnect();

    Just refer to DI JCo: Getting a COM Exception when adding an Order
    I got it.
    If you have any question about this issue, please contact me.
    For SAP B1, just need to patch java.exe, if you develop/test something in IDE you should also patch javaw.exe, please notice the right path used in IDE.
    Just my steps-
    1. download the Visual studio express 2008 from microsoft.com and install it online(no need to download SQLSERVER Express)
    2. backup the original exe file, java.exe/javaw.exe
    3. edit the PATH environment variable plus 'C:Program FilesMicrosoft Visual Studio 9.0VC in'
    4. open CMD window and enter into %JAVA_HOME%/bin/
    5. Use dumpbin.exe to check the original stack size
        dumpbin.exe /headers java.exe
        find line: 40000 size of stack reserve
        It means the current stack size is 256k
    6. Use editbin.exe to patch the exe, for example with 2m stack size
        2m = 2 * 1024 *1024 bytes = 2097152 bytes
        editbin.exe /stack:2097152 javaw.exe
    7. Use dumpbin.exe to verify the patch.
       dumpbin.exe /headers java.exe
       dumpbin.exe /headers javaw.exe
       find line: 200000 size of stack reserve
       It means the current stack size is 2m
    IT'S OKAYYYYYY.
    The version of SAP B1 is 7.10.32 SP:00 EF:2.
    The version of SDK just is contained in the SAP B1.
    Hope it can help you a little.
    MZ

  • An unexpected exception has been detected in native code outside the VM.

    I thought that my problem had been solved yesterday when I managed to run my application with out getting "An unexpected exception has been detected in native code outside the VM."
    I was told to uninstall "j2sdk1.4.1_02" and install my old version of 1.3.1 and then completely remove that (as i do not think i removed it correctly in the first place), then reinstall my new version again (j2sdk1.4.1_02). This appeared to work, and my application ran. However, today i planned to do more work on it and it errored again. I am getting the following error:
    C:\Documents and Settings\Mike Costen\Desktop\Mar27d>java ImageViewerFrame
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D1C369C
    Function=Java_sun_awt_font_NativeFontWrapper_registerFonts+0x14BC
    Library=C:\j2sdk1.4.1_02\jre\bin\fontmanager.dll
    Current Java thread:
    at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
    - locked <06C15D48> (a java.lang.Class)
    at sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.java:736)
    at sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.java:587)
    at sun.java2d.SunGraphicsEnvironment.access$100(SunGraphicsEnvironment.java:49)
    at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:209)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.java:203)
    - locked <02F948A0> (a sun.awt.Win32GraphicsEnvironment)
    at sun.java2d.SunGraphicsEnvironment.mapFontName(SunGraphicsEnvironment.java:451)
    at java.awt.Font.initializeFont(Font.java:313)
    at java.awt.Font.<init>(Font.java:345)
    at sun.awt.windows.WDesktopProperties.setFontProperty(WDesktopProperties.java:148)
    - locked <02AE0000> (a sun.awt.windows.WDesktopProperties)
    at sun.awt.windows.WDesktopProperties.getWindowsParameters(Native Method)
    at sun.awt.windows.WDesktopProperties.<init>(WDesktopProperties.java:56)
    at sun.awt.windows.WToolkit.initializeDesktopProperties(WToolkit.java:865)
    at java.awt.Toolkit.getDesktopProperty(Toolkit.java:1533)
    - locked <02F92380> (a sun.awt.windows.WToolkit)
    at sun.awt.shell.ShellFolder.<clinit>(ShellFolder.java:171)
    at javax.swing.filechooser.FileSystemView.getRoots(FileSystemView.java:324)
    at javax.swing.filechooser.WindowsFileSystemView.getHomeDirectory(FileSystemView.java:625)
    at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(MetalFileChooserUI.java:213)
    at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:130)
    at javax.swing.plaf.metal.MetalFileChooserUI.installUI(MetalFileChooserUI.java:152)
    at javax.swing.JComponent.setUI(JComponent.java:449)
    at javax.swing.JFileChooser.updateUI(JFileChooser.java:1700)
    at javax.swing.JFileChooser.setup(JFileChooser.java:345)
    at javax.swing.JFileChooser.<init>(JFileChooser.java:320)
    at javax.swing.JFileChooser.<init>(JFileChooser.java:273)
    at ImageViewerFrame.<init>(ImageViewerFrame.java:30)
    at ImageViewerFrame.main(ImageViewerFrame.java:227)
    Dynamic libraries:
    0x00400000 - 0x00406000 C:\j2sdk1.4.1_02\bin\java.exe
    0x77F50000 - 0x77FF7000 C:\WINDOWS\System32\ntdll.dll
    0x77E60000 - 0x77F46000 C:\WINDOWS\system32\kernel32.dll
    0x77DD0000 - 0x77E5D000 C:\WINDOWS\system32\ADVAPI32.dll
    0x78000000 - 0x7807F000 C:\WINDOWS\system32\RPCRT4.dll
    0x77C10000 - 0x77C63000 C:\WINDOWS\system32\MSVCRT.dll
    0x6D340000 - 0x6D46A000 C:\j2sdk1.4.1_02\jre\bin\client\jvm.dll
    0x77D40000 - 0x77DC6000 C:\WINDOWS\system32\USER32.dll
    0x77C70000 - 0x77CB0000 C:\WINDOWS\system32\GDI32.dll
    0x76B40000 - 0x76B6C000 C:\WINDOWS\System32\WINMM.dll
    0x6D1E0000 - 0x6D1E7000 C:\j2sdk1.4.1_02\jre\bin\hpi.dll
    0x6D310000 - 0x6D31E000 C:\j2sdk1.4.1_02\jre\bin\verify.dll
    0x6D220000 - 0x6D239000 C:\j2sdk1.4.1_02\jre\bin\java.dll
    0x6D330000 - 0x6D33D000 C:\j2sdk1.4.1_02\jre\bin\zip.dll
    0x6D000000 - 0x6D105000 C:\j2sdk1.4.1_02\jre\bin\awt.dll
    0x73000000 - 0x73023000 C:\WINDOWS\System32\WINSPOOL.DRV
    0x76390000 - 0x763AC000 C:\WINDOWS\System32\IMM32.dll
    0x771B0000 - 0x772D1000 C:\WINDOWS\system32\ole32.dll
    0x6D190000 - 0x6D1E0000 C:\j2sdk1.4.1_02\jre\bin\fontmanager.dll
    0x73760000 - 0x737A4000 C:\WINDOWS\System32\ddraw.dll
    0x73BC0000 - 0x73BC6000 C:\WINDOWS\System32\DCIMAN32.dll
    0x73940000 - 0x73A07000 C:\WINDOWS\System32\D3DIM700.DLL
    0x76C90000 - 0x76CB2000 C:\WINDOWS\system32\imagehlp.dll
    0x6D510000 - 0x6D58D000 C:\WINDOWS\system32\DBGHELP.dll
    0x77C00000 - 0x77C07000 C:\WINDOWS\system32\VERSION.dll
    0x76BF0000 - 0x76BFB000 C:\WINDOWS\System32\PSAPI.DLL
    Local Time = Mon Mar 31 08:59:02 2003
    Elapsed Time = 6
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode)
    # An error report file has been saved as hs_err_pid584.log.
    # Please refer to the file for further information.
    C:\Documents and Settings\Mike Costen\Desktop\Mar27d>
    I am now not sure at all why my computer is doing this, as it worked yesterday...
    Any light shed on this matter is much appreciated.
    Thanks, Mike

    Welcome to native code hell! The reason we all use Java is because
    native code sucks. It is to be isolated and quarantined to the smallest
    area possible.
    File a TAR/SR. Maybe you just need a newer vesion of the OCI client
    libraries on your machine. Maybe they are out of sync with the native
    portion of the type-2 driver.
    Say why you went from type-4 to type-2. In my opinion, unless you have
    a very good reason, you should go back to the reliable java driver. Java
    can't kill a JVM.
    Good luck,
    Joe Weinstein at BEA Systems

  • Unexpected exception has been detected in native code outside the VM

    I seriously hope I posted this in the right forum, there was so many, and it was confusing. Please forgive me if I didn't.
    Anyways, I was playing a online game, RuneScape, when my browser suddenly closed. Later on, I finally noticed that there was a notepad document on my desktop:
    hs_err_pid3884
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x6C8243F
    Function=Java_sun_awt_windows_WColor_getDefaultColor+0x2E1D
    Library=C:\Program Files\Java\j2re1.4.2_03\bin\awt.dll
    Current Java thread:
         at sun.awt.windows.WToolkit.eventLoop(Native Method)
         at sun.awt.windows.WToolkit.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Dynamic libraries:
    0x00400000 - 0x00419000      C:\Program Files\Internet Explorer\iexplore.exe
    0x7C900000 - 0x7C9B0000      C:\WINDOWS\system32\ntdll.dll
    0x7C800000 - 0x7C8F4000      C:\WINDOWS\system32\kernel32.dll
    0x77C10000 - 0x77C68000      C:\WINDOWS\system32\msvcrt.dll
    0x77D40000 - 0x77DD0000      C:\WINDOWS\system32\USER32.dll
    0x77F10000 - 0x77F56000      C:\WINDOWS\system32\GDI32.dll
    0x77F60000 - 0x77FD6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x77DD0000 - 0x77E6B000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77E70000 - 0x77F01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77760000 - 0x778CC000      C:\WINDOWS\system32\SHDOCVW.dll
    0x77A80000 - 0x77B14000      C:\WINDOWS\system32\CRYPT32.dll
    0x77B20000 - 0x77B32000      C:\WINDOWS\system32\MSASN1.dll
    0x754D0000 - 0x75550000      C:\WINDOWS\system32\CRYPTUI.dll
    0x76C30000 - 0x76C5E000      C:\WINDOWS\system32\WINTRUST.dll
    0x76C90000 - 0x76CB8000      C:\WINDOWS\system32\IMAGEHLP.dll
    0x77120000 - 0x771AC000      C:\WINDOWS\system32\OLEAUT32.dll
    0x774E0000 - 0x7761D000      C:\WINDOWS\system32\ole32.dll
    0x5B860000 - 0x5B8B4000      C:\WINDOWS\system32\NETAPI32.dll
    0x771B0000 - 0x77256000      C:\WINDOWS\system32\WININET.dll
    0x76F60000 - 0x76F8C000      C:\WINDOWS\system32\WLDAP32.dll
    0x77C00000 - 0x77C08000      C:\WINDOWS\system32\VERSION.dll
    0x773D0000 - 0x774D2000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x7C9C0000 - 0x7D1D4000      C:\WINDOWS\system32\SHELL32.dll
    0x5D090000 - 0x5D127000      C:\WINDOWS\system32\comctl32.dll
    0x5AD70000 - 0x5ADA8000      C:\WINDOWS\system32\uxtheme.dll
    0x75F80000 - 0x7607C000      C:\WINDOWS\system32\BROWSEUI.dll
    0x20000000 - 0x20012000      C:\WINDOWS\system32\browselc.dll
    0x77B40000 - 0x77B62000      C:\WINDOWS\system32\appHelp.dll
    0x76FD0000 - 0x7704F000      C:\WINDOWS\system32\CLBCATQ.DLL
    0x77050000 - 0x77115000      C:\WINDOWS\system32\COMRes.dll
    0x77FE0000 - 0x77FF1000      C:\WINDOWS\system32\Secur32.dll
    0x77260000 - 0x772FE000      C:\WINDOWS\system32\urlmon.dll
    0x77A20000 - 0x77A74000      C:\WINDOWS\System32\cscui.dll
    0x76600000 - 0x7661D000      C:\WINDOWS\System32\CSCDLL.dll
    0x77920000 - 0x77A13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x10000000 - 0x1000C000      C:\Program Files\Adobe\Acrobat 6.0\Reader\ActiveX\AcroIEHelper.dll
    0x01840000 - 0x0187D000      C:\Program Files\GetRight\xx2gr.dll
    0x763B0000 - 0x763F9000      C:\WINDOWS\system32\comdlg32.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x76B20000 - 0x76B31000      C:\WINDOWS\system32\ATL.DLL
    0x01890000 - 0x018CC000      C:\Program Files\NewDotNet\newdotnet6_38.dll
    0x71AB0000 - 0x71AC7000      C:\WINDOWS\system32\WS2_32.dll
    0x71AA0000 - 0x71AA8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71B20000 - 0x71B32000      C:\WINDOWS\system32\MPR.dll
    0x01920000 - 0x0193F000      C:\WINDOWS\system32\dla\tfswshx.dll
    0x01940000 - 0x0194F000      C:\WINDOWS\system32\tfswapi.dll
    0x01950000 - 0x0198B000      C:\WINDOWS\system32\dla\tfswcres.dll
    0x019D0000 - 0x019F6000      C:\WINDOWS\system32\lmf32v.dll
    0x75E90000 - 0x75F40000      C:\WINDOWS\system32\SXS.DLL
    0x01A30000 - 0x01AB8000      C:\WINDOWS\system32\shdoclc.dll
    0x01AC0000 - 0x01D85000      C:\WINDOWS\system32\xpsp2res.dll
    0x75CF0000 - 0x75D81000      C:\WINDOWS\system32\mlang.dll
    0x71AD0000 - 0x71AD9000      C:\WINDOWS\system32\wsock32.dll
    0x71A50000 - 0x71A8F000      C:\WINDOWS\system32\mswsock.dll
    0x662B0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71A90000 - 0x71A98000      C:\WINDOWS\System32\wshtcpip.dll
    0x76EE0000 - 0x76F1C000      C:\WINDOWS\system32\RASAPI32.DLL
    0x76E90000 - 0x76EA2000      C:\WINDOWS\system32\rasman.dll
    0x76EB0000 - 0x76EDF000      C:\WINDOWS\system32\TAPI32.dll
    0x76E80000 - 0x76E8E000      C:\WINDOWS\system32\rtutils.dll
    0x76B40000 - 0x76B6D000      C:\WINDOWS\system32\WINMM.dll
    0x5CD70000 - 0x5CD77000      C:\WINDOWS\system32\serwvdrv.dll
    0x5B0A0000 - 0x5B0A7000      C:\WINDOWS\system32\umdmxfrm.dll
    0x77C70000 - 0x77C93000      C:\WINDOWS\system32\msv1_0.dll
    0x76D60000 - 0x76D79000      C:\WINDOWS\system32\iphlpapi.dll
    0x769C0000 - 0x76A73000      C:\WINDOWS\system32\USERENV.dll
    0x745E0000 - 0x748A6000      C:\WINDOWS\system32\msi.dll
    0x76FC0000 - 0x76FC6000      C:\WINDOWS\system32\rasadhlp.dll
    0x76F20000 - 0x76F47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76FB0000 - 0x76FB8000      C:\WINDOWS\System32\winrnr.dll
    0x722B0000 - 0x722B5000      C:\WINDOWS\system32\sensapi.dll
    0x7D4A0000 - 0x7D785000      C:\WINDOWS\system32\mshtml.dll
    0x027A0000 - 0x027C7000      C:\WINDOWS\system32\msls31.dll
    0x02CD0000 - 0x02CFA000      C:\WINDOWS\system32\msimtf.dll
    0x02D00000 - 0x02D4B000      C:\WINDOWS\system32\MSCTF.dll
    0x76390000 - 0x763AD000      C:\WINDOWS\system32\IMM32.DLL
    0x75C50000 - 0x75CBE000      C:\WINDOWS\system32\jscript.dll
    0x66E50000 - 0x66E90000      C:\WINDOWS\system32\iepeers.dll
    0x76200000 - 0x76271000      C:\WINDOWS\system32\mshtmled.dll
    0x74C80000 - 0x74CAC000      C:\WINDOWS\system32\OLEACC.DLL
    0x76080000 - 0x760E5000      C:\WINDOWS\system32\MSVCP60.dll
    0x75F60000 - 0x75F67000      C:\WINDOWS\System32\drprov.dll
    0x71C10000 - 0x71C1E000      C:\WINDOWS\System32\ntlanman.dll
    0x71CD0000 - 0x71CE7000      C:\WINDOWS\System32\NETUI0.dll
    0x71C90000 - 0x71CD0000      C:\WINDOWS\System32\NETUI1.dll
    0x71C80000 - 0x71C87000      C:\WINDOWS\System32\NETRAP.dll
    0x71BF0000 - 0x71C03000      C:\WINDOWS\System32\SAMLIB.dll
    0x75F70000 - 0x75F79000      C:\WINDOWS\System32\davclnt.dll
    0x75970000 - 0x75A67000      C:\WINDOWS\system32\MSGINA.dll
    0x76360000 - 0x76370000      C:\WINDOWS\system32\WINSTA.dll
    0x74320000 - 0x7435D000      C:\WINDOWS\system32\ODBC32.dll
    0x03820000 - 0x03837000      C:\WINDOWS\system32\odbcint.dll
    0x72D20000 - 0x72D29000      C:\WINDOWS\system32\wdmaud.drv
    0x72D10000 - 0x72D18000      C:\WINDOWS\system32\msacm32.drv
    0x77BE0000 - 0x77BF5000      C:\WINDOWS\system32\MSACM32.dll
    0x77BD0000 - 0x77BD7000      C:\WINDOWS\system32\midimap.dll
    0x6BDD0000 - 0x6BE05000      C:\WINDOWS\system32\dxtrans.dll
    0x6D430000 - 0x6D43A000      C:\WINDOWS\system32\ddrawex.dll
    0x73760000 - 0x737A9000      C:\WINDOWS\system32\DDRAW.dll
    0x73BC0000 - 0x73BC6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x6BE10000 - 0x6BE6A000      C:\WINDOWS\system32\dxtmsft.dll
    0x5FF20000 - 0x5FF46000      C:\WINDOWS\system32\MSRATING.dll
    0x5FF50000 - 0x5FF61000      C:\WINDOWS\system32\msratelc.dll
    0x71D40000 - 0x71D5C000      C:\WINDOWS\system32\actxprxy.dll
    0x73300000 - 0x73367000      C:\WINDOWS\system32\vbscript.dll
    0x73DD0000 - 0x73ECE000      C:\WINDOWS\system32\MFC42.DLL
    0x07510000 - 0x07A5D000      C:\WINDOWS\system32\wmp.dll
    0x4EC50000 - 0x4EDF3000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\gdiplus.dll
    0x75A70000 - 0x75A91000      C:\WINDOWS\system32\MSVFW32.dll
    0x08260000 - 0x08597000      C:\WINDOWS\system32\wmploc.dll
    0x086C0000 - 0x08904000      C:\WINDOWS\system32\wmvcore.dll
    0x070D0000 - 0x0710B000      C:\WINDOWS\system32\WMASF.DLL
    0x07CA0000 - 0x07E0D000      C:\WINDOWS\system32\quartz.dll
    0x75F40000 - 0x75F51000      C:\WINDOWS\system32\devenum.dll
    0x736B0000 - 0x736B7000      C:\WINDOWS\system32\msdmo.dll
    0x66880000 - 0x6688C000      C:\WINDOWS\system32\ImgUtil.dll
    0x76380000 - 0x76385000      C:\WINDOWS\system32\MSIMG32.dll
    0x063C0000 - 0x06567000      C:\WINDOWS\system32\macromed\flash\Flash.ocx
    0x6D440000 - 0x6D450000      C:\Program Files\Java\j2re1.4.2_03\bin\npjpi142_03.dll
    0x5EDD0000 - 0x5EDE7000      C:\WINDOWS\system32\OLEPRO32.DLL
    0x6D310000 - 0x6D327000      C:\Program Files\Java\j2re1.4.2_03\bin\jpiexp32.dll
    0x6D380000 - 0x6D398000      C:\Program Files\Java\j2re1.4.2_03\bin\jpishare.dll
    0x05900000 - 0x05A38000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\client\jvm.dll
    0x025E0000 - 0x025E7000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\hpi.dll
    0x02600000 - 0x0260E000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\verify.dll
    0x02620000 - 0x02639000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\java.dll
    0x02E80000 - 0x02E8D000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\zip.dll
    0x06C10000 - 0x06D1F000      C:\Program Files\Java\j2re1.4.2_03\bin\awt.dll
    0x04EF0000 - 0x04F40000      C:\Program Files\Java\j2re1.4.2_03\bin\fontmanager.dll
    0x73940000 - 0x73A10000      C:\WINDOWS\system32\D3DIM700.DLL
    0x6D2F0000 - 0x6D304000      C:\Program Files\Java\j2re1.4.2_03\bin\jpicom32.dll
    0x02ED0000 - 0x02EDF000      C:\Program Files\Java\j2re1.4.2_03\bin\net.dll
    0x03F00000 - 0x03F22000      C:\Program Files\Java\j2re1.4.2_03\bin\dcpr.dll
    0x00D00000 - 0x00D1E000      C:\Program Files\Java\j2re1.4.2_03\bin\jpeg.dll
    0x59A60000 - 0x59B01000      C:\WINDOWS\system32\DBGHELP.dll
    0x76BF0000 - 0x76BFB000      C:\WINDOWS\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 6848K, used 4271K [0x10010000, 0x10770000, 0x10770000)
    eden space 6144K, 69% used [0x10010000, 0x1043bca0, 0x10610000)
    from space 704K, 0% used [0x10610000, 0x10610000, 0x106c0000)
    to space 704K, 0% used [0x106c0000, 0x106c0000, 0x10770000)
    tenured generation total 90752K, used 90750K [0x10770000, 0x16010000, 0x16010000)
    the space 90752K, 99% used [0x10770000, 0x1600fb10, 0x1600fc00, 0x16010000)
    compacting perm gen total 6400K, used 6194K [0x16010000, 0x16650000, 0x1a010000)
    the space 6400K, 96% used [0x16010000, 0x1661cb58, 0x1661cc00, 0x16650000)
    Local Time = Thu Jun 09 00:40:14 2005
    Elapsed Time = 722
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
    I am running Windows XP Home Edition, and I have the latest Java.
    This has happened several times, but it's just with this one game. Can someone please help me? I'd really appreciate it.

    Have you tried a current version of Java. ie. 1.4.2_08 or 1.5.0_03 ?

  • EXCEPTION_ACCESS_VIOLATION exception has been detected in native code outs

    Here is my error :
    # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code outside the VM.
    # Program counter=0x502032cf
    Problem I have though is the app will run fine on 1 PC, but the same installation on another causes this. OS == NT ( i don't know too much about NT)
    Not really sure what to do about this one, really grateful for any advice.
    Thx

    It most windows JNI code an ACCESS_VIOLATION indicates a memory problem: buffer overwrite, underwrite, dereference a null pointer, etc.
    I would suggest going through the JNI code and put in more error checking: return values from methods, check for non-null input params, etc.

  • I try to run a SSIS 2012 package a come with this error Exception has been thrown by the target of an invocation.

    Hi,,
    I making a package in SSIS 2012 that read a Excel file and copy the data into a Excel Destination , I did via Scrip Task using VB 2010 (Visual Studio 2010) the package stop with these error, I try to solve but I don't know, any clue ??
    Thanks
    I execute a SSIS package copy data from a Excel workbook to another using a VB scrip, it show with this error
    Exception has been thrown by the target of an invocation. Also appears this : at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes,
    RuntimeType typeOwner)   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)   at System.Reflection.RuntimeMethodInfo.Invoke(Object
    obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo
    culture)   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)   at Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript()
    An the package stop , I wan to know really what is happened?, any one please

    >Exception has been thrown by the target of an invocation
    In your script taks you need to "unwrap" this exception by examining its .InnerException.  An easy way is to catch TargetInocationException and re-throw its .InnerException.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Exception has been thrown by the type of initializer for 'Com.Apple.IPCU.Ma

    Hello, sorry I do not speak very good English. I have a problem post, when I launch the iPhone Configuration Utility, I get the following error: "Exception has been thrown by the type of initializer for 'Com.Apple.IPCU.ManagedMobileDevice . MobileDevice '. Does a person have a solution. Thank you

    I don't have a specific resolution but I have written many synch plugins and I don't recall seeing this error before.
    So your synch plugin is for items ... if there are no items in the queue that explains why you don't see any errors. As soon as you add an item you get errors in 2 places ... that's probabaly because synch plugins and be configured to run "before" or "after" the WebTools synch so the core synch needs to load the dll and see when it's supposed to call it.
    Since you get this error in 2 places, I don't think it's related to your specific code (especially since you used the tester app).
    My guess is it's related to security/permissions.
    Try this, right click the dll in the plugins folder and select properties and see if there's a button at the bottom to "UnBlock" the file.
    If you don't see the button, try re-assigning the parent folder permissions. Right click the plugins folder, select Properties / Security / Advanced. Click checkbox for "Replace permission entries on all child objects ...." and click OK.
    Do you have your own dll for DataAccess (or anything else) that your plugin needs? In the past I've had to copy this dll to the SynchManger folder instead of into the plugins folder with the synch plugin dll.

  • An unhandled exception has been thrown in the ESB system-400 Bad request

    Hi,
    When i try to call a ESB Routing Service in a BPEL Flow, i am getting the error below,
    An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 400 Bad request
    i tried to call same routing servive via SoapUI and i got the same error.
    Any ideas welcome.
    <messages><input><Invoke_SFA_Persist_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="ListOfTcAccountInterface"><ListOfTcAccountInterface xmlns:ns2="http://turkcell.com.tr/esb/Common_BO_OUTBOUND_BO_ROUTING_SERVICE" xmlns:ns1="http://oracle.com/esb/namespaces/Common_BO_OUTBOUND_BO_ROUTING_SERVICE" xmlns:inp1="http://www.turkcell.com.tr/xml/BO_Account_Interface" xmlns="http://www.turkcell.com.tr/xml/BO_Account_Interface">
    <inp1:Header>
    <inp1:Transaction_Id>1120000000000279727</inp1:Transaction_Id>
    <inp1:System_Id>1001</inp1:System_Id>
    <inp1:Process_Code>BO_FL1003_SUBSCRIBE_SERVICE_PROCESS</inp1:Process_Code>
    <inp1:Transaction_Date>8/8/2008 12:47:47</inp1:Transaction_Date>
    <inp1:Operation_Type>SubscribeService</inp1:Operation_Type>
    </inp1:Header>
    <inp1:TcAccountIntegration>
    <inp1:IntegrationId>16853952</inp1:IntegrationId>
    <inp1:UUID>1E01D469-4189-11dc-A07A-00144F6ABAE8</inp1:UUID>
    <inp1:ListOfTcAgreementIntegration>
    <inp1:TcAgreementIntegration>
    <inp1:IntegrationId>16903908</inp1:IntegrationId>
    <inp1:AgreementStartDate>7/28/1996 0:0:0</inp1:AgreementStartDate>
    <inp1:AgreementStatus>0</inp1:AgreementStatus>
    <inp1:ListOfTcAgreementAssetIntegration>
    <inp1:TcAgreementAssetIntegration>
    <inp1:BarringStatus/>
    <inp1:AssetNumber>16903908</inp1:AssetNumber>
    <inp1:AdditionalInfo/>
    <inp1:AssetDescription>PostPaid GSM</inp1:AssetDescription>
    <inp1:MSISDN>5322776665</inp1:MSISDN>
    <inp1:Reason/>
    <inp1:BSCSCustomerId>512914</inp1:BSCSCustomerId>
    <inp1:BSCSCO_ID>438781</inp1:BSCSCO_ID>
    <inp1:Status>0</inp1:Status>
    <inp1:Type>1</inp1:Type>
    <inp1:ListOfTcChildAssetIntegration>
    <inp1:TcChildAssetIntegration>
    <inp1:BarringStatus/>
    <inp1:AssetNumber>437894069</inp1:AssetNumber>
    <inp1:AdditionalInfo>9999</inp1:AdditionalInfo>
    <inp1:AssetDescription>FCT</inp1:AssetDescription>
    <inp1:MSISDN/>
    <inp1:Reason>Service Subscription</inp1:Reason>
    <inp1:BSCSCustomerId>1</inp1:BSCSCustomerId>
    <inp1:BSCSCO_ID>9999</inp1:BSCSCO_ID>
    <inp1:Status>0</inp1:Status>
    <inp1:Type>52</inp1:Type>
    </inp1:TcChildAssetIntegration>
    </inp1:ListOfTcChildAssetIntegration>
    </inp1:TcAgreementAssetIntegration>
    </inp1:ListOfTcAgreementAssetIntegration>
    </inp1:TcAgreementIntegration>
    </inp1:ListOfTcAgreementIntegration>
    </inp1:TcAccountIntegration>
    </ListOfTcAccountInterface>
    </part></Invoke_SFA_Persist_InputVariable></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>ESBMessageProcessingFailed</code>
    </part><part name="summary"><summary>null</summary>
    </part><part name="detail"><detail>&lt;detail>
    &lt;EventName xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">Common.BO_OUTBOUND.BO_SFA.BO_Persist_Account_CRM_Routing_Service.Persist&lt;/EventName>
    &lt;Cause xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 400 Bad request
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1723)
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1465)
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1186)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:507)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:430)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:447)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:184)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:112)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:158)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:121)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1986)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1465)
         at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:105)
         at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:273)
         at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:297)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:279)
         at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:118)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1986)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1465)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(EventOracleSoapProvider.java:343)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(EventOracleSoapProvider.java:190)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:190)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:539)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:430)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:447)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:184)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:112)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:158)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:121)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1986)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1465)
         at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:105)
         at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:273)
         at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:297)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:279)
         at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:118)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1986)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1465)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(EventOracleSoapProvider.java:343)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(EventOracleSoapProvider.java:190)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:190)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 400 Bad request
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1723)
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1465)
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1186)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:507)
         ... 39 more
    &lt;/Cause>
    &lt;/detail>
    </detail>
    </part></remoteFault></fault></messages>

    Is this error just for this message, or all messages?
    Is the xml valid against the payload. You will need to use a tool like XML spy to check.
    Are you able to see the response coming back, if so does it conform to the response schema.
    cheers
    James

  • An unhandled exception has been thrown in the ESB system

    Hi Experts,
    we are using SOA suite 10.1.3.1.0 with Jdev 10.1.3.1.0, when we are trying to deploy the FullfillmentESB(of SOA Order booking application) to Integration server, prompted with the following error:
    Entity Deployment Failed
    error code: 0 : 10
    summary: An unhandled exception has been thrown in the ESB system. The exception reported is: "java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:203)
    at oracle.tip.esb.lifecycle.AuxiliaryFileHandler.unzip(Unknown Source)
    at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.deploy(Unknown Source)
    at oracle.tip.esb.configuration.deployment.DeploymentServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Below are more details about the above mentioned issue.We have created a new user and assigned the oc4jadmin roles to it.
    we are trying to deploy the soa order booking application projects from jdev 10.1.3.1.0.We could deploy all the other modules except the following:
    FullFillmentESB
    OrderBookingESB
    OrderBookingBPEL
    Is this an issue with configuring the new user which we using to deploy the soa order booking application.Although we could create Application Server Connection And Integration Server Connection Successfully(tested) with new user credentials.
    When we opened the ESB console we could see the default system and bpel system.
    SOA Suite is installed on Windows Platform on a Remote System.
    Thankx
    peter.

    I solved the issue by freeing up the space in my AIA OC4J server. When SOAserver does not have sufficient space you get this error. Please make sure atleast you have 2% free unused space on the server while deploying.
    Guna

  • Nokia Photos error : exception has been thrown by ...

    I have two computers and installed on both Nokia Photos. On the Vista-Home PC I get the error message. The first time I ran Nokia Photos there was no problem. The phone synchronized ok. The second time it crashed and it keeps on crashing as soon I (re0 start the program.
    My phone is a N82.
    The XP-professional computer is ok. The problem does not occur.
    Anybody know how to solve this problem ?
    Re-installing did not solve the prooblem, neither using Nseries suite 1.6 or 2.0. I tried both......
    Please help. Thanks.
    Solved!
    Go to Solution.

    Hi,
    I too have recently purchased an N95 8GB and have tried using the latest Nokia Photo Software.
    I have downloaded the latest version from the website only yesterday (19th July 2008 - Version 1.2.50.00) along with the latest version of the PC Suite Software (Version 7.0.7.0). The software appeared to open fine, and started to import all 23,000 items from my previous Lifeblog Software. When it eventually finished it said it had encountered errors and then listed them, and then another error occured stating that a more detailed report was in the Windows Error log, and closed the program.
    I have tried reinstalling the program, running reg scans to completely remove it, and have even renamed my lifeblog database however still loads the old import and then crashes with the same issue. Error log in Event Viewer is as follows.
    The description for Event ID ( 100 ) in Source ( Nokia Photos ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Title:NokiaPhotos Exception Handling
    Timestamp: 20/07/2008 14:33:45
    Message: HandlingInstanceID: db81c119-ab91-434a-b0ac-3e41a8c15afa
    An exception of type 'System.Reflection.TargetInvocationException' occurred and was caught.
    07/20/2008 15:33:45
    Type : System.Reflection.TargetInvocationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : Exception has been thrown by the target of an invocation.
    Source : mscorlib
    Help link :
    Data : System.Collections.ListDictionaryInternal
    TargetSite : System.Object _InvokeMethodFast(System.Object, System.Object[], System.SignatureStruct ByRef, System.Reflection.MethodAttributes, System.RuntimeTypeHandle)
    Stack Trace : at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    at System.Delegate.DynamicInvokeImpl(Object[] args)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
    at System.Windows.Threading.DispatcherOperation.InvokeImpl()
    at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Windows.Threading.DispatcherOperation.Invoke()
    at System.Windows.Threading.Dispatcher.ProcessQueue()
    at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
    at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
    at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
    at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
    at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
    at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
    at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
    at System.Windows.Threading.Dispatcher.Run()
    at System.Windows.Application.RunInternal(Window window)
    at System.Windows.Application.Run(Window window)
    at System.Windows.Application.Run()
    at Nokia.NokiaPhotos.SingleInstanceManager.OnStartup(StartupEventArgs e)
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
    at Nokia.NokiaPhotos.EntryPoint.Main(String[] args)
    Additional Info:
    MachineName : PANMAIN
    TimeStamp : 20/07/2008 14:33:45
    FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    AppDomainName : NokiaPhotos2.exe
    ThreadIdentity : PANMAIN\Paul
    WindowsIdentity : PANMAIN\Paul
    Inner Exception
    Type : System.Reflection.TargetInvocationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : Exception has been thrown by the target of an invocation.
    Source : mscorlib
    Help link :
    Data : System.Collections.ListDictionaryInternal
    TargetSite : System.Object _InvokeMethodFast(System.Object, System.Object[], System.SignatureStruct ByRef, System.Reflection.MethodAttributes, System.RuntimeTypeHandle)
    Stack Trace : at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    at System.Delegate.DynamicInvokeImpl(Object[] args)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
    at System.Windows.Threading.DispatcherOperation.InvokeImpl()
    at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Windows.Threading.DispatcherOperation.Invoke()
    at System.Windows.Threading.Dispatcher.ProcessQueue()
    at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
    at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
    at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
    at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
    at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
    at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
    at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
    at System.Windows.Window.ShowHelper(Object booleanBox)
    at System.Windows.Window.Show()
    at System.Windows.Window.ShowDialog()
    at Nokia.NokiaPhotos.Dialogs.NPMessageBox.Show(String messageBoxText, String caption, MessageBoxButton but, ENPMessageBoxIcon icon)
    at Nokia.NokiaPhotos.Controllers.NPFirstRunController.Init()
    at Nokia.NokiaPhotos.MainWindow.LoadMainWindow()
    Inner Exception
    Type : System.Runtime.InteropServices.COMException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message :
    [1,40] Unknown token: "Isle of Skye 牤㕡2 ǁ
    51002
    c:\build_c\workdir\mplatform_1_6\mdatastore\QueryParser\MQueryParser.h
    33
    MParseQuery
    links to Tag as mt where mt.Title LIKE "Isle of Skye 牤㕡2 ǁ
    토ѷ瑯獯潨⁰⸳0䈸䵉Є" AND mt.ItemType="application/vnd.nokia.mde.tag"
    Stacktrace.
    1005
    c:\build_c\workdir\mplatform_1_6\mdatastore\QueryParser\MQueryParser.h
    48
    MParseQuery
    Stacktrace.
    1005
    .\MDataStoreObj.cpp
    1434
    CMDataStore::GetImpl
    Stacktrace.
    1005
    .\MDataStoreObj.cpp
    1305
    CMDataStore::Get
    Source : MDataStore.MDataStore.1
    Help link :
    ErrorCode : -2147197613
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Nokia.MPlatform.MItems.MEnum Get(System.String, System.Object, System.Object)
    Stack Trace : at Nokia.MPlatform.MDataStore.MDataStoreClass.Get(String bstrItemType, Object varQuery, Object varOrdering)
    at Nokia.NokiaPhotos.Controllers.NPContentController.GetItemCount(String itemtype, String query, String orderby, ENPViewTypeFilter viewType, IMDataStore datastore)
    at Nokia.NokiaPhotos.Controllers.NPTagController.ReadTagsFromDatabase()
    at Nokia.NokiaPhotos.Controllers.NPTagController..ctor()
    at Nokia.NokiaPhotos.Windows.TagManager.InitPageMembers()
    Process Id: 3820
    Process Name: C:\Program Files\Nokia\Nokia Photos\NokiaPhotos2.exe
    Win32 Thread Id: 308
    Thread Name: MainApplicationUIThread
    Category: General
    Priority: 0
    EventId: 100
    Severity: Error
    Machine: PANMAIN
    Application Domain: NokiaPhotos2.exe
    Extended Properties: .
    Any help would be appreciated as i do use the lifeblog software on a regular basis.
    Thanks
    Paul

  • Error using ESB toolkit 2.1 BizTalk 2010 Itinerary Selector pipeline component (Exception has been thrown by the target of an invocation. )

    Hi all,
    I am using using ESB Toollkit 2.1 (NOT 2.2). and the installation and configuration happened without any error. However I am getting the below error when I use ItinerarySelectReceivePassthrough pipeline.
    ======================================
    There was a failure executing the receive pipeline: "Microsoft.Practices.ESB.Itinerary.Pipelines.ItinerarySelectReceivePassthrough, Microsoft.Practices.ESB.Itinerary.Pipelines, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Source: "ESB Itinerary Selector" Receive Port: "OneWay.OnRamp" URI: "C:\GOD\PROJECTS\Hoople.AdultWellbeingSolution\Testing\BusStop.2\*.txt" Reason: Exception has been thrown by the target of an invocation.
    Exception has been thrown by the target of an invocation. 
    Source: Microsoft.Practices.ESB.Resolver.ResolverMgr 
    Method: System.Collections.Generic.Dictionary`2[System.String,System.String] Resolve(Microsoft.Practices.ESB.Resolver.ResolverInfo, Microsoft.BizTalk.Message.Interop.IBaseMessage, Microsoft.BizTalk.Component.Interop.IPipelineContext) 
    Error Source: mscorlib 
    Error TargetSite: System.Object InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)  
    Error StackTrace:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
       at System.Activator.CreateInstance(Type type, Object[] args)
       at Microsoft.Practices.ESB.Resolver.ResolverFactory.Create(String key)
       at Microsoft.Practices.ESB.Resolver.ResolverMgr.GetResolver(ResolverInfo info)
       at Microsoft.Practices.ESB.Resolver.ResolverMgr.Resolve(ResolverInfo info, IBaseMessage message, IPipelineContext pipelineContext
    =====================================
    I looked into a thread that talked about regacing assemblies, which was marked as answered however it does not say which dlls needs to be regaced.
    Please help
    THANKS IN ADVANCE
    Surya

    Hi Surya,
    You are getting an exception in Microsoft.Practices.ESB.Resolver.dll. which has some issues in 2.1 version for calling dynamic resolver .
    You can try enabling diagnostics to see some of the trace log
    Note :To enable the BizTalk ESB Toolkit trace switch, add the following <switches> element to the
    system.diagnostics section of the Machine.config file.
    <system.diagnostics>
    <switches>
    <add name="BizTalkESBToolkit" value="4"/>
    </switches>
    </system.diagnostics>
    @Tomasso has written a great post on  this and changed some of the config setting in ESB.config.
    http://www.ithero.nl/post/2013/05/12/How-to-fix-the-error-Exception-has-been-thrown-by-the-target-of-an-invocation-when-using-the-BRI-resolver-in-the-ESB-Toolkit-and-BizTalk-2013.aspx
    There is also MSDN article here
    https://support.microsoft.com/kb/2887594?wa=wsignin1.0
    which again suggest you to modify the ESB.config file
    Note: Please take a backup of existing ESB.config before modifying
    Here are the settings
    Manually modify the existing esb.config file as follows:1.Remove the <typeConfig> element
    2.Change the <typeAlias> element to <alias>
    3.Change the <type> element to <register>
    4.Remove the <containers> elements
    5.Remove the <types> elements
    6.Remove the <typeAliases> elements
    7.Remove the parameterType attribute of the <param> elements.
    8.Remove the type attribute of the <value> element within <param name="overrideExistingItinerary">
    Its also been well described in below BizTalk Post
    https://social.msdn.microsoft.com/Forums/en-US/b92fbd9a-7c6d-4cec-b745-bf092e5e644f/esb-toolkit-22-error-in-using-the-dynamic-itinerary-resolver-bri?forum=biztalkesb
    Thanks
    Abhishek
    As mentioned in my previous post, the fix is provided for ESB Toolkit 2.2 and not for
    ESB Toolkit 2.1.
    ESB Toolkit 2.2 uses Microsoft Enterprise Library 5.0 and Unity 2.0 whereas
    ESB Tookit 2.1 uses Microsoft Enterprise Library 4.1 and Unity 1.2.
    REFRAIN FROM DOING ANY CONFIG CHANGES WITHOUT CONSULTING MICROSOFT.
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Error in maintainance plan : Exception has been thrown by the target of an invocation. (mscorlib)

    Hi,
    I am getting below error while trying to create new maintainance plan in SQL 2008 R2, by right click on "New Maintainance plan"...could you please help on this...
    I have tried to register DTS.dll but after that also error is coming...
    ===================================
    Exception has been thrown by the target of an invocation. (mscorlib)
    Program Location:
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at Microsoft.SqlServer.Management.DatabaseMaintenance.MaintDesignerMenuHandler.GetExistingPackageNames(String serverName, String userName, SqlSecureString securePassword)
       at Microsoft.SqlServer.Management.DatabaseMaintenance.MaintDesignerMenuHandler.GetNewPackageName(String serverName, String userName, SqlSecureString securePassword)
       at Microsoft.SqlServer.Management.DatabaseMaintenance.MaintDesignerMenuHandler.Invoke()
    ===================================
    No description found
    Program Location:
       at Microsoft.SqlServer.Dts.Runtime.Application.GetPackageInfos(String strFolder, String serverName, String serverUserName, String serverPassword)

    Hi,
    According to the description, I understand that you receives the below error message when trying to create Maintenance Plans:
    "Exception has been thrown by the target of an invocation. (mscorlib)
    Have you registered MsDtsSrvrUtil.dll and SqlTaskConnections.dll as well? If no, I suggest you register “DTS.dll”, “MsDtsSrvrUtil.dll”, “SqlTaskConnections.dll” using register32.exe.
    If the version of an instance of SQL Server 2008 R2 is earlier than SQL Server 2008 R2 SP2, as Shanky suggested, you may obtain the latest service pack for Microsoft SQL Server. For more information, click the following article number to view the article
    in the Microsoft Knowledge Base:
    http://support.microsoft.com/kb/2527041/en-us
    In addition, here is a similar thread. Please refer the solution by DevB:
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/ca19a00a-3782-48e9-9ccd-44d4680359c0/maintanance-plan?forum=sqltools
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --- System.NullReferenceException: Object reference not set to an instance of an object

    Hi,
    (1) I am trying to get the data from a database table and import into a text file.
    (2) If the record set have the data then it runs ok
    (3) when the record set not having any data it is giving the below error
    Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
    Could you please let me know why this is happening?
    Any help would be appriciated
    Thanks,
    SIV

    You might ask them over here.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral%2Ccsharpgeneral%2Cvcgeneral&filter=alltypes&sort=lastpostdesc
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Exception has been thrown by the target of an invocation error while updating picture in user Profile

    Hi,
    I am working on updating picture of user profile in sharepoint 2013.
    I am getting error "exception has been thrown by the target of an invocation" while creating Thumbnail at the below line.
    "file = (SPFile)mi_CreateThumbnail.Invoke(null, new object[] { original, idealWidth, idealHeight, folder, fileName, null });"
    I have added SPUtility.ValidateFormDigest() before calling this method. but no luck.
    Please help me on this.
    Thanks
    Hareesh

    Hi,
    According to your post, my understanding is that you want to update picture in user Profile.
    If we are giving an option to change the Profile picture in our custom component, we need to create 3 different files and update the reference in User Profile property.
    To create Thumbnail, we can use the code as below:
    /// Get sealed function to generate new thumbernails
    public SPFile CreateThumbnail(Bitmap original, int idealWidth, int idealHeight, SPFolder folder, string fileName)
      SPFile file = null;
      Assembly userProfilesAssembly = typeof(UserProfile).Assembly;
    Type userProfilePhotosType = userProfilesAssembly.GetType("Microsoft.Office.Server.UserProfiles.UserProfilePhotos");
      MethodInfo [] mi_methods = userProfilePhotosType.GetMethods(BindingFlags.NonPublic | BindingFlags.Static);
      MethodInfo mi_CreateThumbnail = mi_methods[0];
      if (mi_CreateThumbnail != null)
        file = (SPFile)mi_CreateThumbnail.Invoke(null, new object[] { original, idealWidth, idealHeight, folder, fileName, null });
      return file;
    Then we can invoke the method as below:
    using (MemoryStream stream = new MemoryStream(buffer))
    using (Bitmap bitmap = new Bitmap(stream, true))
    CreateThumbnail(bitmap, largeThumbnailSize, largeThumbnailSize, subfolderForPictures, accountName + "_LThumb.jpg");
    CreateThumbnail(bitmap, mediumThumbnailSize, mediumThumbnailSize, subfolderForPictures, accountName + "_MThumb.jpg");
    CreateThumbnail(bitmap, smallThumbnailSize, smallThumbnailSize, subfolderForPictures, accountName + "_SThumb.jpg");
    More information:
    Update User Profile picture programmatically in SharePoint
    Upload User Profile Picture programmatically in SharePoint 2013
    Upload User Profile Pictures Programmatically – SharePoint 2013
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Error occurred in deployment step 'Activate Features':EXCEPTION HAS BEEN THROWN BY THE TARGET OF AN INVOCATION?

    Hi All,
    While building event handler to call webservice facing "Error occurred in deployment step 'Activate Features':EXCEPTION HAS BEEN THROWN BY THE TARGET OF AN INVOCATION"; If comment webservice, then build successfully. How to fix this issue?
    Thanks in advance!

    hi
    if you call WCF service in feature event receiver you need to ensure that proxy is properly configured. In most cases proxy is configured via web.config file using <system.serviceModel> section, but if it is used in feature receiver it depends on how
    you activate the feature:
    1. if feature is added to onet.xml of custom web template which is used for creating site collection from Central Administration you will need to modify web.config file of CA
    2. similar to previous but instead of site collection you try to create sub site using custom web template: in this case you will need to modify web.config of your Sharepoint web application
    3. if you activate feature from timer job somehow, you will need to modify owstimer.exe.config
    4. if you activate feature form powershell, most probably you will need to modify or create powershell.exe.config, but I didn't try it
    The most simple way which will work in all cases is to configure WCF proxy programmatically. See the following forum thread for details:
    How can I set an HTTP Proxy (WebProxy) on a WCF client-side Service proxy.
    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - http://camlex.codeplex.com

Maybe you are looking for

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information.

    I started getting these errors on one of my lists that has several workflows running on it. The strange thing is it has been running pretty much error free for 1.5 years and we have not made any changes to the workflows and no updates have been appli

  • Why does my 9810's auto rotate stop working all of a sudden?

    My 9810's PIN is: 2978D267 As said in title, the auto-rotate has ceased to work all of a sudden. I've tried removing the battery several times for total reboot and no luck, also tried drawing the keyboard back and forth and no dice. the other anomaly

  • Mega Player 515 issues

    I got into the sub-menu "playlist", after uploading some new wmas... Now the whole unit has frozen. I can't turn it off, or reset it. When I plug it into the USB port, nothing happens. Now i'm waiting for the batteries to run out, which can take days

  • Performance Issues for polling files frequently

    Hi I have around 15-16 interfaces which has to be polled every 15 mins....like they have to be real time. Would there be any performance related issues. Regards Rinku

  • TCP connection indicator

    Hello I am using the "Example TCP IP Server" example from labview 8.5. I have a question about the connection indication. There is an light Indicator on for the connection that goes to the "TcpListen.vi" in the block diagram. When I open and close th