I'm trying to interact with a bunch of third-party web parts written using the V2 Connections API. The interface I'm implementing is IWebPartRow (V3), and as I understand it, SharePoint 2007 has built-in facilities for transforming the implementation into something that an implementation of IRowConsumer (V2, obsolete in 2007) can consume.
I've managed to implement the interface, but as soon as I connect the web parts, I get a lovely NRE, because instead of my web part, the ConnectionRuntime passes a null reference to the consuming Web Part.
The problem seems to originate in ConnectionRuntime.ConnectAllInterfaces() which is, sadly, resistant to reflector-decompiling.
I've tried to do my due diligence and search for clues on the web, but I'm running out of ideas.
Help me, SPOverflow, you're my only hope :-)