Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-871

NPE when running ADS in eclipse from time to time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 1.5.2
    • None
    • None

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            elecharny Emmanuel L├ęcharny
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: