Rhino Inside - Cannot Deserialize the current JSON Object

(Daniel Woodcock) #1

Hi all,

I’ve followed the instructions for the installation, the build works until I open Revit and then get the following error. I have a valid licence for Rhino, but it seems that it can’t deserialize this data. I don’t get an error when opening Rhino WIP (although it does say that Rhino WIP will only be available for 43 days), but is functional. Nor do I get any breaks when debugging via attached process for the plugin. Any ideas why this is happening? (@kike?)

image

image

Any help will be much appreciated.

Cheers,
Dan

0 Likes

(Andrés Jacobo) #2

Hi @daniel.woodcock,

That is indeed very strange.

Is there any chance you are using Newtonsoft.Json in your code or in any libraries you might be using? A conflicting version of the library could be the issue. I can’t think of anything else right now.

0 Likes

(Steve Baer) #3

Do you have any extra plug-ins or components installed? It might be worth testing without these in place.

0 Likes

(Andrés Jacobo) #4

I also found this, which seems very similar:

I’m still not convinced that is the issue, but it looks like the same problem.

0 Likes

(Kike Garcia) #5

There are some instructions here, to test what @stevebaer pointed out before.
Could you please try?

0 Likes

(Daniel Woodcock) #6

Hi @aj1,

Thanks for getting back to me!

I’m not personally using Newtonsoft.json in any code I’m running, but I can’t say that for other plugins. I know Dynamo uses Newtonsoft.json (and I think maybe an older version). I can try unloading all plugins and test if the problem persists.

Cheers,
Dan

0 Likes

(Daniel Woodcock) #7

Ah, this is by Harry Mattison at BoostYourBIM. Sounds very useful, Thanks for sharing! I will test today and see what is causing the issue.

0 Likes

(Daniel Woodcock) #8

Ok, I found the culprit. (The Addin Manager didn’t work as expected so did manually) and turns out it was the Cad Technology Centre plugin “CTC-BIM-Manager-Suite.addin”.

Now it is working perfectly!

Thanks for all your help guys! :slight_smile:

Cheers,
Dan

0 Likes