hi4all

NSMutableArray<NSData> currentArtistID = (NSMutableArray<NSData>)
validArtistsIDs.valueForKey("CURRENT_ARTIST_ID");

byte[] bytes = currentArtistID.get(i).bytes(); << there get an exception

if i write

int concreteCurrentArtistID = new Integer(new
String(currentArtistID.get(i).bytes()));

i get the same exception:

ClassCastException: java.lang.Long cannot be cast to
com.webobjects.foundation.NSData
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to