Open afergadis opened 7 years ago
@afergadis: You can try two things:
./nejiWeb.sh -t 2
./nejiWeb.sh
scriptTried with -t 2
and 12G
memory. Again loading a model failed.
pt.ua.tm.neji.exception.NejiException: There was a problem loading the CRF model.
at pt.ua.tm.neji.train.model.CRFBase.load(CRFBase.java:214)
...
Caused by: java.io.StreamCorruptedException: unexpected EOF while reading block data header
at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2526)
...
[ERROR] The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
java.lang.NullPointerException
at pt.ua.tm.neji.web.server.Server.addModel(Server.java:527)
...
[WARN] /manage/addModel/
java.lang.NullPointerException
at pt.ua.tm.neji.web.server.Server.addModel(Server.java:527)
If you want I can attach all the errors.
@afergadis Can you please post the complete command line? Which model are you using? Was it trained using the version o Neji that you are using right now?
Hi.
I am running the web service with
./nejiWeb.sh -t 4
. The service starts and from the admin pages I created a services and loaded the two provided dictionaries. When I try to load a model, the service runs for about 20 minutes and then I get the following errors:I am using 1.8.0_77 java version
My notebook has a Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz and 8GB RAM.
Can you help me run the service properly?
Thank you.
Update
Running/Debugging the
WebMain
class I get ajava.lang.StackOverflow
error. This is raised in theCRFBase
class in linecrf = (CRF) ois.readObject();
For some reason it looks like it cannot read the model.