Re: 5.2.3 Boolean Bugs?????
Re: 5.2.3 Boolean Bugs?????
- Subject: Re: 5.2.3 Boolean Bugs?????
- From: james o <email@hidden>
- Date: Fri, 19 Mar 2004 10:57:02 -0500
not sure what i should model my boolean columns in 5.2.3? i'm using
XCode and OpenBase v8.x and now i can't run any project that uses a
boolean. i have bound my booleans directly to attributes in my
components.
my previous EOModeler attributes for boolean columns :
Value Class (Obj-C) : NSNumber
External Type : boolean
Value Class (Java) : Number
Value Type : i
OpenBase column :
type : boolean
Exception:
[2004-03-19 10:37:52 EST] <WorkerThread1>
<com.webobjects.appserver._private.WOComponentRequestHandler>:
Exception occurred while handling request:
java.lang.ClassCastException
[2004-03-19 10:37:52 EST] <WorkerThread1> java.lang.ClassCastException
at PageTextJoin.lineBreaks(PageTextJoin.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingProtectedAcces
sor.java:54)
at
com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(
NSKeyValueCoding.java:1160)
at
com.webobjects.eocontrol.EOCustomObject.valueForKey(EOCustomObject.java:
1559)
at
com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValu
eCoding.java:498)
at
com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementatio
n.valueForKeyPath(NSKeyValueCodingAdditions.java:212)
at
com.webobjects.eocontrol.EOCustomObject.valueForKeyPath(EOCustomObject.j
ava:1675)
at
com.webobjects.foundation.NSKeyValueCodingAdditions$Utility.valueForKeyP
ath(NSKeyValueCodingAdditions.java:149)
at
com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementatio
n.valueForKeyPath(NSKeyValueCodingAdditions.java:217)
thanks for any thoughts,
./james
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.