Skip to content

Spatial Role labeling bug #487

@alaeddineMoussa

Description

@alaeddineMoussa

Hello,
I'm trying to run the Spatial Role labeling with Saul on stb, but I have the error listed below.
I already tested with this manipulation but without success
{Please train/test without SRL feature(actually the results reported are without this feature):

change this to :
val JF2_12 = property(relations) {
x: SpRelation =>""
}
change this to
TextAnnotationFactory.disableSettings(settings, USE_SRL_NOM, USE_NER_ONTONOTES, USE_SRL_VERB)}

Thanks for your help

Error


[error] Exception in thread "main" java.lang.NullPointerException
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.SpRLSensors$.getIndicatorCandidates(SpRLSensors.scala:123)
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.SpRLSensors$.sentencesToRelations(SpRLSensors.scala:32)
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.SpRLDataModel$$anonfun$1.apply(SpRLDataModel.scala:31)
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.SpRLDataModel$$anonfun$1.apply(SpRLDataModel.scala:31)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.edge.Edge$$anonfun$populateUsingFrom$1.apply(Edge.scala:79)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.edge.Edge$$anonfun$populateUsingFrom$1.apply(Edge.scala:78)
[error] at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
[error] at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.edge.Edge$class.populateUsingFrom(Edge.scala:78)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.edge.AsymmetricEdge.populateUsingFrom(Edge.scala:124)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.node.Node$$anonfun$addInstance$2.apply(Node.scala:131)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.node.Node$$anonfun$addInstance$2.apply(Node.scala:131)
[error] at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
[error] at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.node.Node.addInstance(Node.scala:131)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.node.Node$$anonfun$populate$1.apply(Node.scala:159)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.node.Node$$anonfun$populate$1.apply(Node.scala:159)
[error] at scala.collection.immutable.List.foreach(List.scala:381)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.node.Node.populate(Node.scala:159)
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.PopulateSpRLDataModel$.apply(PopulateSpRLDataModel.scala:26)
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.SpRLApp$.delayedEndpoint$edu$illinois$cs$cogcomp$saulexamples$nlp$SpatialRoleLabeling$SpRLApp$1(SpRLApp.scala:45)
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.SpRLApp$delayedInit$body.apply(SpRLApp.scala:24)
[error] at scala.Function0$class.apply$mcV$sp(Function0.scala:34)
[error] at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
[error] at scala.App$$anonfun$main$1.apply(App.scala:76)
[error] at scala.App$$anonfun$main$1.apply(App.scala:76)
[error] at scala.collection.immutable.List.foreach(List.scala:381)
[error] at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
[error] at scala.App$class.main(App.scala:76)
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.SpRLApp$.main(SpRLApp.scala:24)
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.SpRLApp.main(SpRLApp.scala)
java.lang.RuntimeException: Nonzero exit code returned from runner: 1
at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last saulExamples/compile:run for the full output.
[error] (saulExamples/compile:run) Nonzero exit code returned from runner: 1
[error] Total time: 733 s, completed 23 nov. 2018 22:15:47

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions