Title:
Bug 79529:[JFERNANDES] When Hibernate parser finds an CFML parsing error, it should point in which file it occured even if it's not a persistent CFC
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): João Fernandes / João Fernandes (Joao Fernandes)
Created: 08/21/2009
Components: ORM Support
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 0
Problem:
[JFERNANDES] When Hibernate parser finds an CFML parsing error, it should point in which file it occured even if it's not a persistent CFC.The provided stacktrace is what I got from a malformed cfc. The message wasn't clear where the problem was.Workaround? I should be more careful and not create malformed cfcs
Method:
enable ormcreate some persistent cfccreate a regular cfc which is malformedrun a templateyou'll see the stacktrace in the logs
Result:
"Error","jrpp-1","08/20/09","15:18:12",,"Invalid token / found on line 16 at column 10."2 coldfusion.compiler.TokenMgrError: Invalid token / found on line 16 at column 10.3 at coldfusion.compiler.cfml40TokenManager.getNextToken(cfml40TokenManager.java:6641)4 at coldfusion.compiler.cfml40.getToken(cfml40.java:11822)5 at coldfusion.compiler.CFMLParserBase.jjtreeOpenNodeScope(CFMLParserBase.java:888)6 at coldfusion.compiler.cfml40.attribute_list_aux(cfml40.java:4814)7 at coldfusion.compiler.cfml40.attribute_list(cfml40.java:4804)8 at coldfusion.compiler.cfml40.cftag(cfml40.java:224)9 at coldfusion.compiler.cfml40.cfml(cfml40.java:4238)10 at coldfusion.compiler.cfml40.cffunction(cfml40.java:3593)11 at coldfusion.compiler.cfml40.cfml(cfml40.java:4224)12 at coldfusion.compiler.cfml40.start(cfml40.java:4525)13 at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:667)14 at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:648)15 at coldfusion.compiler.NeoTranslator.parseAndTransform(NeoTranslator.java:401)16 at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:343)17 at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:144)18 at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:418)19 at coldfusion.util.LruCache.get(LruCache.java:180)20 at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:362)21 at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)22 at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133)23 at coldfusion.util.SoftCache.get(SoftCache.java:81)24 at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:591)25 at coldfusion.runtime.MetadataUtils.getBasicComponentMetadata(MetadataUtils.java:167)26 at coldfusion.orm.mapping.CFPropertyBinder.<init>(CFPropertyBinder.java:110)27 at coldfusion.orm.hibernate.HibernateConfiguration.generateHbmDocFromCFCs(HibernateConfiguration.java:746)28 at coldfusion.orm.hibernate.HibernateConfiguration.buildConfiguration(HibernateConfiguration.java:511)29 at coldfusion.orm.hibernate.HibernateConfiguration.initHibernateConfiguration(HibernateConfiguration.java:180)30 at coldfusion.orm.hibernate.HibernateConfiguration.<init>(HibernateConfiguration.java:141)31 at coldfusion.orm.hibernate.ConfigurationManager.initConfiguration(ConfigurationManager.java:69)32 at coldfusion.orm.hibernate.HibernateProvider.InitializeORMForApplication(HibernateProvider.java:168)33 at coldfusion.orm.hibernate.HibernateProvider.reloadORMForApplication(HibernateProvider.java:192)34 at coldfusion.orm.ORMUtils.reloadORM(ORMUtils.java:312)35 at coldfusion.runtime.CFPage.ORMReload(CFPage.java:7819)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3039733
External Customer Info:
External Company:
External Customer Name: João Fernandes
External Customer Email: 4E9A42C244586146992015D5
External Test Config: 08/21/2009
Attachments:
Comments: