cancel
Showing results for 
Search instead for 
Did you mean: 

Add-on Corruption "Error : Object reference not set to an instance of an object"

Former Member
0 Kudos

Hi All,

I have created an Add-on in SAP Business One and its working Properly but in some period of time if i connect the add-on i get the following error,

"Object reference not set to an instance of an object".

I tried uninstalling the add-on and installed it again, but also the same error occurs.

I am sometimes create a new ard and solve this problem but now if i try to do that also i did not get the solution.

How to Solve this issue Permanently???

Help me solving this issue.

Regards,

Jananisuba S

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I hit the same error. anyone can help??

Former Member
0 Kudos

Hi Eric ,

I saw the issue was reported back in August, did any of the solutions work ?

Or you are just having the same kind o f error again ?

Thanks

pvsbprasad
Active Contributor
0 Kudos

Hi ,


Please close the thread.if ur issue is resolved.


Regards,

Prasad

pvsbprasad
Active Contributor
0 Kudos

Hi,

I also faced same issue long ago.

i)if u find the issue in the server ,upgrade the SDK,addons etc...once again.and try to build a new add-on and see

ii) if u find same issue in the client,re install the client and check.

Regards,

Prasad

Former Member
0 Kudos

Hi Jananisuba,

Besides the fact that it could a bug in the program, if happens often when Business One has too much memory allocated (around 1.5GB in my case). What I'm doing in such a case, is simply stop then restart the fat client and everything goes back in order.

Regards,

Eric

Former Member
0 Kudos

Hi Eric,

You mean to Reinstall the SAP Client?

Is that correct?

Regards,

Jananisuba S

Former Member
0 Kudos

Hi Jananisuba,

No, I'm not meaning to reinstall, just stopping and restarting.

Regards,

Eric

Former Member
0 Kudos

Hi Eric,

I tried the way you said but i find the same error ..

Any other possible solution?

Regards,

Jananisuba S

Former Member
0 Kudos

Hi Jananisuba,

Yes,but I'm going to use a word which I hate

May you try to launch the addon in debug mode up to when it crashes?

Saying this: did you develop the addon for a version of Business ONe (let's say 8.82) and trying to test with 9.00?

Regards,

Eric

Former Member
0 Kudos

Hi Eric,

You are correct. I developed the Add-on in SAP 8.82 and now testing in the SAP 9.0.

Regards,

Janani

Former Member
0 Kudos

Hi Janani,

Remove the references to the DI-API and UI-API and re-add them. It should work after.

Regards,

Eric