Railo bugs

Since I wasn’t able to edit or add a page in Railo I did a merge with the latest development branch.
After that I could edit at least a sample page. If I try now to add a page I get the following dump.

Any ideas how to fix this?

Thanks, Gunnar

Application Execution ExceptionError Type: org.hibernate.PropertyValueException : 0

Error Messages: not-null property references a null or transient value: cbPage.title

Array
1
Struct
codePrintHTML
string 734:
735: // save
736: entitySave(arguments.entity, arguments.forceInsert);
737:
738: // Auto Flush

codePrintPlain
string 734: 735: // save 736: entitySave(arguments.entity, arguments.forceInsert); 737: 738: // Auto Flush

column
number 0

id
string ??

line
number 736

raw_trace
string system.orm.hibernate.baseormservice_cfc$cf._4(C:\inetpub\wwwroot\contentbox\coldbox\system\orm\hibernate\BaseORMService.cfc:736)

template
string C:\inetpub\wwwroot\contentbox\coldbox\system\orm\hibernate\BaseORMService.cfc

type
string cfml

2
Struct
codePrintHTML
string 722: return $transactioned(variables.$save, arguments);
723: }
724: return $save(argumentCollection=arguments);
725: }
726: any function $save(required any entity, boolean forceInsert=false, boolean flush=false){

codePrintPlain
string 722: return $transactioned(variables.$save, arguments); 723: } 724: return $save(argumentCollection=arguments); 725: } 726: any function $save(required any entity, boolean forceInsert=false, boolean flush=false){

column
number 0

id
string ??

line
number 724

raw_trace
string system.orm.hibernate.baseormservice_cfc$cf._4(C:\inetpub\wwwroot\contentbox\coldbox\system\orm\hibernate\BaseORMService.cfc:724)

template
string C:\inetpub\wwwroot\contentbox\coldbox\system\orm\hibernate\BaseORMService.cfc

type
string cfml

3
Struct
codePrintHTML
string 53: }
54: // Save the target page
55: save(entity=arguments.page,transactional=false);
56:
57: // Update all affected child pages if any on slug updates, much like nested set updates its nodes, we update our slugs

codePrintPlain
string 53: } 54: // Save the target page 55: save(entity=arguments.page,transactional=false); 56: 57: // Update all affected child pages if any on slug updates, much like nested set updates its nodes, we update our slugs

column
number 0

id
string ??

line
number 55

raw_trace
string model.content.pageservice_cfc$cf.udfCall(C:\inetpub\wwwroot\contentbox\modules\contentbox\model\content\PageService.cfc:55)

template
string C:\inetpub\wwwroot\contentbox\modules\contentbox\model\content\PageService.cfc

type
string cfml

4
Struct
codePrintHTML
string 38: <cfargument name="method" type="any" required="true" hint="The method to proxy execute"/>
39: <cfargument name="args" type="any" required="true" hint="The method args to proxy execute"/>
40: <cfreturn this.$wbAOPTargets[ arguments.method ].udfPointer(argumentCollection=arguments.args)>
41: </cffunction>
42:

codePrintPlain
string 38: 39: 40: <cfreturn this.$wbAOPTargets[ arguments.method ].udfPointer(argumentCollection=arguments.args)> 41: 42:

column
number 0

id
string ??

line
number 40

raw_trace
string system.aop.mixerutil_cfc$cf.udfCall(C:\inetpub\wwwroot\contentbox\coldbox\system\aop\MixerUtil.cfc:40)

template
string C:\inetpub\wwwroot\contentbox\coldbox\system\aop\MixerUtil.cfc

type
string cfml

5
Struct
codePrintHTML
string 137:
138: // If we get here all interceptors have fired and we need to fire the original proxied method
139: return instance.target.$wbAOPInvokeProxy(method=instance.method,args=instance.args);
140: </cfscript>
141: </cffunction>

codePrintPlain
string 137: 138: // If we get here all interceptors have fired and we need to fire the original proxied method 139: return instance.target.$wbAOPInvokeProxy(method=instance.method,args=instance.args); 140: 141:

column
number 0

id
string ??

line
number 139

raw_trace
string system.aop.methodinvocation_cfc$cf._2(C:\inetpub\wwwroot\contentbox\coldbox\system\aop\MethodInvocation.cfc:139)

template
string C:\inetpub\wwwroot\contentbox\coldbox\system\aop\MethodInvocation.cfc

type
string cfml

6
Struct
codePrintHTML
string 49: </cfif>
50: <!— Execute Transactioned method —>
51: <cfset refLocal.results = arguments.invocation.proceed()>
52: </cftransaction>
53:

codePrintPlain
string 49: 50: <!— Execute Transactioned method —> 51: 52: 53:

column
number 0

id
string ??

line
number 51

raw_trace
string system.aop.aspects.cftransaction_cfc$cf.udfCall(C:\inetpub\wwwroot\contentbox\coldbox\system\aop\aspects\CFTransaction.cfc:51)

template
string C:\inetpub\wwwroot\contentbox\coldbox\system\aop\aspects\CFTransaction.cfc

type
string cfml

