Back to SDK Support...

Error thrown after upgrade to 4.5.2 (7 replies)

Randy
7 years ago
Randy 7 years ago

I tried upgrading the Magento Connector to 4.5, but now when trying to open the reader, I'm getting an IMan error of:

2017-01-26 14:29:21:834 - System.NullReferenceException: Object reference not set to an instance of an object.

at Realisable.Connectors.DotNet45ConnectorShim.PrettifiedConnectorName(String language)

at Realisable.Connectors.CustomConnectorFactory.GetConnectorLicensePrivate(String assembly, String language)

at Realisable.Connectors.CustomConnectorFactory.GetConnectorLicense(String assembly, String language)

at Realisable.Data.Interop45.ReaderInterop.CreateCustomReader()

at Realisable.Data.Interop45.ReaderInterop.CreateReader()

at Realisable.Data.Interop45.ReaderInterop.Realisable.Data.Interop45.IReaderInterop.Initialise(String jobId, Int32 instance, String transformDefinition, Boolean testMode)

Steps taken:

I modified the .NET version in the connector from 3.5 to 4.5.2

I renamed the connector from ECInternet.Connectors.Magento to ECInternet.Connectors45.Magento.

Because this was an existing job, I had to modify the job .xml slightly to use the the new connector.

This is keeping us from going live with a client.  Can you please investigate?

Randy
7 years ago
Randy 7 years ago

Additionally, a few files were created in IMan/Debug:

DotNet45ConnectorShim contains many rows of:

2017-01-26 14:13:39:548 - impIds Null - False

2017-01-26 14:13:39:549 - impIds Cnt - 8

MetaPresenterInterop contains many rows of:

2017-01-26 14:13:39:627 - PermittedImportIds(True, ECInternet.Connectors45.Magento)

2017-01-26 14:13:39:627 - retrun: 8

Support
7 years ago
Support 7 years ago

Randy, what is in the PrettifiedConnectorName method which could be causing a null reference exception?

Thanks

Randy
7 years ago
Randy 7 years ago

It's simply returning a constant string.

There is no way that it's null, and this was working before I compiled in 4.5.2 and added the "45" string to the connector name.

Randy
7 years ago
Randy 7 years ago

private const string CONNECTOR_NAME = "Magento Reader"

public string PrettifiedConnectorName(string language)

{

return CONNECTOR_NAME;

}

Randy
7 years ago
Randy 7 years ago

Also, I noticed that when first processing the Magento Reader, it will return data correctly, but then hitting "Process" again causes the error, and IMan stops showing any data.

Randy
7 years ago
Randy 7 years ago

Support,

We are still having issues getting IMan to use a 4.5 connector.  When this issue was originally raised, I was told that a patched version of IMan was going to be put onto the server which would allow us to use 4.5 connectors.

After downloading version 3.0 from the downloads page (for Sage 2014), it still will not load a 4.5 connector.  

We are still seeing the same error of "System.NullReferenceException: Object reference not set to an instance of an object. at Realisable.Connectors.DotNet45ConnectorShim.PrettifiedConnectorName(String language)"

Should this version (IMan 3.0) be able to handle 4.5 connectors?  Was that patch only applied to 3.2 (which I don't believe was out at the time)?  Is there any other setup which needs to be done to enable 4.5 connectors?  I've searched through my email and Skype logs, but I don't see anything any additional setup.

Thanks.

6 years ago
Randy 6 years ago

Closed due to inactivity.

Contact

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Request Demo

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Access Downloads

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close