Magento 1 to Magento 2 Data Migration causing Validation Exception error

I’m currently in the process of trying to migrate my Magento 1 data to Magento 2.

The versions are Magento 1.9.3.9 for the original and Magento 2.2.7 for the new one.

I have cloned the Magento 1 database onto my Magento 2 site location and modified the config file in the following location:

httpdocs / vendor / magento / data-migration-tool / etc / opensource-to-opensource / 1.9.3.9 / config.xml

and configured it as follows:

<?xml version="1.0" encoding="UTF-8"?> <!-- /**  * Copyright © Magento, Inc. All rights reserved.  * See COPYING.txt for license details.  */ --> <config xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="../../config.xsd">     <steps mode="settings">         <step title="Settings Step">             <integrity>Migration\Step\Settings\Integrity</integrity>             <data>Migration\Step\Settings\Data</data>         </step>         <step title="Stores Step">             <integrity>Migration\Step\Stores\Integrity</integrity>             <data>Migration\Step\Stores\Data</data>             <volume>Migration\Step\Stores\Volume</volume>         </step>     </steps>     <steps mode="data">         <step title="Data Integrity Step">             <integrity>Migration\Step\DataIntegrity\Integrity</integrity>         </step>         <step title="EAV Step">             <integrity>Migration\Step\Eav\Integrity</integrity>             <data>Migration\Step\Eav\Data</data>             <volume>Migration\Step\Eav\Volume</volume>         </step>         <step title="Customer Attributes Step">             <integrity>Migration\Step\Customer\Integrity</integrity>             <data>Migration\Step\Customer\Data</data>             <volume>Migration\Step\Customer\Volume</volume>         </step>         <step title="Map Step">             <integrity>Migration\Step\Map\Integrity</integrity>             <data>Migration\Step\Map\Data</data>             <volume>Migration\Step\Map\Volume</volume>         </step>         <step title="Url Rewrite Step">             <integrity>Migration\Step\UrlRewrite\Version191to2000</integrity>             <data>Migration\Step\UrlRewrite\Version191to2000</data>             <volume>Migration\Step\UrlRewrite\Version191to2000</volume>         </step>         <step title="Log Step">             <integrity>Migration\Step\Log\Integrity</integrity>             <data>Migration\Step\Log\Data</data>             <volume>Migration\Step\Log\Volume</volume>         </step>         <step title="Ratings Step">             <integrity>Migration\Step\Ratings\Integrity</integrity>             <data>Migration\Step\Ratings\Data</data>             <volume>Migration\Step\Ratings\Volume</volume>         </step>         <step title="ConfigurablePrices step">             <integrity>Migration\Step\ConfigurablePrices\Integrity</integrity>             <data>Migration\Step\ConfigurablePrices\Data</data>             <volume>Migration\Step\ConfigurablePrices\Volume</volume>         </step>         <step title="OrderGrids Step">             <integrity>Migration\Step\OrderGrids\Integrity</integrity>             <data>Migration\Step\OrderGrids\Data</data>             <volume>Migration\Step\OrderGrids\Volume</volume>         </step>         <step title="Tier Price Step">             <integrity>Migration\Step\TierPrice\Integrity</integrity>             <data>Migration\Step\TierPrice\Data</data>             <volume>Migration\Step\TierPrice\Volume</volume>         </step>         <step title="SalesIncrement Step">             <integrity>Migration\Step\SalesIncrement\Integrity</integrity>             <data>Migration\Step\SalesIncrement\Data</data>             <volume>Migration\Step\SalesIncrement\Volume</volume>         </step>         <step title="PostProcessing Step">             <data>Migration\Step\PostProcessing\Data</data>         </step>     </steps>     <steps mode="delta">         <step title="Customer Attributes Step">             <delta>Migration\Step\Customer\Delta</delta>             <volume>Migration\Step\Customer\Volume</volume>         </step>         <step title="Map Step">             <delta>Migration\Step\Map\Delta</delta>             <volume>Migration\Step\Map\Volume</volume>         </step>         <step title="Log Step">             <delta>Migration\Step\Log\Delta</delta>             <volume>Migration\Step\Log\Volume</volume>         </step>         <step title="OrderGrids Step">             <delta>Migration\Step\OrderGrids\Delta</delta>             <volume>Migration\Step\OrderGrids\Volume</volume>         </step>         <step title="SalesIncrement Step">             <delta>Migration\Step\SalesIncrement\Delta</delta>             <volume>Migration\Step\SalesIncrement\Volume</volume>         </step>     </steps>     <source>         <database host="localhost" name="original-database-name" user="username" password="password" />     </source>     <destination>         <database host="localhost" name="new-database-name" user="username" password="password"/>     </destination>     <options>         <map_file>etc/opensource-to-opensource/1.9.3.9/map.xml.dist</map_file>         <eav_map_file>etc/opensource-to-opensource/map-eav.xml.dist</eav_map_file>         <eav_document_groups_file>etc/opensource-to-opensource/eav-document-groups.xml.dist</eav_document_groups_file>         <eav_attribute_groups_file>etc/opensource-to-opensource/eav-attribute-groups.xml.dist</eav_attribute_groups_file>         <log_map_file>etc/opensource-to-opensource/map-log.xml.dist</log_map_file>         <log_document_groups_file>etc/opensource-to-opensource/log-document-groups.xml.dist</log_document_groups_file>         <settings_map_file>etc/opensource-to-opensource/settings.xml.dist</settings_map_file>         <customer_map_file>etc/opensource-to-opensource/map-customer.xml.dist</customer_map_file>         <customer_document_groups_file>etc/opensource-to-opensource/customer-document-groups.xml.dist</customer_document_groups_file>         <customer_attribute_groups_file>etc/opensource-to-opensource/customer-attribute-groups.xml.dist</customer_attribute_groups_file>         <delta_document_groups_file>etc/opensource-to-opensource/deltalog.xml.dist</delta_document_groups_file>         <order_grids_document_groups_file>etc/opensource-to-opensource/order-grids-document-groups.xml.dist</order_grids_document_groups_file>         <map_document_groups>etc/opensource-to-opensource/map-document-groups.xml.dist</map_document_groups>         <class_map>etc/opensource-to-opensource/class-map.xml.dist</class_map>         <tier_price_map_file>etc/opensource-to-opensource/1.9.3.9/map-tier-price.xml.dist</tier_price_map_file>         <stores_map_file>etc/opensource-to-opensource/map-stores.xml.dist</stores_map_file>         <!--         In case bulk_size=0 it will be auto-detected for every document.         -->         <bulk_size>0</bulk_size>         <!--         Set direct_document_copy = 1 for better performance.         NOTE: 'source' and 'destination' databases MUST be placed on the same MySQL instance         and 'destination' user MUST be granted with 'SELECT' permissions on 'source' database          -->         <direct_document_copy>0</direct_document_copy>         <source_prefix />         <dest_prefix />         <auto_resolve_urlrewrite_duplicates>0</auto_resolve_urlrewrite_duplicates>         <log_file>migration.log</log_file>         <progress_bar_format>%percent%% [%bar%] Remaining Time: %remaining%</progress_bar_format>         <upgrade_customer_password_hash>1</upgrade_customer_password_hash>         <edition_migrate>opensource-to-opensource</edition_migrate>         <edition_number>1.9.3.9</edition_number>         <init_statements_source>SET NAMES utf8;</init_statements_source>         <init_statements_destination>SET NAMES utf8;</init_statements_destination> <crypt_key><![CDATA[1234567abcdef]]></crypt_key>      </options> </config> 

The problem now is when I run the following command:

php bin/magento migrate:settings --reset vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.3.9/config.xml 

I get the following error

enter image description here

I’m assuming that this is an error with the database names but I’m not sure what as they seem to be named correctly.

If anyone knows why this error is occurring I would appreciate any information.

Thanks

exception from hresult 0x80040e14 after workflow errors

I’m facing a problem with SharePoint 2013. I have an internal list with a simple workflow associated that triggers when an item is created. The workflow populates a “users” type field with the string found in a “string” field.

The problem is the customer gave me a wrong look-up for the names and the workflow failed on many items.

Since that happened, I get the error in the title (exception from hresult 0x80040e14) when I try to do any operation.

I can’t delete, create or edit items, I can’t interact with any object from the SharePoint designer ( i get generic error messages).

If I enter the “workflows settings” from the list section of the ribbon, I can see 154 pending workflows that I’m not able to stop ( same error as the title).

Since I found out that the mentioned exception is usually a reference to the site limit reached, I tried to edit the quota to enlarge it, but I get an error when trying to edit the quota template or when I try to select a larger one.

I tried with a restart of the machine where SharePoint is running, but the 154 pending workflow instances didn’t stop.

I couldn’t find any reference to this specific problem on the community, I would be glad if someone faced (and solved) the same issue.

Thanks a lot to everyone!

SPWeb object properties turn to “null reference exception”

I am currently working a Farm Solution that is supposed to work with SharePoint 2016 and I am facing something that I can’t understand. Maybe someone could explain this phenomenon or point what I am missing.

Basically, I deploy a List instance through a Web Feature. When the feature is activated, if the list is empty, I fill it with some values through the Feature Receiver. Now, I only want users that are Site Administrators to add, edit or delete items in this list. To achieve this, I created an Event Receiver for this list where I perform various checks. Everything seems to work as expected: when the feature is turned on, the list is created and populated (checks in the Event Receiver performed well at that moment) and only Site Administrators can add, edit or delete items in this list afterwards.

My code would be like the following:

// Feature Receiver public override void FeatureActivated(SPFeatureReceiverProperties properties) {     try     {         SPSecurity.RunWithElevatedPrivileges(delegate         {             SPWeb web = properties.Feature.Parent as SPWeb;             SPList list = web.Lists.TryGetList("Information");              if (list.Items.Count == 0)             {                 SPListItem itemTitle = list.Items.Add();                 itemTitle["Title"] = "Name";                 itemTitle["SPWHInformationValue"] = "My Service";                 itemTitle["SPWHInformationDisplayFooter"] = true;                 itemTitle["SPWHInformationFooterOrder"] = 1;                 itemTitle.Update();             }         });     }     catch (Exception e)     {         // Logs     } }  // Event Receiver public override void ItemAdding(SPItemEventProperties properties) {     try     {         base.ItemAdding(properties);          string userLogin = properties.UserLoginName;         SPSite site = properties.Site;         SPWeb web = site.RootWeb;         SPUser user = web.EnsureUser(userLogin);          if (!user.IsSiteAdmin)         {             properties.ErrorMessage = "You don't have permission to perfom this action on list \"Information\".";             properties.Status = SPEventReceiverStatus.CancelWithError;         }     }     catch (Exception e)     {         // Logs     } } 

Beside that, I wanted to create a small “framework” to avoid, as much as possible, code duplication and to ease unit testing. In a few words, I have various Services are linked to one or more Repository. To use a service in an Event Receiver, for example, I call an Accessor object that references the different services.

So, in the list Event Receiver, the code looks something like so:

public override void ItemAdding(SPItemEventProperties properties) {     try     {         base.ItemAdding(properties);          if (!Accessor.ListService.IsUserAuthorizedToPerfomAction(properties))         {             properties.ErrorMessage = "You don't have permission to perfom this action on list \"Informations\".";             properties.Status = SPEventReceiverStatus.CancelWithError;             return;         }     }     catch (Exception e)     {         // Logs     } } 

Now, when this code is executed the first time, through the Feature Receiver, it works perfectly fine. But if it is executed a second time, when I try to add an item to list through the UI, I get a null reference exception for the SPWeb object. By setting a various breakpoints in Visual Studio, I can see that the SPWeb object still exists, but most of its properties is filled with “null reference exception” by that time.

I spent hours playing around with SPSecurity.RunWithElevatedPrivilege, trying to save the SPContext and the SPWeb object in properties, but each time, when the “EnsureUser” method is called for the second time, an exception is raised. I also noticed that if I disable the feature, empty the list and reactivate the feature, the same problem occurs.

I finally ended with some kind of workaround I don’t really like.

Here is the last version of my code for my Services and Repositories:

// ListService public bool IsUserAuthorizedToPerfomAction(SPItemEventProperties properties) {     try     {         bool result = false;         string userLogin = properties.UserLoginName;          if (string.IsNullOrEmpty(userLogin))         {             return result;         }          SPSecurity.RunWithElevatedPrivileges(delegate         {             Accessor.EnsureContext(properties.Site, properties.Site.RootWeb);             SPWHUser user = Accessor.UserService.GetUserByLoginName(userLogin);              if (string.IsNullOrEmpty(user.LoginName) || user.ID == 0)             {                 SPUser spUser = properties.Site.RootWeb.EnsureUser(userLogin);                 user = new SPWHUser                 {                     ID = spUser.ID,                     IsHiddenInUI = spUser.IsHiddenInUI,                     IsSiteAdmin = spUser.IsSiteAdmin,                     LoginName = spUser.LoginName                 };             }              if (user.IsSiteAdmin)             {                 result = true;             }         });          return result;     }     catch (Exception e)     {         // Logs         return false;     } }  // UserService public SPWHUser GetUserByLoginName(string loginName) {     try     {         if (string.IsNullOrEmpty(loginName))         {             return new SPWHUser();         }          SPUser user = (_repository as IUserRepository).EnsureUser(loginName);          if (user == null)         {             return new SPWHUser();         }          return new SPWHUser         {             ID = user.ID,             IsHiddenInUI = user.IsHiddenInUI,             IsSiteAdmin = user.IsSiteAdmin,             LoginName = user.LoginName         };     }     catch (Exception e)     {         // Logs         return new SPWHUser();     } }  // UserRepository public SPUser EnsureUser(string loginName) {     if (string.IsNullOrEmpty(loginName))     {         return null;     }      if (_webRepository == null)     {         return null;     }      try     {         SPUser user = null;          // !!! This line is the problem !!!         user = _web.EnsureUser(loginName);          return user;     }     catch (Exception ex)     {         // Logs         return null;     } } 

I cleaned the code a little bit, but the important part is here. The “_web” property in UserRepository is an SPWeb object. I also use my own struct where I save user’s information (SPWHUser), mostly for Unit Testing.

I also ended with something really ugly (I think), in my Accessor object where I try to save the SPContext and the SPWeb:

public static void EnsureContext(SPSite site, SPWeb web) {     SPSecurity.RunWithElevatedPrivileges(delegate     {         if (Context != null)         {             return;         }          using (SPSite spSite = new SPSite(site.Url))         {             using (SPWeb spWeb = spSite.OpenWeb(web.ServerRelativeUrl))             {                 Context = SPContext.GetContext(spWeb);                  (WebService.Repository as IWebRepository).Context = Context;                 (WebService.Repository as IWebRepository).Web = web;                  (SiteService.Repository as ISiteRepository).Context = Context;                 (SiteService.Repository as ISiteRepository).Site = site;             }         }     }); } 

Even with such a manipulation, the properties of the SPWeb object turn to “null reference exception” the second time.

Can someone tell me what I do wrong or what I don’t understand?

My thanks in advance.

Information Right Management : Unhandled exception initializing IRM

Here is our scenario :

We have a SharePoint 2016 Three Tier Farm composed with 1 WFE, 1 APP and 1 SQL Server configured in Domain A

We have two RMS servers 1 RMS Server : RMSSRV.DOMAIN-A.COM and another : RMSSRV.DOMAIN-B.COM managed with trust between them.

SharePoint Build Version is 16.0.4756.1000 (October 2018 CU)

OS In all servers is Windows Server 2016, SQL Server Version 2016 SP1

When trying to link SharePoint 2016 with RMS we get the famous error :

The required Active Directory Rights Management Service Client (MSIPC.DLL) is present but could not be configured properly. IRM will not work until the client is configured properly.

We gave correct permissions (Even Full Control) to the web service files : ServerCertification.asmx, Certification.asmx, Licensing.asmx in the two RMS Servers for the SharePoint Farm Account, SharePoint Installation Account, SharePoint Service Apps Account and the Three SharePoint Server Farm Computers.

We Downloaded RMS Analyzer Tool and the Diagnostic was SUCCESSFUL.

When digging in ULS Logs when trying to link in Central Administration we get the following informations :

   2/31/2018 21:35:10.64  w3wp.exe (0x2FBC)     0x0868  SharePoint Foundation   Information Rights Management   a3vg6   Medium     Load MSIPC.DLL - version:[1.0.3356.1108],  location:[C:\Program Files\Active Directory Rights Management Services Client 2.1\msipc.dll].    7082b19e-84e8-603d-892b-9b6c880ca0b6  12/31/2018 21:35:10.65  w3wp.exe (0x2FBC)     0x0868  SharePoint Foundation   Information Rights Management   ayh6i   Medium     OauthRmsoEnabled checked status of  flight. Status: 'Disabled'   7082b19e-84e8-603d-892b-9b6c880ca0b6  12/31/2018 21:35:10.65  w3wp.exe (0x2FBC)     0x0868  SharePoint Foundation   Information Rights Management   a4hyw   Medium     OAuth for RMSO is turned OFF by flighting.  7082b19e-84e8-603d-892b-9b6c880ca0b6  12/31/2018 21:35:10.65  w3wp.exe (0x2FBC)     0x0868  SharePoint Foundation   Information Rights Management   a3vg6   Medium     Load MSIPC.DLL - version:[1.0.3356.1108],  location:[C:\Program Files\Active Directory Rights Management Services Client 2.1\msipc.dll].    7082b19e-84e8-603d-892b-9b6c880ca0b6  12/31/2018 21:35:11.00  w3wp.exe (0x2FBC)     0x0868  SharePoint Foundation   General   837l    Exception   An unhandled exception occured. Watson will be invoked.  StackTrace: at onetnative.dll: (sig=ecaed601-b36b-4e35-afcc-e259d5b7a450|2|onetnative.pdb, offset=3712D) at onetnative.dll: (offset=1E332) at onetnative.dll: (offset=1E218) at onetutil.dll: (sig=26f187a2-9468-47cb-8752-ad62cb2856dc|2|onetutil.pdb, offset=A7353)  at VCRUNTIME140.dll: (sig=d348f660-cfde-4900-a3b9-651782bc59c6|1|vcruntime140.amd64.pdb, offset=BEE0) at VCRUNTIME140.dll: (offset=229A) at VCRUNTIME140.dll: (offset=2180) at VCRUNTIME140.dll: (offset=1C7E) at VCRUNTIME140.dll: (offset=BE80) at ntdll.dll:  (sig=87db6e61-82d3-43ab-b833-94f73bb3973e|1|ntdll.pdb, offset=AA57D) at ntdll.dll: (offset=3FD23) at ntdll.dll: (offset=A96EA) at ipcauth.dll: (sig=84b5cad7-9763-4d5c-b87d-069364a54683|1|ipcauth.pdb, offset=2E0B4) at ipcauth.... 7082b19e-84e8-603d-892b-9b6c880ca0b6  12/31/2018 21:35:11.00* w3wp.exe (0x2FBC)     0x0868  SharePoint Foundation   General   837l    Exception   ...dll: (offset=1AA58) at msipc.dll: (sig=87ca7079-2e28-430e-97f3-fa82a2397d87|1|msipc.pdb,  offset=A7640) at msipc.dll: (offset=A737D) at msipc.dll: (offset=5621F) at msipc.dll: (offset=47442) at msipc.dll: (offset=4E66C) at stswel.dll: (sig=57b6387c-0451-45bf-a3d9-aed6be492648|2|stswel.pdb, offset=169830) at stswel.dll: (offset=169445) at stswel.dll:  (offset=16AF87) at stswel.dll: (offset=1664AA) at stswel.dll: (offset=167A75) at owssvr.dll: (sig=cd4583e7-7bfd-448a-a85c-bdccecea7957|2|owssvr.pdb, offset=3EA93)    7082b19e-84e8-603d-892b-9b6c880ca0b6  12/31/2018 21:35:11.00  w3wp.exe (0x2FBC)     0x0868  SharePoint Foundation   Unified Logging Service   c91s    Monitorable Watson bucket parameters: Microsoft SharePoint Foundation  4, ULSException14, 269cd32d "sharepoint foundation", 100010ff "16.0.4351.0", 605a3328 "ipcauth.dll", 01000d1c "1.0.3356.0", 5a02bfdd "wed nov 8 09:27:09 2017", MISSING, 0002e0b4 "0002e0b4", c0000005  "c0000005", 3833376c "837l"   7082b19e-84e8-603d-892b-9b6c880ca0b6  12/31/2018 21:35:11.05  w3wp.exe (0x2FBC)     0x0868  SharePoint Foundation   General   ac97k   High     Unhandled exception initializing IRM. 0x00000000   7082b19e-84e8-603d-892b-9b6c880ca0b6  12/31/2018 21:35:11.05  w3wp.exe (0x2FBC)     0x0868  SharePoint Foundation   Information Rights Management   5808    Information Information Rights Management (IRM): Initial  certificate acquisition and other Rights Management Services (RMS) initialization actions were completed with result code: 0x80020009. 7082b19e-84e8-603d-892b-9b6c880ca0b6 

I can’t understand what is happening ?

uncaught exception: out of memory in my console

I wrote a code long back with the use of promises and the code does not seem to work now .It was working earlier though .. it deals with ajax calls. I have put an ajax call within one promise and then this same promise’s response is routed to the then wherein i form another promise taking one more ajax call within it.then in the then of this promise both the ajax responses from the first promise and the response from the second promise are passed into a function, wherein they are called

.The sample cod is given below

let promise = new Promise(function(resolve,reject){                       url2=basicURL+"Tenders/NoOfTendersInFinancialYearWise.json?"+opt2;                 //console.log(url2);                 xmlhttp.open('GET', url2, true);                        xmlhttp.onreadystatechange = function () {                     if (xmlhttp.readyState == 4) {                         if (xmlhttp.status == 200) {                              var response2 = JSON.parse(xmlhttp.responseText);                                     resolve(response2);                         }                     }                 }                 xmlhttp.send(null);                          });            promise.then(function(response2){         return new Promise(function(resolve,reject){                      url1=basicURL+"Tenders/NoOfTendersInFinancialYearWise.json?"+opt1;         //console.log(url1);         xmlhttp.open('GET', url1, true);                xmlhttp.onreadystatechange = function () {             if (xmlhttp.readyState == 4) {                 if (xmlhttp.status == 200) {                      var response1 = JSON.parse(xmlhttp.responseText);                      var newArr = new Array();                     newArr.push(response2);                     newArr.push(response1);                      resolve(newArr);                   }             }         }         xmlhttp.send(null);                  })}).then(newArr=>test(newArr[0],newArr[1],'#designerChartZoom',false)); 

Failed to read candidate component class, nested exception is ArrayStoreException

I have a maven application , when I run my application using xml-jetty I am getting the Failed to read candidate component class, nested exception is ArrayStoreException error for target/classes/com/test/SampleImpl class, I have seen the original SampleImpl.java file, I couldn’t find any errors related to that file. I did some research on this error, I found some suggestions related to changing java version 7 to 8 for spring, I changed java version to 8and spring version to 4.x bt still getting same error, then I added some spring dependencies in dependency-management as suggested in other sites but still getting same error.

Note: I cant share my code

Diferença entre Error – Exception – Throwable dentro do catch() [duplicada]

Esta pergunta já tem uma resposta aqui:

  • Uso específico do try-catch 4 respostas

Sempre quando eu tratava o catch eu usava (Exception e) porém a alguns dias atras me deparei com uma exceção que não se encaixava no catch (Exception e) então descobri que ela na verdade não é uma exceção mas sim um erro. Logo então passei a suar catch (Error | Exception e) porém hoje me deparei com um código que usa apenas catch (Throwable e).

Então gostaria de saber a diferença entre esses termos, ou, não sei como posso chamá-los.

Exception in thread “AWT-EventQueue-0″ java.lang.NumberFormatException: For input string: ” 8″

Estava desenvolvendo uma aplicação simples java utilizando o swing, e não sei qual o erro no meu código. Aqui segue o código e o erro:

private void btnVerificaActionPerformed(java.awt.event.ActionEvent evt) {                                                 // TODO add your handling code here:     int v = Integer.parseInt(txtValor.getText());     if (v%2==0){         lblResultado.setText("PAR");     } else {         lblResultado.setText("IMPAR");     }  Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: " 8" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:569) at java.lang.Integer.parseInt(Integer.java:615) at classes.TelaParImpar.btnVerificaActionPerformed(TelaParImpar.java:88) at classes.TelaParImpar.access$  000(TelaParImpar.java:12) at classes.TelaParImpar$  1.actionPerformed(TelaParImpar.java:44) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$  Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.Component.processMouseEvent(Component.java:6533) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6298) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) at java.awt.Container.dispatchEventImpl(Container.java:2280) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$  500(EventQueue.java:97) at java.awt.EventQueue$  3.run(EventQueue.java:709) at java.awt.EventQueue$  3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$  JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$  JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$  4.run(EventQueue.java:731) at java.awt.EventQueue$  4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$  JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) 

Unhandled exception when i try to send a Httprequest

This is VC++ 2005: I get an Unhandled exception when i try to send a Httprequest. I am able to open and establish a connection.

When I debug the code, in the file “msxml3.tli” the “raw_send” function returns -2146697208 for _hr… By the way: getlasterror() returns 0

Any idea? Your help is highly appreciated!

// This is in msxml3.tli:  HRESULT IXMLHttpRequest::send ( const _variant_t & varBody ) {     HRESULT _hr = raw_send(varBody);     if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));     return _hr; }