7
Struct
codePrintHTML
string 133: // Check Current Index against interceptor length
134: if( instance.interceptorIndex LTE instance.interceptorLen ){
135: return instance.interceptors[ instance.interceptorIndex ].invokeMethod( this.incrementInterceptorIndex() );
136: }
137:

codePrintPlain
string 133: // Check Current Index against interceptor length 134: if( instance.interceptorIndex LTE instance.interceptorLen ){ 135: return instance.interceptors[ instance.interceptorIndex ].invokeMethod( this.incrementInterceptorIndex() ); 136: } 137:

column
number 0

id
string ??

line
number 135

raw_trace
string system.aop.methodinvocation_cfc$cf._2(C:\inetpub\wwwroot\contentbox\coldbox\system\aop\MethodInvocation.cfc:135)

template
string C:\inetpub\wwwroot\contentbox\coldbox\system\aop\MethodInvocation.cfc

type
string cfml

8
Struct
codePrintHTML
string

codePrintPlain
string

column
number 0

id
string ??

line
number 14

raw_trace
string system.aop.tmp._0bd656ca_6670_4bab_9514_50ba6281244b_cfm2970$cf.udfCall(C:\inetpub\wwwroot\contentbox\coldbox\system\aop\tmp\0bd656ca-6670-4bab-9514-50ba6281244b.cfm:14)

template
string C:\inetpub\wwwroot\contentbox\coldbox\system\aop\tmp\0bd656ca-6670-4bab-9514-50ba6281244b.cfm

type
string cfml

9
Struct
codePrintHTML
string 202:
203: // save entry
204: pageService.savePage( page, originalSlug );
205:
206: // announce event

codePrintPlain
string 202: 203: // save entry 204: pageService.savePage( page, originalSlug ); 205: 206: // announce event

column
number 0

id
string ??

line
number 204

raw_trace
string modules.contentbox_admin495.handlers.pages_cfc$cf._1(C:\inetpub\wwwroot\contentbox\modules\contentbox-admin\handlers\pages.cfc:204)

template
string C:\inetpub\wwwroot\contentbox\modules\contentbox-admin\handlers\pages.cfc

type
string cfml

10
Struct
codePrintHTML
string 737: method="#arguments.method#"
738: returnvariable="refLocal.results"
739: argumentcollection="#arguments.argCollection#">
740: </cfif>
741:

codePrintPlain
string 737: method="#arguments.method#" 738: returnvariable=“refLocal.results” 739: argumentcollection="#arguments.argCollection#"> 740: 741:

column
number 0

id
string ??

line
number 739

raw_trace
string system.web.controller_cfc$cf._6(C:\inetpub\wwwroot\contentbox\coldbox\system\web\Controller.cfc:739)

template
string C:\inetpub\wwwroot\contentbox\coldbox\system\web\Controller.cfc

type
string cfml

11
Struct
codePrintHTML
string 621: else{
622: // Normal execution
623: loc.results = invoker(oHandler, ehBean.getMethod(), loc.argsMain, arguments.private);
624: }
625: }

codePrintPlain
string 621: else{ 622: // Normal execution 623: loc.results = invoker(oHandler, ehBean.getMethod(), loc.argsMain, arguments.private); 624: } 625: }

column
number 0

id
string ??

line
number 623

raw_trace
string system.web.controller_cfc$cf._5(C:\inetpub\wwwroot\contentbox\coldbox\system\web\Controller.cfc:623)

template
string C:\inetpub\wwwroot\contentbox\coldbox\system\web\Controller.cfc

type
string cfml

12
Struct
codePrintHTML
string 234: <!— Run Default/Set Event not executing an event —>
235: <cfif NOT event.isNoExecution()>
236: <cfset refResults.results = cbController.runEvent(default=true)>
237: </cfif>
238:

codePrintPlain
string 234: <!— Run Default/Set Event not executing an event —> 235: <cfif NOT event.isNoExecution()> 236: <cfset refResults.results = cbController.runEvent(default=true)> 237: 238:

column
number 0

id
string ??

line
number 236

raw_trace
string coldbox.system.coldbox_cfc$cf._1(C:\inetpub\wwwroot\contentbox\coldbox\system\Coldbox.cfc:236)

template
string C:\inetpub\wwwroot\contentbox\coldbox\system\Coldbox.cfc

type
string cfml

13
Struct
codePrintHTML
string 100: //Process a ColdBox request only
101: if( findNoCase(‘index.cfm’,listLast(arguments.targetPage,"/")) ){
102: application.cbBootStrap.processColdBoxRequest();
103: }
104:

codePrintPlain
string 100: //Process a ColdBox request only 101: if( findNoCase(‘index.cfm’,listLast(arguments.targetPage,"/")) ){ 102: application.cbBootStrap.processColdBoxRequest(); 103: } 104:

column
number 0

id
string ??

line
number 102

raw_trace
string application_cfc$cf.udfCall(C:\inetpub\wwwroot\contentbox\Application.cfc:102)

template
string C:\inetpub\wwwroot\contentbox\Application.cfc

type
string cfml

Gunnar what version of Railo you using?

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano

Ok, I had 3.3.4.003 = latest stable, then I did an update to Bleeding Edge 3.3.5.002 which fixed the page creation bug!

Thanks!