New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubles if an analyzing is stopped and restarted #220

Closed
hdsdi3g opened this Issue Dec 20, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@hdsdi3g
Owner

hdsdi3g commented Dec 20, 2016

A ES entry maybe stay in bad state:

Send by: WorkerExec:METADATA:WorkerIndexer/job:839d2b60 (32) from hd3gtv.mydmam.manager.AppManager$ServiceException.onError(AppManager.java:257)

By java.lang.NullPointerException: null
    at hd3gtv.mydmam.metadata.container.ContainerEntry.deserialize(ContainerEntry.java:72)
    at hd3gtv.mydmam.metadata.container.ContainerEntry.deserialize(ContainerEntry.java:1)
    at hd3gtv.mydmam.metadata.container.SelfSerialiserBridge$Deserializer.deserialize(SelfSerialiserBridge.java:65)
    at hd3gtv.mydmam.metadata.container.SelfSerialiserBridge$Deserializer.deserialize(SelfSerialiserBridge.java:1)
    at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58)
    at com.google.gson.Gson.fromJson(Gson.java:879)
    at com.google.gson.Gson.fromJson(Gson.java:844)
    at com.google.gson.Gson.fromJson(Gson.java:793)
    at com.google.gson.Gson.fromJson(Gson.java:765)
    at hd3gtv.mydmam.metadata.container.ContainerOperations$HitReader.onFoundHit(ContainerOperations.java:334)
    at hd3gtv.mydmam.db.ElastisearchCrawlerReader.allReader(ElastisearchCrawlerReader.java:236)
    at hd3gtv.mydmam.db.ElastisearchCrawlerReader.allReader(ElastisearchCrawlerReader.java:144)
    at hd3gtv.mydmam.metadata.container.ContainerOperations.searchInMetadataBase(ContainerOperations.java:371)
    at hd3gtv.mydmam.metadata.container.ContainerOperations.searchInMetadataBase(ContainerOperations.java:291)
    at hd3gtv.mydmam.metadata.container.ContainerOperations.getByPathIndexId(ContainerOperations.java:267)
    at hd3gtv.mydmam.metadata.MetadataStorageIndexer.processFoundedElement(MetadataStorageIndexer.java:156)
    at hd3gtv.mydmam.metadata.MetadataStorageIndexer.process(MetadataStorageIndexer.java:114)
    at hd3gtv.mydmam.metadata.WorkerIndexer.workerProcessJob(WorkerIndexer.java:96)
    at hd3gtv.mydmam.manager.WorkerNG$Executor.run(WorkerNG.java:181)


@hdsdi3g hdsdi3g added the bug label Dec 20, 2016

@hdsdi3g hdsdi3g added this to the v0 Beta version milestone Dec 20, 2016

@hdsdi3g hdsdi3g self-assigned this Dec 20, 2016

hdsdi3g added a commit that referenced this issue Dec 20, 2016

Update #220: catch Exception before big troubles, log it in Warn, and…
… at the end, don't save Container... if stop analysing.
@hdsdi3g

This comment has been minimized.

Show comment
Hide comment
@hdsdi3g

hdsdi3g Dec 22, 2016

Owner

BBCBmx Analyser was the original cause, corrected in #226

Owner

hdsdi3g commented Dec 22, 2016

BBCBmx Analyser was the original cause, corrected in #226

@hdsdi3g hdsdi3g closed this Dec 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment