NullPointerException « Schema « JPA Q&A





1. Hibernate Schema Update gives a Null Pointer Exception    forum.hibernate.org

Newbie Joined: Mon Dec 27, 2010 6:10 am Posts: 1 Hi, I am trying to investigate an error which is getting thrown on the production servers of our clients. We don't get the same error in our dev environment. I am not allowed to use the production environment (obviously) to do any 'testing' so I am having a hard time trying ...

2. NullPointerException when using SchemaExport    forum.hibernate.org

Hi, I'm trying automatically generate my DB schema from my mappings using a XDoclet->.hbm.xml->schema pattern, but SchemaExport crashes with a NullPointerException when lists are included in the mapping. The fragment that seems to cause it looks like this: Code:

3. SchemaExportTask java.lang.NullPointerException    forum.hibernate.org

Hello Using hibernate 2.1.3 I am having a problem when running SchemaExportTask on any java class file with the the following tag or similar I have tried this with files I have created and with examples I have copied and pasted from the net If I use the example from the hibernate docs involving the cat from this url http://www.hibernate.org/hib_docs/refer ... ...

4. NullPointerException on schema export    forum.hibernate.org

Newbie Joined: Fri Jun 04, 2004 11:03 am Posts: 3 Location: Montreal Hello, I keep getting a NullPointerException while trying to generate the schema, I've tried commenting out each property (reference | collection) to isolate the problem without any results. Any help would be much appreciated. I'm using 2.1.4 against postgres 7.3 building with maven. I included the mapping file and ...

5. schemaExport task NullPointerException    forum.hibernate.org

Hi I try to run schemaExport task directly from example in "hibernate quickly" book and it doesn't work. I also tried with exapmle from wiki about schemaExport but I got the same: Why this exception isn't caught and translated to readable state? NullPointerException doesn't tell me much, all the more source code for that place is: return new SchemaExport(cfg) .setHaltOnError(haltOnError) .setOutputFile( ...

6. Schema Export failed with Null Pointer Exception    forum.hibernate.org

Newbie Joined: Sun Mar 18, 2007 6:11 pm Posts: 4 Location: India Hi all, I was trying to Export Schema to my MySQL installation using an ant-task when the whole thing failed giving a NullPointerExcetion :-( My apologies if you see any bad prctice/silly mistake. I am pretty new to Hibernate. There are two classes Event and Location, for a simple ...