Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ExceptionInInitializerError  RSS feed

 
Syskata Mitev
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a entity bean users.java.

in dbSet.java i have:
static void add(users ii) {
emf.createEntityManager().
createQuery("INSERT INTO users ii").executeUpdate(); }

in dialog.java this part of code:
ii = new users();
ii.setName(usersid.getText());
dbSet.add(ii);

and return java.lang.ExceptionInInitializerError

thank in advance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!