function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Paul Menheere 10Paul Menheere 10 

Calling a Visualforce (custom) component in a managed package from a different namespace

Hi All,

I've created a custom component in visualforce which works properly within the managed package.
However if I install it in a different DE environment I get strange results.

Without setting a namespace everyting works fine and dandy. However the moment I set a namespace it stops working alltogether
I'm getting an error with the following description :
Invalid conversion from runtime type null to SObject
Fouten in definitie "{!cRec}" in component <ngendossier:dos_dossier_select> in component ngendossier:dos_dossier_select
everything is global (hence it working without a namespace) obviously I'm missing something or I've encountered a bug..


 
ShashankShashank (Salesforce Developers) 
I couldnt find anything specific, but here are a couple of pages related to this error message:
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000AZH4IAO
http://salesforce.stackexchange.com/questions/32727/invalid-conversion-from-runtime-type-string-to-sobject