Error thrown after upgrade to 4.5.2 (7 replies)
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.Realisable.Data.Interop45.IReaderInterop.Initialise(String jobId, Int32 instance, String transformDefinition, Boolean testMode)
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?
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
Randy, what is in the PrettifiedConnectorName method which could be causing a null reference exception?
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.
private const string CONNECTOR_NAME = "Magento Reader"
public string PrettifiedConnectorName(string language)
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.
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.
Closed due to inactivity.