Search code examples
hibernate-mappingeclipse-marsjboss-toolsnhibernate-configuration

Getting Nullpointer exception while creating a hibernate mapping XML file?


I'm trying to create a XML based configuration for a model class. Using Hibernate XML Mapping file option from hibernate menu which comes with the JBoss Tools. But it throws NullPointerException as in the image shown below.

Using:

Java 8 and Eclipse Mars 4.5.2
JBoss Tools 4.3.1.Final

enter image description here

Please suggest me a solution to solve this issue. Thanks in advance.

//Elusive Log enter image description here


Solution

  • This appears to be a JBoss bug - see the bug report here.

    The report says the bug is fixed in JBoss 4.4.2.AM1