Re: [OT] Weird Boolean/ Wrapper class bug
Re: [OT] Weird Boolean/ Wrapper class bug
- Subject: Re: [OT] Weird Boolean/ Wrapper class bug
- From: Q <email@hidden>
- Date: Sun, 22 Nov 2009 13:00:01 +1000
On 22/11/2009, at 12:44 PM, Shravan Kumar. M wrote: Thanks for your example and analysis Mike. When I run your example from a simple file over command-line everything is fine and when I put this code this Application.java, even then its fine...
This is why it's important to include the EXACT source that causes the error, not something that looks close enough. But the error happens from a EO class and when I debug and test this code snippet in Display view, same error is shown there... so, the problem is getting more interesting and fuzzy. One thing I can surely say, error is inconsistent and is reproducible.
If so, the error is more than likely in your EO, probably the method call that you didn't show us is returning a boolean instead of a Boolean
Something like this in your EO could cause this:
private Boolean _blah;
public boolean blah() { return _blah; }
-- Seeya...Q
Quinton Dolan - email@hidden Gold Coast, QLD, Australia (GMT+10)
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden