-->
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.  [ 3 posts ] 
Author Message
 Post subject: could not instantiate id generator --- please help
PostPosted: Sat Aug 21, 2004 4:00 pm 
Newbie

Joined: Sat Aug 21, 2004 3:47 pm
Posts: 2
i am using hibernate2 deployed on Unix machine it fails with following exception i ma using oracle 8i database and jdk 1.4.2_01
java -classpath lib/hibernate2.jar;lib/ntcloader.jar;lib/jta.jar;lib
/ehcache-0.7.jar;lib/oscache-2.0.jar;lib/c3p0-0.8.3.jar;lib/cglib-2.0-rc2.jar;lib/commons-collections-2.1.jar;lib/commons-lang-1.0.1.jar;lib/commons-logging-1.0.3.jar;lib/concurrent-1.3.2.jar;lib/dom4j-1.4.jar;lib/j2ee.jar;lib/jakarta-regexp-1.2.jar;lib/jdbc2_0-stdext.jar;lib/junit.jar;lib/log4j-1.2.8.jar;lib/odmg-3.0.
jar;lib/ojdbc14.jar;lib/tools.jar com/verigate/vcs/ntc/NTCLoader
log4j:WARN No appenders could be found for logger (net.sf.hibernate.cfg.Environm
ent).
log4j:WARN Please initialize the log4j system properly.
Aug 21, 2004 12:09:34 PM com.verigate.vcs.ntc.DBHandler loadConf
SEVERE: could not instantiate id generator
I am here
Exception in thread "main" java.lang.NullPointerException
at com.verigate.vcs.ntc.DBHandler.isFileExisted(DBHandler.java:380)
at com.verigate.vcs.ntc.FileIO.processImport(FileIO.java:331)
at com.verigate.vcs.ntc.NTCLoader.main(NTCLoader.java:22)

the same code works fine when run in eclipse environment in windows
what other librarys i am missing please help


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 21, 2004 4:03 pm 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
are you sure the problem comes from hibernate?
Quote:
com.verigate.vcs.ntc.DBHandler.isFileExisted

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject: could not instantiate id generator
PostPosted: Mon Aug 23, 2004 12:40 pm 
Newbie

Joined: Sat Aug 21, 2004 3:47 pm
Posts: 2
yes since it fails at fails to instantiate id generator

the same code works in eclipse environment and even on command line the same exception is thrown

log4j:WARN Please initialize the log4j system properly.
Aug 23, 2004 9:33:08 AM com.verisign.vcs.ntc.DBHandler loadConf
SEVERE: could not instantiate id generator
Exception in thread "main" java.lang.NullPointerException
at com.verisign.vcs.ntc.DBHandler.isFileExisted(DBHandler.java:379)
at com.verisign.vcs.ntc.FileIO.processImport(FileIO.java:331)
at com.verisign.vcs.ntc.NTCLoader.main(NTCLoader.java:22)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.