[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-3784) Can't generate <any> (any.hbm.ftl doesn't exist)

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Tue Feb 17 04:17:44 EST 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Geraskov updated JBIDE-3784:
-----------------------------------

    Summary: Can't generate <any> (any.hbm.ftl doesn't exist)  (was: Can't generate <any> (any.hbm.ftl desn't exist))


> Can't generate <any> (any.hbm.ftl doesn't exist)
> ------------------------------------------------
>
>                 Key: JBIDE-3784
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3784
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: Hibernate
>    Affects Versions: 3.0.0.CR2
>            Reporter: Dmitry Geraskov
>            Assignee: Dmitry Geraskov
>             Fix For: 3.1.0
>
>
> Error reading included file hbm/any.hbm.ftl
> The problematic instruction:
> ----------
> ==> include "${c2h.getTag(property)}.hbm.ftl" [on line 94, column 1 in hbm/persistentclass.hbm.ftl]
>  in include "persistentclass.hbm.ftl" [on line 34, column 1 in hbm/hibernate-mapping.hbm.ftl]
> ----------
> Java backtrace for programmers:
> ----------
> freemarker.template.TemplateException: Error reading included file hbm/any.hbm.ftl
> 	at freemarker.core.Include.accept(Include.java:153)
> 	at freemarker.core.Environment.visit(Environment.java:196)
> 	at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
> 	at freemarker.core.Environment.visit(Environment.java:196)
> 	at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
> 	at freemarker.core.Environment.visit(Environment.java:196)
> 	at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
> 	at freemarker.core.Environment.visit(Environment.java:351)
> 	at freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
> 	at freemarker.core.Environment.visit(Environment.java:196)
> 	at freemarker.core.MixedContent.accept(MixedContent.java:92)
> 	at freemarker.core.Environment.visit(Environment.java:196)
> 	at freemarker.core.Environment.include(Environment.java:1375)
> 	at freemarker.core.Include.accept(Include.java:155)
> 	at freemarker.core.Environment.visit(Environment.java:196)
> 	at freemarker.core.MixedContent.accept(MixedContent.java:92)
> 	at freemarker.core.Environment.visit(Environment.java:196)
> 	at freemarker.core.Environment.process(Environment.java:176)
> 	at freemarker.template.Template.process(Template.java:232)
> 	at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:255)
> 	at org.hibernate.tool.hbm2x.TemplateProducer.produceToString(TemplateProducer.java:67)
> 	at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:28)
> 	at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:103)
> 	at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericExporter.java:148)
> 	at org.hibernate.tool.hbm2x.GenericExporter.exportPersistentClass(GenericExporter.java:137)
> 	at org.hibernate.tool.hbm2x.GenericExporter$2.process(GenericExporter.java:43)
> 	at org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExporter.java:128)
> 	at org.hibernate.tool.hbm2x.HibernateMappingExporter.doStart(HibernateMappingExporter.java:34)
> 	at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:95)
> 	at org.hibernate.eclipse.console.test.mappingproject.HbmExportExceptionTest.testHbmExportExceptionTest(HbmExportExceptionTest.java:52)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:164)
> 	at junit.framework.TestCase.runBare(TestCase.java:130)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:120)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:230)
> 	at junit.framework.TestSuite.run(TestSuite.java:225)
> 	at org.hibernate.eclipse.console.test.mappingproject.HibernateAllMappingTests.testEachPackWithTestSet(HibernateAllMappingTests.java:193)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:164)
> 	at junit.framework.TestCase.runBare(TestCase.java:130)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:120)
> 	at org.hibernate.eclipse.console.test.mappingproject.HibernateAllMappingTests.run(HibernateAllMappingTests.java:90)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:230)
> 	at junit.framework.TestSuite.run(TestSuite.java:225)
> 	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
> 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
> 	at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:62)
> 	at org.eclipse.pde.internal.junit.runtime.UITestApplication$1.run(UITestApplication.java:114)
> 	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> 	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
> 	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.pde.internal.junit.runtime.UITestApplication.start(UITestApplication.java:46)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> Caused by: java.io.FileNotFoundException: Template hbm/any.hbm.ftl not found.
> 	at freemarker.template.Configuration.getTemplate(Configuration.java:489)
> 	at freemarker.core.Environment.getTemplateForInclusion(Environment.java:1357)
> 	at freemarker.core.Include.accept(Include.java:143)
> 	... 88 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list