• 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: Browser refresh issue on File Upload...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Browser refresh issue on File Upload...


  • Subject: Re: Browser refresh issue on File Upload...
  • From: Mike Schrag <email@hidden>
  • Date: Sat, 24 Feb 2007 14:00:17 -0500

I believe this exception is actually misleading -- the same thing happens with that UTF8+FileUpload bug. I suspect this is related to the multipart iterator already having consumed the request parts, and it ends up in a weird path in WOFileUpload component that gives this confusing error message. This is just a theory, but I know this exact message occurs under similar circumstances.

ms

On Feb 24, 2007, at 12:49 PM, Chuck Hill wrote:

Do you have overwrite set on the the file upload? It may be getting an error as the previously uploaded file can be overwritten. You could move it out of the way / delete it after processing the upload. Or you could set a flag when you process the upload. Check this flag in takeValues... and if it is set, do NOT call super.

Chuck


On Feb 24, 2007, at 7:32 AM, James Cicenia wrote:

Hello -

I have various file upload pages that work perfectly.... however,

If some hits refresh on their browser after uploading a file it gives them this exception:



[2007-02-24 09:30:17 CST] <WorkerThread14> java.lang.RuntimeException: Could not create output stream. 'outputStream', or 'streamToFilePath' may have evaluated to null. No Upload performed.



Is there a way to trap for this ?


- James Cicenia

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com


This email sent to email@hidden


_______________________________________________
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


  • Follow-Ups:
    • Re: Browser refresh issue on File Upload...
      • From: James Cicenia <email@hidden>
References: 
 >Browser refresh issue on File Upload... (From: James Cicenia <email@hidden>)
 >Re: Browser refresh issue on File Upload... (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: How-tos: Eclipse + WO
  • Next by Date: Re: Browser refresh issue on File Upload...
  • Previous by thread: Re: Browser refresh issue on File Upload...
  • Next by thread: Re: Browser refresh issue on File Upload...
  • Index(es):
    • Date
    • Thread