This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 145039 - [test] org.hibernate.tool.hbm2x.ExporterException: Error while processing Entity: test.Address with template hbm/hibernate-mapping.hbm.ftl
Summary: [test] org.hibernate.tool.hbm2x.ExporterException: Error while processing Ent...
Status: RESOLVED DUPLICATE of bug 140811
Alias: None
Product: javaee
Classification: Unclassified
Component: Hibernate (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vadiraj Deshpande
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-25 17:55 UTC by Jan Horvath
Modified: 2008-09-03 12:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 75751


Attachments
stacktrace (6.75 KB, text/plain)
2008-08-25 17:55 UTC, Jan Horvath
Details
stacktrace (6.76 KB, text/plain)
2008-08-26 01:16 UTC, gary002g
Details
stacktrace (6.77 KB, text/plain)
2008-08-26 06:55 UTC, varungovil
Details
stacktrace (6.76 KB, text/plain)
2008-08-30 04:21 UTC, jayanath
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Horvath 2008-08-25 17:55:10 UTC
Build: NetBeans IDE Dev (Build 200808250201)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-119, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05-237
OS: Mac OS X, 10.5.4, i386

User Comments: 
[web/hibernate]
steps:
-create web application, use hibernate framework, use sakila sample db
-add mysql jdbc driver library to the project
-run rev.eng. wizard, select all tables
-ERROR: this exception

Stacktrace: 
org.hibernate.tool.hbm2x.ExporterException: Error while processing Entity: test.Address with template hbm/hibernate-mapping.hbm.ftl
        at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:261)
        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)
Comment 1 Jan Horvath 2008-08-25 17:55:16 UTC
Created attachment 68262 [details]
stacktrace
Comment 2 gary002g 2008-08-26 01:16:28 UTC
Build: NetBeans IDE Dev (Build 200808220201)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-b02, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b02
OS: Windows XP, 5.1, x86

User Comments: 
Trying to create hbm file from the database

Stacktrace: 
org.hibernate.tool.hbm2x.ExporterException: Error while processing Entity: su2proxy.YsiUserInfo with template hbm/hibernate-mapping.hbm.ftl
        at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:261)
        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)
Comment 3 gary002g 2008-08-26 01:16:39 UTC
Created attachment 68290 [details]
stacktrace
Comment 4 varungovil 2008-08-26 06:54:56 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 1.5.0_11-b03, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_11-b03
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
org.hibernate.tool.hbm2x.ExporterException: Error while processing Entity: com.hibernate.Primarytable with template hbm/hibernate-mapping.hbm.ftl
        at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:261)
        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)
Comment 5 varungovil 2008-08-26 06:55:00 UTC
Created attachment 68302 [details]
stacktrace
Comment 6 Vadiraj Deshpande 2008-08-26 10:53:12 UTC
This issue may be related to #140811. Investigating.
Comment 7 Exceptions Reporter 2008-08-30 03:59:15 UTC
This issue has already 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=75751
Comment 8 jayanath 2008-08-30 04:21:26 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Linux, 2.6.26-ARCH, i386

User Comments: 


Stacktrace: 
org.hibernate.tool.hbm2x.ExporterException: Error while processing Entity: dvdrental.Category with template hbm/hibernate-mapping.hbm.ftl
        at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:261)
        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)
Comment 9 jayanath 2008-08-30 04:21:38 UTC
Created attachment 68697 [details]
stacktrace
Comment 10 Jayashri Visvanathan 2008-09-03 01:48:16 UTC
Vadiraj or Honza, 
  Is this a dup of 140811 ? If so, can you please close this ?
thanks
Comment 11 Jan Horvath 2008-09-03 12:37:57 UTC
yes, this is probably a duplicate of 140811

*** This issue has been marked as a duplicate of 140811 ***