glenrobson / SimpleAnnotationServer

A simple IIIF and Mirador compatible Annotation Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java errors on /stats

negon opened this issue · comments

commented

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)

  1. Register manifest
  2. 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

commented

Hi Glen
I have tried both the runDocker.sh script and running mvn jetty:run on my ubuntu 18 system.

commented

The first one, in the root directory.

commented

So I'm using the wrong one?