CogComp / saul

Saul : Declarative Learning-Based Programming
Other
64 stars 18 forks source link

SpRL testing problem #479

Closed LibraSkywalker closed 7 years ago

LibraSkywalker commented 7 years ago

While using the SpRL examples, I'm facing the problem of Unable to extract features for SRLMulticlassInstance, I don't understand why such thing happened.

[info] INFO [2017-06-29 01:30:24,774] e.i.c.c.s.i.c.CrossArgumentRetainedModifiers: Loading allowed cross-argument modifier arguments from Verb.cross-predicate.modifiers [info] ojAlgo includes a small set of predefined hardware profiles, [info] none of which were deemed suitable for the hardware you're currently using. [info] You should set org.ojalgo.OjAlgoUtils.ENVIRONMENT to something that matches the hardware/OS/JVM you're running on. [info] Additionally it would be appreciated if you contribute your hardware profile to ojAlgo. [info] https://lists.sourceforge.net/lists/listinfo/ojalgo-user [error] java.lang.NullPointerException [error] at edu.illinois.cs.cogcomp.core.datastructures.textannotation.SymbolTable.getId(SymbolTable.java:44) [error] at edu.illinois.cs.cogcomp.core.datastructures.textannotation.Constituent.(Constituent.java:86) [error] at edu.illinois.cs.cogcomp.core.datastructures.textannotation.Constituent.(Constituent.java:63) [error] at edu.illinois.cs.cogcomp.core.datastructures.textannotation.Constituent.cloneForNewView(Constituent.java:503) [error] at edu.illinois.cs.cogcomp.srl.features.ProjectedPath.getFeatures(ProjectedPath.java:36) [error] at edu.illinois.cs.cogcomp.edison.features.FeatureCollection.getFeatures(FeatureCollection.java:93) [error] at edu.illinois.cs.cogcomp.edison.features.FeatureCollection.getFeatures(FeatureCollection.java:70) [error] at edu.illinois.cs.cogcomp.edison.features.CachedFeatureCollection.getFeatures(CachedFeatureCollection.java:42) [error] at edu.illinois.cs.cogcomp.edison.features.FeatureCollection.getFeatures(FeatureCollection.java:93) [error] at edu.illinois.cs.cogcomp.edison.features.FeatureCollection.getFeatures(FeatureCollection.java:70) [error] at edu.illinois.cs.cogcomp.edison.features.CachedFeatureCollection.getFeatures(CachedFeatureCollection.java:42) [info] ERROR [2017-06-29 01:32:00,041] e.i.c.c.s.l.SRLPredicateInstance: Unable to extract features for SRLMulticlassInstance [cand=the, predicate=leave] [info] java.lang.NullPointerException: null