org.apache.gora.util.GoraException: java.lang.RuntimeException: java.io.IOException: java.lang.NullPointerException

Stack Overflow | André | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Nutch 2.3.1 on OSX does not connect to MongoDB

    Stack Overflow | 7 months ago | André
    org.apache.gora.util.GoraException: java.lang.RuntimeException: java.io.IOException: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.gora.mongodb.store.MongoMapping.newDocumentField()
    2. org.apache.gora
      MongoStore.initialize
      1. org.apache.gora.mongodb.store.MongoMapping.newDocumentField(MongoMapping.java:109)
      2. org.apache.gora.mongodb.store.MongoMapping.addClassField(MongoMapping.java:169)
      3. org.apache.gora.mongodb.store.MongoMappingBuilder.loadPersistentClass(MongoMappingBuilder.java:169)
      4. org.apache.gora.mongodb.store.MongoMappingBuilder.fromFile(MongoMappingBuilder.java:112)
      5. org.apache.gora.mongodb.store.MongoStore.initialize(MongoStore.java:118)
      5 frames
    3. Apache Gora :: Core
      DataStoreFactory.createDataStore
      1. org.apache.gora.store.DataStoreFactory.initializeDataStore(DataStoreFactory.java:102)
      2. org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:161)
      3. org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:135)
      3 frames
    4. Apache Nutch
      InjectorJob.run
      1. org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:78)
      2. org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:233)
      3. org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:267)
      4. org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:290)
      4 frames
    5. Hadoop
      ToolRunner.run
      1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      1 frame
    6. Apache Nutch
      InjectorJob.main
      1. org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:299)
      1 frame