Java errors on /stats
negon opened this issue · comments
Hi I'm getting an error on /stats
2019-08-26 12:37:30.386:WARN:oejs.ServletHandler:/stats/481c0399e0dda6922cf43823b447ce00.html
java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String
at uk.org.llgc.annotation.store.data.Manifest.setJson(Manifest.java:29)
- Register manifest
- Click on it in Stats
And when trying to save an annotation I get another - similar error:
2019-08-26 12:36:43.585:WARN:oejs.ServletHandler:/annotation/create
java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String
at uk.org.llgc.annotation.store.AnnotationUtils.convertAnnoToModel(AnnotationUtils.java:251)
Its running docker with SOLR as backend.
Regards
Nikolaj
Hi Nikolaj,
Can I ask which Dockerfile you are using?
Thanks
Glen
Hi Glen
I have tried both the runDocker.sh script and running mvn jetty:run on my ubuntu 18 system.
Is it this runDocker.sh:
https://github.com/glenrobson/SimpleAnnotationServer/blob/master/runDocker.sh
or this one:
(I realise its not great to have two versions....)
The first one, in the root directory.
So I'm using the wrong one?
Fixed with: d61710f#diff-ac0c2edea3f51d384324a77628acd6d9