You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2008/03/31 23:16:26 UTC

[jira] Closed: (DIRSERVER-871) NPE when running ADS in eclipse from time to time

     [ https://issues.apache.org/jira/browse/DIRSERVER-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRSERVER-871.
---------------------------------------

    Resolution: Won't Fix

Just a question of launching a mvn clean install in apacheds/bootstrap-partition before.

> NPE when running ADS in eclipse from time to time
> -------------------------------------------------
>
>                 Key: DIRSERVER-871
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-871
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: Emmanuel Lecharny
>             Fix For: 1.5.2
>
>
> Sometime, when I launch eclipse and run ADS on it, I get a NPE (see the stack). Thos does not happen when I do a mvn clean install and run the server again...
> Any clue ? (seems that the DBFILES file is not found)
> Exception in thread "main" java.lang.NullPointerException
> 	at java.io.Reader.<init>(Reader.java:61)
> 	at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
> 	at org.apache.directory.server.schema.bootstrap.partition.DbFileListing.init(DbFileListing.java:52)
> 	at org.apache.directory.server.schema.bootstrap.partition.DbFileListing.<init>(DbFileListing.java:46)
> 	at org.apache.directory.server.schema.bootstrap.partition.SchemaPartitionExtractor.<init>(SchemaPartitionExtractor.java:43)
> 	at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:811)
> 	at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:250)
> 	at org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext(AbstractContextFactory.java:118)
> 	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
> 	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
> 	at javax.naming.InitialContext.init(InitialContext.java:223)
> 	at javax.naming.InitialContext.<init>(InitialContext.java:197)
> 	at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
> 	at org.apache.directory.server.Service.init(Service.java:96)
> 	at org.apache.directory.server.UberjarMain.main(UberjarMain.java:54)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.