The value of filename is not the problem, if I remove the init and dump the
class out its not what I should expect, well at least I think its not what I
should expect anyway.

Error message is as follows:

Object Instantiation Exception.  
An exception occurred when instantiating a java object. The cause of this
exception was that: .  




Regards
Andrew Scott
Analyst Programmer

CMS Transport Systems
Level 2/33 Bank Street
South Melbourne, Victoria, 3205

Phone: 03 9699 7988  -  Fax: 03 9699 7976

Quote:
IBM: Infernal Blue Machines
----------------------------------------------------------------------------
--------------------------
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Harris
Sent: Monday, 28 November 2005 11:27 AM
To: CFAussie Mailing List
Subject: [cfaussie] RE: Java and CF

Could you let us know the value of "filename", and what the error is (if
any)?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Scott
Sent: Monday, 28 November 2005 1:02 p.m.
To: CFAussie Mailing List
Subject: [cfaussie] Java and CF



Has anyone come across why this line of code would not work in CFmx6.1?

<cfset fr = CreateObject('java','java.io.FileReader').init( filename )
/>

Regards
Andrew Scott
Analyst Programmer

CMS Transport Systems
Level 2/33 Bank Street
South Melbourne, Victoria, 3205

Phone: 03 9699 7988  -  Fax: 03 9699 7976

Quote:
Dilbert's Words of Wisdom: Accept that some days you're the pigeon, and
some days you're the statue.



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To
unsubscribe send a blank email to
[EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

This email contains confidential information. If you are not the intended
recipient of this email, please notify Straker Interactive and delete the
email. You are not entitled to use it in any way.


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/




---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to