jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@gmail.com>
Subject Re: Cannot insert null ("SYSTEM"."REP_FSENTRY"."FSENTRY_NAME")
Date Fri, 16 Mar 2007 13:13:48 GMT
On 3/16/07, bpares <bpares@indra.es> wrote:
>
> 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

the login call must have thrown an exception; what's that exception?

there should be more information in the log file, did you check the log file?

cheers
stefan

>
> 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