-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: problem setting up a console configuration
PostPosted: Sun Jun 18, 2006 8:38 am 
Beginner
Beginner

Joined: Mon Apr 24, 2006 10:42 am
Posts: 23
Hello,

I am trying to set up a project to work with the Hibernate Eclipse Plugin, and this is what I get:

Code:
!ENTRY org.hibernate.eclipse 4 40000 2006-06-18 16:05:39.468
!MESSAGE ERROR Worker-48 com.opensymphony.oscache.base.Config - Error reading /oscache.properties in CacheAdministrator.loadProps() java.lang.NullPointerException

!ENTRY org.hibernate.eclipse 4 40000 2006-06-18 16:05:39.515
!MESSAGE ERROR Worker-48 com.opensymphony.oscache.base.Config - Ensure the /oscache.properties file is readable and in your classpath.


I am using Eclipse 3.1.2
Hibernate Plugin version 3.1.0 beta 5
Hibernate 3.0.4

The hibernate.properties file points to the osCacacheProvider class correctly. My oscache.properties file is in the src root of the project. (my src is copied automatically to the classes folder.) The file is valid and is used by the application itself with no problem. In my console configuration I added the project's classes folder to the classpath (as well as the oracle jdbc driver jar file).

The above error occurs when i try to expand the database node in the console's "tree" (the config, sessionFactory and database...).

Has anyone encountered such a problem?
Any help will be appreciated.

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 18, 2006 9:24 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
would be relevant to see what the stacktrace is for that NPE ?

a workaround is just to no enable 2nd lvl caching while you are using the tools.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.