Skip to main content
Inspiring
February 6, 2015
Question

ORM CFC Generator error

  • February 6, 2015
  • 6 replies
  • 2472 views

Hi

I'm trying to get Coldfusion Builder's ORM CFC Generator to build my cfcs but when I click the Generate button after setting my table relationships I get the following error:

Error : Event handler exception.. coldfusion.runtime.CfJspPage$ParameterNotFoundException: The required parameter SESSION.ORMTABLES was not provided.


I have an Application.cfc with sessionManagement=true, name is set, ormenabled is true and ormsettings specs a database.


What am I missing?


Thanks,


Rich

This topic has been closed for replies.

6 replies

Participating Frequently
April 20, 2017

I have the same problem with Element ORMTABLES​ when select generate ORM CFC , CF Builder 3

BKBK
Community Expert
Community Expert
February 8, 2015

richardELeach wrote:

Error : Event handler exception.. coldfusion.runtime.CfJspPage$ParameterNotFoundException: The required parameter SESSION.ORMTABLES was not provided.


A remark about the parameter SESSION.ORMTABLES. I unpacked the system file {CF_Builder3_HOME}\extensions\Adobe CFC Generator.zip and opened the file {CF_Builder3_HOME}\extensions\Adobe CFC Generator\handlers\ormCodeGenHandler.cfm in a text editor. It begins with the lines,

<cfparam name="form.data" >

<cfparam name="Session.ormTables">

<cfset sessionTables = Session.ormTables>

<cfset oldOrmSessionTables = sessionTables>

I wonder whether that is where your system crashes.

Inspiring
February 13, 2015

Does anyone have a link to the official Adobe Coldfusion Builder 3 docs? I can't seem to find version 3 docs, only 2 and 2.1....

Thanks,

Rich

BKBK
Community Expert
Community Expert
February 13, 2015

The documentation is within ColdFusion Builder itself. Navigate to the menu Help => Help Contents => ColdFusion Builder Help

BKBK
Community Expert
Community Expert
February 8, 2015

richardELeach wrote:

I have an Application.cfc with sessionManagement=true, name is set, ormenabled is true and ormsettings specs a database.

You seem to have a persistent custom Application.cfc in the directory where you wish to generate the CFCs. Could that be what complicates the matter?

When you click the Generate button, ColdFusion should, by default, generate a new Application.cfc. This new file, which has no setting for sessionManagement, should automatically overwrite the existing Application.cfc.

This suggests the following test. What if you temporarily rename the existing application file to _Application.cfc before pressing the Generate button?

Inspiring
February 8, 2015

... it still generates the same error. I renamed Application.cfc to _Application.cfc and ran the CFC Generator.  I even tried restarting the CF server and it still generated the same error.

I double checked the CF Servers panel and it reports that my server is running, and the Console reports "Server is available". There are no problems in the Problems panel.

Thanks,

Rich

BKBK
Community Expert
Community Expert
February 8, 2015

Thanks for reporting your findings back to the forum. Is there any stack trace for the error in the ColdFusion logs? What is your ColdFusion Builder version and build number?

Inspiring
February 6, 2015

... and this is why I'm leaving Coldfusion development:

Vaibhav: Hello! Welcome to Adobe.

Vaibhav: I have received your query. Please allow me a moment to verify your account and to review the details of your request.

Rich Leach: sure sounds good.

Vaibhav: Let me connect you to our Cold Fusion team.

Please wait while I transfer the chat to the appropriate group.

You are now chatting with 'Sandip'

Rich Leach: hi Sandip

Sandip: Is there anything else I may assist you with today?

Sandip: I am sorry

Sandip: Hi Rich.

Sandip: How are you doing?

Rich Leach: a little frustrated with this CF Builder 3 not working....

Sandip: Okay.

Sandip:

Sandip: Rich, could you please explain me the issue a bit more?

Rich Leach: what would you like to know?

Rich Leach: When I'm working in CFBuilder 3....

Rich Leach: I open the RDS dataview

Rich Leach: drill down into a database, then a table....

Rich Leach: and right click on a table I can select Create ORM CFC from the Adobe CFC Generator option.

Sandip: Please allow me a  moment.

Rich Leach: I see my tables in the utility and when I click the Generate button I get the error message:

Rich Leach: Error : Event handler exception.. coldfusion.runtime.CfJspPage$ParameterNotFoundException: The required parameter SESSION.ORMTABLES was not provided.

Sandip: Rich, do you have a support contract with Adobe?

Rich Leach: No, I just purchased CFBuilder 3 a few weeks ago

Sandip: Rich, we would need a support contract for this issue.

Rich Leach: Why? The product is not working as you advertised it to

Sandip: That is because it is not an installation or a migration issue.

Rich Leach: But the application is throwing a low level server error, how can I be expected to fix it on my own without your help?

Sandip: We are here to assist you but for that we would need a support contract.

Rich Leach: I would like a refund please. How do I go about getting a refund?

Rich Leach: I'm just curious. CFBuilder 3 cost me about $300. How much would you charge me for a support contract?

Sandip: Rich, this is not an installation, migration or connector issue and support on this issues are free of cost but for ORM issue we would need a support contract.

Sandip: You can go for a single incident contract which be around $249 + tax which would be on a best support basis.

Rich Leach: The product only cost $299. Are you seeing the problem here? And you do understand I'm not asking for Coldfusion support, I'm asking for support with Coldfusion Builder 3. Do you understand?

Sandip: Yes, I do understand but this is the only way to go forward. I am sorry.

Rich Leach: I'm sorry too. Thanks for your help.

Sandip: Is there anything else I may assist you with today?

Rich Leach: How about that refund? How do I get a refund?

Your chat transcript will be sent to RICH@nnn.COM at the end of your chat.

Sandip: Could you please let me know the order id?

Rich Leach: I'll have to look it up, give me a second....

Sandip: Sure.

Rich Leach: My order id is AD0nnnn

Sandip: Please allow me a moment to check.

Sandip: Rich I see that you have bought the product on 07/08/2014, am I right/

Rich Leach: Yes, for $109 (I forgot I got the upgrade). I can't justify paying over twice as much for a support contract

Sandip: Rich, refund for an order can only be processed within 30 days of purchase.

Rich Leach: ok thank you for your help.

Inspiring
February 7, 2015

Hi Rich,

Please contact at  cfinstal<at>adobe.com  for this error, you would get assistance there without support contract.

Regards,

Kaif

Inspiring
February 6, 2015

I also tried uninstalling and reinstalling the extension and that didn't help....

Inspiring
February 6, 2015

I tried using the CFC ORM Generator in another site, with another database and I'm still getting the same error.

Thanks,

Rich