variable [BEAN] doesn't exist

6 views
Skip to first unread message

Chris Blackwell

unread,
Jan 21, 2012, 4:17:41 PM1/21/12
to coldspring-users
I've just spent much longer than I will ever admit too scratching my head over the error "variable [BEAN] doesn't exist"
I even wrote a simple test case and a long email to the group.

Any way the problem was I missed a "return this;" from the end of my init method.
I thought I'd share my shame in case someone searched the group for this problem in the future and save them the embarrassment,

That's what I get for coding when i should be drinking!

Chris

Mark Drew

unread,
Jan 21, 2012, 4:23:17 PM1/21/12
to coldspri...@googlegroups.com
Been there, forgot to return, spent hours debugging too. 

I admit my failure too. 

MD
Sent from one of my many iDevices
--
You received this message because you are subscribed to the Google Groups "ColdSpring-Users" group.
To post to this group, send email to coldspri...@googlegroups.com.
To unsubscribe from this group, send email to coldspring-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/coldspring-users?hl=en.

Robert Rawlins

unread,
Jan 22, 2012, 4:43:01 AM1/22/12
to coldspri...@googlegroups.com
Ah this is just the sort of thing I do all the time.

Could the framework not throw a more helpful exception in this case?

Sent from my iPhone

Jochem van Dieten

unread,
Jan 22, 2012, 8:35:27 AM1/22/12
to coldspri...@googlegroups.com
On Sun, Jan 22, 2012 at 10:43 AM, Robert Rawlins wrote:
> Ah this is just the sort of thing I do all the time.
>
> Could the framework not throw a more helpful exception in this case?

Isn't that what the returntype of your init is for?

Jochem

--
Jochem van Dieten
http://jochem.vandieten.net/

Reply all
Reply to author
Forward
0 new messages