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

iText + Migrating from CFMX 6 to CFMX 7

Explorer ,
May 09, 2007 May 09, 2007

Copy link to clipboard

Copied

Developers,

I have a standalone development box with CFMX 6 and the latest version of iText installed. I have successfully been able to merge multiple files of all shapes and sizes as well as add watermarks. However, I have yet to try this on a server at the worksite. After talking with an experienced developer who is partially in charge of the company server, he informed that CFMX 7 has a version of iText installed and it should work fine with the merging. I found out that I am scheduled to be migrated to CFMX 7 this month, so I went ahead and threw all the working code on the new Windows 2003 - CFMX 7 development server and began testing.

I am now receiving an error: Object Instantiation Exception. Object Instantiation Exception.
An exception occurred when instantiating a java object. The cause of this exception was that: .

I have done lots of searching online and I've seen others with this problem, but none of the solutions resolve my issue. I'm pretty sure our server admins have not updated with the latest jar for iText, so it should be the standard version for CFMX 7.0.2.

Here is my code (which worked on my development box for CFMX 6):

I do work for a large company, which may have enabled/disabled some functions/features. If no one sees any problems with my code, then I'll investigate that route. Thanks ahead for your assistance.

TOPICS
Advanced techniques

Views

419

Translate

Translate

Report

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
Guide ,
May 09, 2007 May 09, 2007

Copy link to clipboard

Copied

Did you already read this thread? Its long but has a lot of good information
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=7&threadid=1114635

> I am now receiving an error: Object Instantiation Exception. Object Instantiation Exception.
> An exception occurred when instantiating a java object. The cause of this exception was that: .

Look at the stack trace. What line/statement is the error occuring on?



Votes

Translate

Translate

Report

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
LEGEND ,
May 09, 2007 May 09, 2007

Copy link to clipboard

Copied

LATEST
Lumpia wrote:
> I am now receiving an error: Object Instantiation Exception. Object
> Instantiation Exception.

which line?

as i say in near the end of that thread, i found some PDF's that code wouldn't
handle correctly using the version of iText that powers cfdocument. since you
probably want cfdocument to still function, you should consider using the latest
versions of iText along w/mark mandle's javaloader CFC.

Votes

Translate

Translate

Report

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
Documentation