JRE Crash with DepTree

Submitted by kdeturck on Mon, 08/01/2016 - 10:55

I'm using FreeLing 4.0 under Ubuntu in my Java code. I want to get the dependance for a Word.
I run this code chunk: depTree.getNodeByPos(word.getPosition()).getInformation().getWord().getForm()

I get this error: # A fatal error has been detected by the Java Runtime Environment:
# SIGSEGV (0xb) at pc=0x00007f2ba236d14e, pid=6886, tid=139825873839872
# JRE version: Java(TM) SE Runtime Environment (8.0_91-b14) (build 1.8.0_91-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.91-b14 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libfreeling-4.0-beta2.so+0x9214e] freeling::dep_tree::get_node_by_pos(unsigned long)+0xe
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

It seems to be about the method getNodeByPos from DepTree. What can I do?

Many thanks!