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

Notification

Icon
Error

Options
Go to last post Go to first unread
PhilippFeigl  
#1 Posted : Monday, September 25, 2006 6:10:15 PM(UTC)
PhilippFeigl

Rank: Member

Groups: Member
Joined: 10/20/2005(UTC)
Posts: 12

Hi,

We are using the the Java based ImageUploader in Version 1.1.101
We are getting reproduceable the following exception:
Code:
Exception class: class java.security.AccessControlException
-----
access denied (java.lang.RuntimePermission createClassLoader)
-----
java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)
	at java.security.AccessControlContext.checkPermission(Unknown Source)
	at java.security.AccessController.checkPermission(Unknown Source)
	at java.lang.SecurityManager.checkPermission(Unknown Source)
	at java.lang.SecurityManager.checkCreateClassLoader(Unknown Source)
	at java.lang.ClassLoader.<init>(Unknown Source)
	at com.aurigma.imageuploader.upload.a.<init>(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)


It happens, when you Upload images (which seems to work the first time) and than upload images in the same browser session a second time.

I'm not sure, whether we are doing anything wrong, or whether the imageuploader is failing itself.

We have been migrating from an older Version of Image Uploader recently. The old version did not have this problem ! This is causing impressive customer support on our side, but we can not go back to the old version, because the old version is no longer signed !

Any help would be very much appreciated, because we have no more ideas, how to sort this problem out :(

Thanks,
Philipp Feigl

p.s. This exception is thrown, if you have non images with the extension .jpg in one of your folders.
This is no real problem, as it does not seem to influenced the image uploader at all, just you get the exception inside your java log.
Code:
sun.awt.image.ImageFormatException: Unsupported JPEG process: SOF type 0xc3
	at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
	at sun.awt.image.JPEGImageDecoder.produceImage(Unknown Source)
	at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
	at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
	at sun.awt.image.ImageFetcher.run(Unknown Source)

Edited by user Wednesday, December 19, 2007 3:48:57 AM(UTC)  | Reason: Not specified

Alex Makhov  
#2 Posted : Monday, September 25, 2006 7:40:44 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello,

Here is the link to the similar topic:
http://www.aurigma.com/Forums/Topic4708-12-1.aspx
We would like to get the code of the page where the problem occurs. You could send it by PM if you want.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
PhilippFeigl  
#3 Posted : Tuesday, October 03, 2006 5:40:31 PM(UTC)
PhilippFeigl

Rank: Member

Groups: Member
Joined: 10/20/2005(UTC)
Posts: 12

Hello Alex,

thanks for your response.
We will try to prepare a basic example, where the error is reproduceable.

As you stated inside the other post, this problem will be added to your Bugtracking system. So, is there a estimate, when we can reckon a fix for this issue ?

Thanks again,
Philipp Feigl
Alex Makhov  
#4 Posted : Wednesday, October 04, 2006 2:34:47 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:43:39 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.