jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpares <bpa...@indra.es>
Subject Re: Cannot insert null ("SYSTEM"."REP_FSENTRY"."FSENTRY_NAME")
Date Fri, 16 Mar 2007 12:40:20 GMT

Hi Stefan, i did the new schema in the DB and tried:

try{
 Repository repository = new TransientRepository();
 session = repository.login(new SimpleCredentials(username,
password.toCharArray()));
}catch(Exception e){
 e.printStackTrace();
}finally {
 System.out.println("Closing session.");
 session.logout();            
}

and i when i executes login, it goes directilly to finally, try to logout
and gives to me a NullPointerException

so when i execute again i received:

WARN - Existing lock file at
D:\SIMGE_REPO\JackRabbitProject\repository\.lock deteteced. Repository was
not shut down properly.
Closing session.
Exception in thread "main" java.lang.NullPointerException
	at adap.FirstHop.main(FirstHop.java:48)

thanks!!

-- 
View this message in context: http://www.nabble.com/Cannot-insert-null-%28%22SYSTEM%22.%22REP_FSENTRY%22.%22FSENTRY_NAME%22%29-tf3413326.html#a9513760
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message