Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
pp  
#1 Posted : Friday, September 22, 2006 2:24:46 AM(UTC)
pp

Rank: Member

Groups: Member
Joined: 9/22/2006(UTC)
Posts: 5

the java uploader crashes out when a second ImageUploader.Send() method call is made, under windows XP with java 1.5.0_7, Same errors in IE and Firefox.

ImageUploader version: 2.0.50

Here is java console output:
Code:
Java Plug-in 1.5.0_07
Using JRE version 1.5.0_07 Java HotSpot(TM) Client VM

Exception occured
-----
Exception class: class java.security.AccessControlException
-----
access denied (java.lang.RuntimePermission preferences)
-----
java.security.AccessControlException: access denied (java.lang.RuntimePermission preferences)
	at java.security.AccessControlContext.checkPermission(Unknown Source)
	at java.security.AccessController.checkPermission(Unknown Source)
	at java.lang.SecurityManager.checkPermission(Unknown Source)
	at java.util.prefs.Preferences.userRoot(Unknown Source)
	at java.util.prefs.Preferences.userNodeForPackage(Unknown Source)
	at com.aurigma.imageuploader.tools.a.c(Unknown Source)
	at com.aurigma.imageuploader.tools.a.d(Unknown Source)
	at com.aurigma.imageuploader.upload.b.a(Unknown Source)
	at com.aurigma.imageuploader.upload.b.b(Unknown Source)
	at com.aurigma.imageuploader.upload.b.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)


the javascript within the progress-watching function is literally:
Code:

		var iu=getImageUploader("ImageUploader");
   if (Status=="COMPLETE")
	{
		if (document.forms[0].kicked.value==2)
		{
			pcBarText.style.display = 'none';
			alert("Finished initial upload, starting secondary upload");
			iu.Send();
		}
	}


There is no "this is for evaluation only" popup before the crash.

Hugh

Edited by user Tuesday, February 19, 2008 2:44:36 PM(UTC)  | Reason: Not specified

pp  
#2 Posted : Friday, September 22, 2006 3:21:41 AM(UTC)
pp

Rank: Member

Groups: Member
Joined: 9/22/2006(UTC)
Posts: 5

Followup:

--
I've sort-of fixed it by using a delay of 1s (using javascript setTimeOut()) before requesting the ImageUploader.Send() - that seems to make it happy, and so am I, but it would be better if it was fixed "fully", I guess!

H
Alex Makhov  
#3 Posted : Monday, September 25, 2006 6:15:31 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

We have added this problem to our bug tracking system. The fix will be available in one of the future releases. Thank you for the bug report.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
Alex Makhov  
#4 Posted : Wednesday, October 04, 2006 2:35:13 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

We have found a workaround for this issue. You have to use the JavaScript setTimeout function as shown below:
Code:
function ImageUploader_Progress(Status, Progress, ValueMax, Value, StatusText){
…
setTimeout("getImageUploader('ImageUploader1').Send();", 1000, "JavaScript");
…
}

Edited by user Tuesday, February 19, 2008 2:44:23 PM(UTC)  | Reason: Not specified

Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.