Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Object Instantiation Exception

New Here ,
Dec 05, 2011 Dec 05, 2011

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
Called from D:\home\mymobisaver.com\wwwroot\iPod.cfm: line 145
Called from D:\home\mymobisaver.com\wwwroot\iPod.cfm: line 78
Called from D:\home\mymobisaver.com\wwwroot\iPod.cfm: line 145

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 = "" />

1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Dec 05, 2011 Dec 05, 2011

javax.swing.JFrame

I have to ask, why are you trying to create a JFrame .. on the server?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 05, 2011 Dec 05, 2011

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Dec 05, 2011 Dec 05, 2011

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 😛

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 05, 2011 Dec 05, 2011

[multiple spam posts removed]

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Dec 05, 2011 Dec 05, 2011

Warning! Warning. Will Robinson.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 05, 2011 Dec 05, 2011

Someone must have hacked my account.  I'm not sure who is posting those links under my name.  Sorry for all the confusion.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 05, 2011 Dec 05, 2011

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Dec 05, 2011 Dec 05, 2011
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources