0

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

4
  • 1
    Well have you looked at the error log for more details like the dialog says? What does it say? Commented Feb 7, 2017 at 7:57
  • It shows the same text, I've updated the above snip. Commented Feb 8, 2017 at 1:02
  • The log should show a stack trace telling us where the exception is occurring - show us that. Commented Feb 8, 2017 at 7:58
  • @greg-449 I hope this is the log you're talking about (//Elusive Log added above). If not please tell me the location from where i can get the log. Commented Feb 8, 2017 at 19:00

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

4 Comments

But I'm using Hibernate v5.2.x. Then that means this issue should not appear.
Sorry, misread the bug report - the error is in JBoss when using Hibernate. JBoss 4.4.2.AM1 contains the fix
Sorry, my mistake - Now I've to update my eclipse from mars to neon 4.6.1 to support JBoss 4.4.2.AM1. I'll comment my result after trying this combo. Thanks
Eclipse Neon 4.6.1 and JBoss Tools 4.4.2 combination works. Thanks Again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.