Joined: Wed Feb 25, 2015 7:20 pm Posts: 1
|
Getting error in Jboss hibernate Eclipse plugin while trying to get the DB table details in reverse engineering
First I have created hibernate.cfg.xml file, then I tried reverse engineering to generate the java classes. During that time I have selected the DB details from console configuration and clicked refresh button to get the table details. it is refreshing for a long time and finally getting following error.
In the hibernate console configuration I can see that JDBC driver details are there.
I tried to search in may forum but I didnt find any solution. so finally decided to post here.
Error:
Problems while reading database schema
null org.hibernate.eclipse.console Error Thu Feb 26 04:20:42 IST 2015 java.lang.NullPointerException: <no message>
java.lang.NullPointerException at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$1.compare(LazyDatabaseSchemaWorkbenchAdapter.java:76) at java.util.TimSort.countRunAndMakeAscending(TimSort.java:351) at java.util.TimSort.sort(TimSort.java:216) at java.util.Arrays.sort(Arrays.java:1438) at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.toArray(BasicWorkbenchAdapter.java:75) at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:74) at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:104) at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:238) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
|
|