You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seeing strange exceptions being thrown, seemingly undeterministically by HFST optimized lookup java code.
I suspect this may be a thread-safety issue with HFST optimized lookup.
For example the following exception gets thrown by HFST when I run our application:
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
at java.util.Vector.get(Vector.java:748) ~[na:1.8.0_45]
at net.sf.hfst.UnweightedTransducer.findIndex(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
at net.sf.hfst.UnweightedTransducer.getAnalyses(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
at net.sf.hfst.UnweightedTransducer.tryEpsilonTransitions(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
at net.sf.hfst.UnweightedTransducer.tryEpsilonIndices(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
at net.sf.hfst.UnweightedTransducer.getAnalyses(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
at net.sf.hfst.UnweightedTransducer.findTransitions(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
at net.sf.hfst.UnweightedTransducer.findIndex(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
at net.sf.hfst.UnweightedTransducer.getAnalyses(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
at net.sf.hfst.UnweightedTransducer.analyze(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
...
Reported by: aspa
The text was updated successfully, but these errors were encountered:
I'm seeing strange exceptions being thrown, seemingly undeterministically by HFST optimized lookup java code.
I suspect this may be a thread-safety issue with HFST optimized lookup.
For example the following exception gets thrown by HFST when I run our application:
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
at java.util.Vector.get(Vector.java:748) ~[na:1.8.0_45]
at net.sf.hfst.UnweightedTransducer.findIndex(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
at net.sf.hfst.UnweightedTransducer.getAnalyses(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
at net.sf.hfst.UnweightedTransducer.tryEpsilonTransitions(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
at net.sf.hfst.UnweightedTransducer.tryEpsilonIndices(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
at net.sf.hfst.UnweightedTransducer.getAnalyses(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
at net.sf.hfst.UnweightedTransducer.findTransitions(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
at net.sf.hfst.UnweightedTransducer.findIndex(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
at net.sf.hfst.UnweightedTransducer.getAnalyses(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
at net.sf.hfst.UnweightedTransducer.analyze(Unknown Source) ~[meta-assembly-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
...
Reported by: aspa
The text was updated successfully, but these errors were encountered: