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

Notification

Icon
Error

Options
Go to last post Go to first unread
theboogster  
#1 Posted : Thursday, June 15, 2006 4:41:30 PM(UTC)
theboogster

Rank: Member

Groups: Member
Joined: 6/15/2006(UTC)
Posts: 13

I have followed one of the samples provided for a jsp environment. I have a jsp page which includes the image uploader applet. When I type in the direct link to the page in my browser, the applet loads fine and works great. However, if I forward from another page, I get the following loading error. In our website, we need the user to fill out some information and then forward them onto a page where they can upload some photos. Any ideas why this might be happening? Thanks a lot.

Code:
load: class com.aurigma.imageuploader.ImageUploader.class not found.
java.lang.ClassNotFoundException: com.aurigma.imageuploader.ImageUploader.class
	at sun.applet.AppletClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.applet.AppletClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.applet.AppletClassLoader.loadCode(Unknown Source)
	at sun.applet.AppletPanel.createApplet(Unknown Source)
	at sun.plugin.AppletViewer.createApplet(Unknown Source)
	at sun.applet.AppletPanel.runLoader(Unknown Source)
	at sun.applet.AppletPanel.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
	at sun.applet.AppletClassLoader.getBytes(Unknown Source)
	at sun.applet.AppletClassLoader.access$100(Unknown Source)
	at sun.applet.AppletClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	... 10 more
Exception in thread "Thread-16118" java.lang.NullPointerException
	at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
	at sun.plugin.AppletViewer.showAppletException(Unknown Source)
	at sun.applet.AppletPanel.runLoader(Unknown Source)
	at sun.applet.AppletPanel.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
	at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
	at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
	at sun.applet.AppletPanel.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Exception in thread "thread applet-com.aurigma.imageuploader.ImageUploader.class" java.lang.NullPointerException
	at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
	at sun.plugin.AppletViewer.showAppletException(Unknown Source)
	at sun.applet.AppletPanel.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Edited by user Wednesday, December 19, 2007 4:18:27 PM(UTC)  | Reason: Not specified

Fedor  
#2 Posted : Thursday, June 15, 2006 7:47:29 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,530

Thanks: 4 times
Was thanked: 53 time(s) in 52 post(s)
Hello,

Which exact sample do you use?

What is your browser and Java version?

Can you post the url to page with Image Uploader?
Best regards,
Fedor Skvortsov
theboogster  
#3 Posted : Friday, June 16, 2006 3:17:12 AM(UTC)
theboogster

Rank: Member

Groups: Member
Joined: 6/15/2006(UTC)
Posts: 13

I'm using the jsp-apache example. I've tried this in both Mozilla and Internet Explorer. I also have the most recent version of Java installed. Unfortunately, I cannot post the url to the image uploader because we are still in testing phases and running on a local machine.

Like I said, if I go directly to the URL, the image uploader loads fine. However, if I forward on to that same page, I get the errors. Is there a check in the applet code to find out the referring address that might block this?
theboogster  
#4 Posted : Sunday, June 18, 2006 2:05:16 PM(UTC)
theboogster

Rank: Member

Groups: Member
Joined: 6/15/2006(UTC)
Posts: 13

Nevermind, fixed this. Thanks.
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.