MX unIt testing error

Skip to first unread message

Gavin Baumanis

Aug 4, 2013, 8:27:48 AM8/4/13
Hi Everyone,
I recently swapped from a windows machine to a new Mac.
So I am assuming a "path" or perhaps more specifically an OS delimiter issue.
But I can't find it.

I am, also, not sure if this is a MX-Unit issue or a ColdSpring one...

Here is the error message I get when I attempt to run a test using the MX-Unit plugin within eclipse.
The error message specifically mentions "singleton" - thus I am here!

coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.UndefinedElementException : 
Element SINGLETON.INSTANCE is undefined in a Java object of type class coldfusion.runtime.AttributeCollection referenced as ''. ]

As always - thanks!


Gavin Baumanis

Aug 4, 2013, 10:44:39 AM8/4/13
Hi everyone,

The short answer is - that despite having a mapping for /coldspring in my Application.cfc file;
I needed to add a /coldspring mapping, via the CFIDE interface.

My initial error has subsided.
I was also getting another error in my tests - but I kept them from the original message - because I just wanted to concentrate on the one issue.

I'll start a new thread about the outstanding issue that I am still facing.

Reply all
Reply to author
0 new messages