Copy link to clipboard
Copied
Can someone please help me with the following error. I do not get the error on my development PC only when I visit the live site.
An exception occurred when instantiating a Java object. The class must not be an interface or an abstract class. Error: ''. | |
The error occurred in D:\home\mymobisaver.com\wwwroot\iPod.cfm: line 78 76 : <cfset var loaded = false /> 77 : <cfset var stormBase = createObject("java", "ice.storm.StormBase") /> 78 : <cfset var frame = createObject("java", "javax.swing.JFrame").init("Web Viewer") /> 79 : <cfset var htmlPanel = createObject("java", "javax.swing.JPanel").init() /> 80 : <cfset var startTime = "" /> | |
Copy link to clipboard
Copied
javax.swing.JFrame
I have to ask, why are you trying to create a JFrame .. on the server?
Copy link to clipboard
Copied
The code as a whole creates a web page in the background then displays it as a picture to the user. The user can then save the image.
Copy link to clipboard
Copied
Maybe if you post the link one more time it will start working.
Oh boy. If this link is still repeatedly showing up in my inbox hours from now ... I am going to track you down 😛
Copy link to clipboard
Copied
[multiple spam posts removed]
Copy link to clipboard
Copied
Warning! Warning. Will Robinson.
Copy link to clipboard
Copied
Someone must have hacked my account. I'm not sure who is posting those links under my name. Sorry for all the confusion.
Copy link to clipboard
Copied
Here is the link to the code if it help you out.
http://cfsilence.com/blog/client/index.cfm/2008/4/5/More-Thoughts-on-HTML-To-Image-Plus-Code
Thanks for any help
Copy link to clipboard
Copied
Regarding the error, you need to post the stack trace.
Interesting entry. I have not tried it, but what made you select this approach over the other ie using cfdocument?
http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnails
-Leigh