0
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" java.lang.NullPointerException
    at com.otm.test.OneToManyDeleteTest.main(OneToManyDeleteTest.java:93)
dReAmEr
  • 6,600
  • 7
  • 35
  • 55
Narasimha Reddy
  • 29
  • 1
  • 1
  • 5
  • 2
    post OneToManyDeleteTest.java class.. – dReAmEr Feb 13 '15 at 13:12
  • possible duplicate of [What is a Null Pointer Exception, and how do I fix it?](http://stackoverflow.com/questions/218384/what-is-a-null-pointer-exception-and-how-do-i-fix-it) – Kenster Feb 13 '15 at 16:09
  • If we are training to fetch an object from the database, If in case that object was not fount in database it throws Null Pointer Exception – Narasimha Reddy Feb 16 '15 at 06:16

0 Answers0