• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Hibernate in Eclipse using JBOSS

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Can anyone give a resource site for this topic? Help needed. Thanks.
 
Ranch Hand
Posts: 547
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what exactly do you want to achieve ?


running/controlling JBoss from within eclipse ? using hibernate in JBoss ?
?
pascal
 
Rollyn
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm executing a hibernate code inside a servlet, but it throws a null pointer exception. What is usually the error with this?
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


What is usually the error with this


Its impossible to say without seeing the exception message. Its very difficult to say without seeing the code that generates the exception too. Perhaps you could post both?
 
Ranch Hand
Posts: 645
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


I'm executing a hibernate code inside a servlet, but it throws a null pointer exception. What is usually the error with this?



Nullpointer happens to you,if you call any method on object that is null

thats the best answer any one can give,with kind of information you have provided


-P
 
pascal betz
Ranch Hand
Posts: 547
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
almost enough information... now we know the problem (NPE) the only things that we need now is hibernate config files, source code and stacktrace.

sorry... i just wonder .... how can anyone who is working with advanced java think that someone can tell the problem by naming the most common java exception ?

http://www.catb.org/~esr/faqs/smart-questions.html


pascal
 
reply
    Bookmark Topic Watch Topic
  • New Topic