Description
As described by Joan Espasa Arxer on user@ [0] the following NPE is thrown when we attempt to use the hostinject, updatehostdb and readhostdb jobs.
HostInjectorJob: org.apache.gora.util.GoraException: java.lang.NullPointerException at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:167) at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:135) at org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:69) at org.apache.nutch.host.HostInjectorJob.inject(HostInjectorJob.java:146) at org.apache.nutch.host.HostInjectorJob.run(HostInjectorJob.java:160) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.nutch.host.HostInjectorJob.main(HostInjectorJob.java:174) Caused by: java.lang.NullPointerException at org.apache.gora.sql.store.SqlStore.addColumn(SqlStore.java:790) at org.apache.gora.sql.store.SqlStore.createSqlTable(SqlStore.java:802) at org.apache.gora.sql.store.SqlStore.initialize(SqlStore.java:165) at org.apache.gora.store.DataStoreFactory.initializeDataStore(DataStoreFactory.java:102) at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:161) ... 6 more
Ferdy proposed a fix for this which I will patch against 2.X branch and duly attach.
[0] http://www.mail-archive.com/user%40nutch.apache.org/msg06998.html
Attachments
Attachments
Issue Links
- is related to
-
GORA-158 Improve error logging when gora-$module-mapping.xml is not correctly defined
- Open