• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: illegal argument error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: illegal argument error


  • Subject: Re: illegal argument error
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 13 Jan 2003 15:57:15 -0800
  • Organization: Global Village Consulting, Inc.

Any chance you have connected this (via a binding) to the path of the uploaded file? If that does not show anything, add this method to TbJobPicture:

public void setPicThumbnail(String aString)
{
   NSLog.out.appendln("String passed to setPicThumbnail(String) " + aString);
}

It won't fix the error but you can see the contents of the String causing the error and it might point out what you have connected incorrectly.


Chuck


Jonathan Fleming wrote:

Can anybody tell me what would most likey be causing this? I've looked and torn my classes apart and can not find the problem

Error: java.lang.IllegalArgumentException
Reason: While trying to invoke the set method "public void TbJobPicture.setPicThumbnail(com.webobjects.foundation.NSData)" on an object of type TbJobPicture we received an argument of type java.lang.String. This often happens if you forget to use a formatter.


Regards
Jonathan

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
_______________________________________________
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.


--

Chuck Hill  -  Village Idiot               email@hidden
Global Village Consulting Inc.             http://www.global-village.net
_______________________________________________
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.

References: 
 >illegal argument error (From: "Jonathan Fleming" <email@hidden>)

  • Prev by Date: Re: Custom ORDER BY
  • Next by Date: Re: FileUpload Component Query
  • Previous by thread: illegal argument error
  • Next by thread: Re: illegal argument error
  • Index(es):
    • Date
    • Thread