You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2007/10/22 08:48:28 UTC

T5: Tapestry-upload and Safari

Hi,

It's common to fail in file uploading in Safari, however it seems the
failing depends on the web page, I tried Tapestry-upload, it works with
Firefox/Opera, but cause an exception in Safari, upgrading to Safari 3 does
not solve the problem:

org.apache.tapestry.ioc.internal.util.TapestryException
	at org.apache.tapestry.corelib.components.Form.onAction(Form.java:375)
	at
org.apache.tapestry.corelib.components.Form.handleComponentEvent(Form.java)
	<-- snipped -->	
.run(ThreadPool.java:685)
	at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.NullPointerException
	at
org.apache.tapestry.internal.util.Base64InputStream.decode(Base64InputStream.java:34)
	at
org.apache.tapestry.internal.util.Base64InputStream.<init>(Base64InputStream.java:29)
	at
org.apache.tapestry.internal.util.Base64ObjectInputStream.<init>(Base64ObjectInputStream.java:30)
	at org.apache.tapestry.corelib.components.Form.onAction(Form.java:355)
	... 45 more

It seems that nothing was submitted, here is a post that talk about this
problem and a solution in PHP, is there a chance T5 can have a solution to
this as well?

http://www.neurofuzzy.net/2006/07/09/safari-and-php-file-uploads-solved/
-- 
View this message in context: http://www.nabble.com/T5%3A-Tapestry-upload-and-Safari-tf4669006.html#a13337650
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org