Paul, I can't reproduce this at all. The error is very weird as basically it's saying that "arguments" is not a struct (which it is, of course).
I'm on 6.1 too, you don't need a mapping if you've got it in the root like that. That shouldn't make a difference though - and I can't see why this would cause this error. It has be something with your environment - any java classes installed or other modifications to the install? Do the CS examples run (try http://localhost:8500/coldspring/examples/feedviewer-fb4/ ) ? Other than that I have no idea - if anyone else has had this issue please chime in. thanks, Dave On 6/15/06, Paul Roe <[EMAIL PROTECTED]> wrote:
I have tried to get cs working on my local 6.1 dev box and I can't get it working. This is an out of the box copy of CSRC1 setup in my root directory with a mapping. I don't have a mapping to /, and I have deleted all the class files 2 different times. I've tried 2 of my applications as well as the new model-glue unity quickstart application and each time I get the following error: You have attempted to dereference a scalar variable of type class [Ljava.lang.Object; as a structure with members. The error occurred in C:\CFusionMX\wwwroot\coldspring\beans\DefaultXmlBeanFactory.cfc: line 836 Called from C:\CFusionMX\wwwroot\coldspring\beans\BeanDefinition.cfc: line 215 Called from C:\CFusionMX\wwwroot\coldspring\beans\DefaultXmlBeanFactory.cfc: line 383 Called from C:\CFusionMX\wwwroot\coldspring\beans\DefaultXmlBeanFactory.cfc: line 332 Called from C:\CFusionMX\wwwroot\ModelGlue\unity\ModelGlue.cfm: line 33 Called from C:\CFusionMX\wwwroot\translator\index.cfm: line 33 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 = "" /> On 6/14/06, Dave Ross <[EMAIL PROTECTED] > wrote: > Paul, First verify whether you have this issue in a clean development environment, with a clean copy of ColdSpring. It's important for us to know whether it's related to the change in component paths or a bug already present in the code. thanks, Dave On 6/14/06, Paul Roe < [EMAIL PROTECTED]> wrote: > Ya chris all good questions, yes its an enterprise 6.1 server. No I cant > change anything, no for whatever reason I can't have my own instance. Right > now the search and replace works fine to cover the basic cs functionality > but aop doesn't seem to work. With any luck I am going to convince my Server > admin to let me have a mapping and that should end all these issues. > > > On 6/14/06, Chris Scott <[EMAIL PROTECTED]> wrote: > > > Not to be asking possibly annoying questions, but, aren't you working > on a testing or development server? Why can't you configure that > whatever way necessary? If you are allowed to put an official 1.0 > release in the web root directory, or a create a mapping, than you > have little to worry about. 1.0 will be out pretty much when the > documentation is finished, the code base on CVS is solid, so I think > your immediate concern would be making sure your app runs in a proper > setup and q/a ing it. > > Next stupid and annoying question, if this is a 'big company' aren't > you running enterprise and your apps can have their own instances? > > By all means search and replace if you must, but please, I hope you > have that well documented for upgrades, and I hope you have a plan to > migrate that over to an easier to maintain setup! > > Chris > > On Jun 14, 2006, at 6:11 AM, Dave Ross wrote: > > > even though it gives me a yucky feeling, I thought about shipping an > > ANT script that would "repackage" ColdSpring for you - it would come > > in handy in situations like these or when someone wants to bundle CS > > with another framework or app and not go the "you have a dependency on > > ColdSpring" route. There are plenty of downsides (especially > > upgrades), but I'm all about lowering barriers to entry - and if > > there's a standard, supported way to do it I think that would be a > > good thing. > > > > I have yet to fully test whether a straight find + replace will work, > > but it's really only AOP I'm worried about. > > > > -Dave > > > > On 6/14/06, Tom Chiverton < [EMAIL PROTECTED]> wrote: > >> On Wednesday 14 June 2006 05:43, Paul Roe wrote: > >> > access to a 7.0 server or the administrator in order to create > >> the mapping. > >> > >> Download the free dev. version and see what happens :-) > >> > >> > I put coldspring in a lower level directory after being forced > >> to not > >> > because I want to trust me. > >> > >> Gah. > >> Search and replace hell it is then to change all 'coldspring' > >> to 'foo.bar.baz.soldpsring'... > >> > >> -- > >> Tom Chiverton > >> > >> **************************************************** > >> > >> This email is sent for and on behalf of Halliwells LLP. > >> > >> Halliwells LLP is a limited liability partnership registered in > >> England and Wales under registered number OC307980 whose > >> registered office address is at St James's Court Brown Street > >> Manchester M2 2JF. A list of members is available for inspection > >> at the registered office. Any reference to a partner in relation > >> to Halliwells LLP means a member of Halliwells LLP. Regulated by > >> the Law Society. > >> > >> CONFIDENTIALITY > >> > >> This email is intended only for the use of the addressee named > >> above and may be confidential or legally privileged. If you are > >> not the addressee you must not read it and must not use any > >> information contained in nor copy it nor inform any person other > >> than Halliwells LLP or the addressee of its existence or > >> contents. If you have received this email in error please delete > >> it and notify Halliwells LLP IT Department on 0870 365 8008. > >> > >> For more information about Halliwells LLP visit www.halliwells.com. > >> > >> We are pleased to announce that Halliwells LLP has been voted AIM > >> Lawyer of the Year at the 2005 Growth Company Awards > >> > >> > >> > > > > Chris Scott > [EMAIL PROTECTED] > http://cdscott.blogspot.com/ > http://www.coldspringframework.org/ > > > > > > > > > > > > > > > >
