Hummmm Interesting it appears that the bug in the early version of 6.1 is
back as this simple example does not work, which has nothing to do with
CS.
<cfset foo = createObject("component", "dsn") />
<cfset md = getMetaData(foo) />
<cfdump var="#md#" />
<cfdump var="#duplicate(md)#" />
The duplicate(md) generates the error. I can not access the BER right now
due to firewall issues, but if the flattenMedataData method works the
same, I bet I will have the same issue.
Best Regards,
Adam Crump
Manager - Web Applications
Web Services - ICS
Amkor Technology
Sent by: [email protected]
"Peter J. Farrell" <[EMAIL PROTECTED]>
08/27/2007 09:01 AM
Please respond to coldspring-dev
To:
<[email protected]>
cc:
bcc:
Subject:
[coldspring-dev] Array Element Type Mismatch
Adam Crump said the following on 8/27/2007 10:12 AM:
I keep getting this error from the defaulXmlBeanFactory after upgrading to
CS1.0. I never received this when running 0.5. The strange thing is I
can restart the cfmx service and normaly(somtimes it takes 2 or 3
restarts) this will fix it. When searching the mailing list archive I
found that this could be related to an old version of cfmx 6, but I am
running Version 7,0,2,142559. Another interesting note I discovered that
this seems to only affect beans that use the extends attribute. When I
remove the extends attribute and value, everything works fine. Anyone
else experience this or have a fix?
array element type mismatch
The error occurred in
C:\_web\intranet\extensions\frameworks\coldspring\beans\DefaultXmlBeanFactory.cfc:
line 836
Called from
C:\_web\intranet\extensions\frameworks\coldspring\beans\BeanDefinition.cfc:
line 215
Called from
C:\_web\intranet\extensions\frameworks\coldspring\beans\BeanDefinition.cfc:
line 363
Called from
C:\_web\intranet\extensions\frameworks\coldspring\beans\BeanDefinition.cfc:
line 363
Called from
C:\_web\intranet\extensions\frameworks\coldspring\beans\DefaultXmlBeanFactory.cfc:
line 383
Called from
C:\_web\intranet\extensions\frameworks\coldspring\beans\DefaultXmlBeanFactory.cfc:
line 332
Called from
C:\_web\intranet\extensions\components\com\amkor\misc_billing\controller\listener\invoiceRequestListener.cfc:
line 5
Called from
C:\_web\intranet\extensions\frameworks\MachII\framework\ListenerManager.cfc:
line 91
Called from
C:\_web\intranet\extensions\frameworks\MachII\framework\AppManager.cfc:
line 40
Called from
C:\_web\intranet\extensions\frameworks\MachII\framework\AppFactory.cfc:
line 109
Called from
C:\_web\intranet\extensions\frameworks\MachII\framework\AppLoader.cfc:
line 65
Called from
C:\_web\intranet\extensions\frameworks\MachII\framework\AppLoader.cfc:
line 43
Called from C:\_web\intranet\extensions\frameworks\MachII\mach-ii.cfm:
line 43
Called from C:\_web\intranet\aanet.amkor.com\wwwroot\apps\idr\index.cfm:
line 27
834 : <cfargument name="md"
type="struct" required="true" />
835 : <cfset var i = "" />
836 : <cfset var flattenedMetaData =
duplicate(arguments.md)/>
837 : <cfset var foundFunctions = ""/>
838 : <cfset var access = "" />
Best Regards,
Adam Crump
Manager - Web Applications
Web Services - ICS
Amkor Technology
The latest stable available on the website is quite old and we're trying
to get a new one finished. I recommend using the BER through CVS.
.pjf