Hi, the nasty thing I did was not to include the descriptors for the scripts in svn.
I will add a comment in the documentation and will improve the TextRuler view to report the problem to the user. Best, Peter Am 13.02.2014 10:49, schrieb Peter Klügl: > Hi, > > Am 12.02.2014 23:57, schrieb Nicolas Hernandez: >> Hi everyone, >> >> I'm testing the TextRuler framework to induce annotation rules. In >> particular I follow the example in the documentation [1] which should works >> on the example project present in the svn repository [2]. >> >> Unfortunately, when I press the start button, the view freezes on >> "MethodPreprocessing..." and that's all. In the console, when I launch >> Eclipse in command line I can read the following trace exception [3]. >> >> The same for all the learning algorithms. >> I use Eclipse Kepler. There is no eclipse update available for the plugins. >> The java version is "1.7.0_51" OpenJDK. >> >> If anyone (Peter ;-) has a clue ? > I just tested it. It works, but I had to regenerate the descriptors. > > Can you please update the TextRulerExample project (right click on > project, popup menu->UIMA Ruta-> Update Project) and then clean the > project in order to create the descriptors again (Menu->Project-> Clean: > Select TextRulerExample). Best, clean it twice ;-) > > Peter > > >> /Nicolas >> >> [1] >> https://uima.apache.org/d/ruta-current/tools.ruta.book.html#section.tools.ruta.workbench.textruler.example >> >> [2] >> https://svn.apache.org/repos/asf/uima/ruta/trunk/example-projects/TextRulerExample/ >> >> [3] Trace >> $ eclipse >> uima.ruta.example.Author >> uima.ruta.example.Date >> uima.ruta.example.Pages >> uima.ruta.example.Publisher >> uima.ruta.example.Institution >> uima.ruta.example.Volume >> uima.ruta.example.Editor >> uima.ruta.example.Title >> uima.ruta.example.Booktitle >> uima.ruta.example.Note >> uima.ruta.example.Journal >> uima.ruta.example.Location >> uima.ruta.example.Tech >> Exception in thread "Thread-7" java.lang.NullPointerException >> at >> org.apache.uima.ruta.textruler.core.TextRulerToolkit.addBoundaryTypes(TextRulerToolkit.java:154) >> at >> org.apache.uima.ruta.textruler.extension.TextRulerPreprocessor.run(TextRulerPreprocessor.java:58) >> at >> org.apache.uima.ruta.textruler.extension.TextRulerPreprocessor.run(TextRulerPreprocessor.java:44) >> at >> org.apache.uima.ruta.textruler.extension.TextRulerController$1.run(TextRulerController.java:174) >> at java.lang.Thread.run(Thread.java:744) >>