exceptions during cofiguration

72 views
Skip to first unread message

and....@gmail.com

unread,
Mar 14, 2015, 5:09:43 AM3/14/15
to wiki...@googlegroups.com
Hi all!during configuration process i get first a Nullpointer exception; I try to run again and now I get

INFORMAZIONI: found 0 classes when constructing short to full class name mapping
Exception in thread "main" org.wikibrain.core.dao.DaoException: No class found for short name RawPage
at org.wikibrain.core.dao.sql.MetaInfoSqlDao.getAllCummulativeInfo(MetaInfoSqlDao.java:342)
at org.wikibrain.loader.pipeline.PipelineLoader.<init>(PipelineLoader.java:44)
at org.wikibrain.Loader.<init>(Loader.java:72)
at org.wikibrain.Loader.main(Loader.java:107)


LOADING FAILED!

why this?
thanks

Andrea Apicella

unread,
Mar 14, 2015, 5:23:03 AM3/14/15
to wiki...@googlegroups.com
PS the first exception is
Exception in thread "main" java.lang.NullPointerException
    at org.wikibrain.sr.ensemble.LinearEnsemble.trainSimilarity(LinearEnsemble.java:59)
    at org.wikibrain.sr.ensemble.EnsembleMetric.trainSimilarity(EnsembleMetric.java:138)
    at org.wikibrain.sr.SRBuilder.buildMetric(SRBuilder.java:212)
    at org.wikibrain.sr.SRBuilder.build(SRBuilder.java:125)
    at org.wikibrain.sr.SRBuilder.main(SRBuilder.java:519)
Stage sr failed with exit code 1

saisubra...@gmail.com

unread,
Mar 5, 2017, 4:46:15 AM3/5/17
to wikibrain, sai. gopalakrishnan
Hi,

Did you solve this error? I am facing the same. Please let me know.

Thanks,
Sai

Andrea Apicella

unread,
Mar 5, 2017, 4:58:27 AM3/5/17
to wikibrain
I don't remember...if my memory doesn't lie to me,the problem was in the simple dictionary..try with full English

saisubra...@gmail.com

unread,
Mar 5, 2017, 8:04:40 AM3/5/17
to wikibrain
Thanks for the reply Andrea, can you pls etll em how long it took for the installation with Full English? Hope it wasn't in days.

Thanks.

Andrea Apicella

unread,
Mar 5, 2017, 8:57:01 AM3/5/17
to wikibrain
More than a day sure...always on

gethod...@gmail.com

unread,
Mar 19, 2017, 8:31:34 AM3/19/17
to wikibrain

Hello, I am facing this problem too, I traced it in the source code, and it looks like a problem when trying to load a java class. Did changing the language helped solve your problem? I need to load `ar` language only.

saisubra...@gmail.com

unread,
Mar 19, 2017, 11:04:37 AM3/19/17
to wikibrain, gethod...@gmail.com
Hi,

I had to hardcode the language in the src and re-build the jar to make it work.

Regards,
Sai

gethod...@gmail.com

unread,
Mar 19, 2017, 12:30:15 PM3/19/17
to wikibrain, saisubra...@gmail.com


I solved it by creating a project in Eclipse, adding Wikibrain as maven dep, and writing a main() class that runs the pipeline. Thank you

Reply all
Reply to author
Forward
0 new messages