MscrmTools / Javista.AttributesFactory

A, XrmToolBox plugin to manage attributes from an Excel spreadsheet
GNU General Public License v3.0
10 stars 4 forks source link

Export Table: Object reference not set to an instance #40

Closed dave-buckley-valto closed 12 months ago

dave-buckley-valto commented 1 year ago

Hi, when trying to export some tables, I get the below error:

image

Is there a workaround / solution for this? Or am I missing something? Some tables seem to work fine.

MscrmTools commented 1 year ago

I never experienced it before and I'm using it quite a lot...

Can you filter down to a specific table that would produce this error? if so, anything specific? Do you try to export system and deribed columns too?

dave-buckley-valto commented 1 year ago

Hi, thanks for getting back so quick.

Note that the tables we are exporting are on-premise tables (if that makes any difference). I am doing tables one at a time, it appears to occur on some tables but not others, haven't tried multiple at once.

I have tried exporting it with a combination of no system, derived, system and derives etc, but no luck. I'll provide a more comprehensive guide on how I produce the error.

I also don't get anything in the logs as it is failing on export, not during.

dave-buckley-valto commented 1 year ago

Hi,

Below is the full steps to reproduce the issue, please note again these tables are on-prem.

  1. Select Export Tables
  2. Select the default solution
  3. Select a table

image

  1. Select okay.
  2. Select a file name to export to
  3. Error occurs

image

I am on version: 1.2023.2.33

Is there any way I can look into the logs and see if it a specific column that is causing the issue?

PatrickGaul commented 1 year ago

I and a colleague are having exactly the same issue, same plugin version (1.2023.2.33), same circumstances attempting to export tables from an on-premise Dynamics environment. Microsoft Dynamics 365 Version 1612 (8.2.24.14) (DB 8.2.28.11) on-premises

dave-buckley-valto commented 1 year ago

@PatrickGaul While attempting to debug further, I found that uninstalling version 1.2023.2.33 and installing the previous version (1.2023.2.32), the issue was no longer present

MscrmTools commented 12 months ago

Can you try with this file? Javista.AttributesFactory.zip

MscrmTools commented 12 months ago

tagging @dave-buckley-valto, @PatrickGaul

PatrickGaul commented 11 months ago

It works now! Thanks for the fix!