GithubHelp home page GithubHelp logo

setzer22 / alignment_model_text Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 3.0 8.92 MB

Model to text alignment tool

Home Page: http://nlp4bpm.cs.upc.edu

License: GNU General Public License v3.0

Shell 0.42% Clojure 91.18% Java 7.30% Makefile 0.03% C++ 1.06%

alignment_model_text's People

Contributors

setzer22 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

alignment_model_text's Issues

Error while running the Software: java.lang.reflect.InvocationTargetException

Hello, i'm using wsl 2 on windows 10. i use java 8 and Freeling 4.1

When I try to run the software i always get: the following error:

root@Cinderella:~/alignment_model_text-master/modelvsdocument# mvn exec:java -Dexec.mainClass="edu.upc.modelvsdocument.StandaloneMain" -Dexec.args="execution /mnt/c/alignment_model_text-master/datasets/OriginalDataset/Models/Model3-2.bpmn /mnt/c/alignment_model_text-master/datasets/OriginalDataset/Texts/Model3-2.txt"
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< edu.upc:modelvsdocument >-----------------------
[INFO] Building modelvsdocument 0.1.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ modelvsdocument ---
WARNING: Inst already refers to: #'clojure.core/Inst in namespace: schema.core, being replaced by: #'schema.core/Inst
WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: clojure.tools.analyzer.utils, being replaced by: #'clojure.tools.analyzer.utils/boolean?
WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: clojure.tools.analyzer, being replaced by: #'clojure.tools.analyzer.utils/boolean?
RELAXCOR_FEX: Requested feature RCF_DEMONYM not implemented. It will be ignored.
RELAXCOR_FEX: Requested feature RCF_LOC_MATCH not implemented. It will be ignored.
SEMGRAPH_REL_SRL: Non content argument 'these' with no content children ignored.
[WARNING]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:293)
at java.lang.Thread.run (Thread.java:748)
Caused by: java.lang.IllegalArgumentException: No matching field found: empty for class edu.upc.Jfreeling.ListWord
at clojure.lang.Reflector.getInstanceField (Reflector.java:271)
at clojure.lang.Reflector.invokeNoArgInstanceMember (Reflector.java:315)
at edu.upc.nlp4bpm_commons.freeling_seq$fl_forall.invokeStatic (freeling_seq.clj:73)
at edu.upc.nlp4bpm_commons.freeling_seq$fl_forall.invoke (freeling_seq.clj:72)
at edu.upc.nlp4bpm_commons.label_parser$lowercase_capitalized.invokeStatic (label_parser.clj:71)
at edu.upc.nlp4bpm_commons.label_parser$lowercase_capitalized.invoke (label_parser.clj:70)
at clojure.core$mapv$fn__9368.invoke (core.clj:6788)
at clojure.lang.ArrayChunk.reduce (ArrayChunk.java:58)
at clojure.core.protocols$fn__9138.invokeStatic (protocols.clj:136)
at clojure.core.protocols$fn__9138.invoke (protocols.clj:124)
at clojure.core.protocols$fn__9098$G__9093__9107.invoke (protocols.clj:19)
at clojure.core.protocols$seq_reduce.invokeStatic (protocols.clj:31)
at clojure.core.protocols$fn__9126.invokeStatic (protocols.clj:75)
at clojure.core.protocols$fn__9126.invoke (protocols.clj:75)
at clojure.core.protocols$fn__9072$G__9067__9085.invoke (protocols.clj:13)
at clojure.core$reduce.invokeStatic (core.clj:6704)
at clojure.core$mapv.invokeStatic (core.clj:6779)
at clojure.core$mapv.invoke (core.clj:6779)
at edu.upc.nlp4bpm_commons.label_parser$_parse_labels_document.invokeStatic (label_parser.clj:235)
at edu.upc.nlp4bpm_commons.label_parser$_parse_labels_document.invoke (label_parser.clj:231)
at edu.upc.nlp4bpm_commons.label_parser$parse_labels.invokeStatic (label_parser.clj:326)
at edu.upc.nlp4bpm_commons.label_parser$parse_labels.doInvoke (label_parser.clj:316)
at clojure.lang.RestFn.invoke (RestFn.java:425)
at edu.upc.nlp4bpm_commons.label_parser$parse_labels.invokeStatic (label_parser.clj:324)
at edu.upc.nlp4bpm_commons.label_parser$parse_labels.doInvoke (label_parser.clj:316)
at clojure.lang.RestFn.invoke (RestFn.java:521)
at edu.upc.nlp4bpm_commons.freeling_api$analyze_labels.invokeStatic (freeling_api.clj:27)
at edu.upc.nlp4bpm_commons.freeling_api$analyze_labels.doInvoke (freeling_api.clj:24)
at clojure.lang.RestFn.invoke (RestFn.java:619)
at edu.upc.nlp4bpm_commons.freeling_api$analyze_labels_cached.invokeStatic (freeling_api.clj:36)
at edu.upc.nlp4bpm_commons.freeling_api$analyze_labels_cached.doInvoke (freeling_api.clj:31)
at clojure.lang.RestFn.invoke (RestFn.java:457)
at edu.upc.modelvsdocument.bpmn_analysis$analyze_model_text.invokeStatic (bpmn_analysis.clj:24)
at edu.upc.modelvsdocument.bpmn_analysis$analyze_model_text.invoke (bpmn_analysis.clj:16)
at edu.upc.modelvsdocument.bpmn_alignable$analyze.invokeStatic (bpmn_alignable.clj:45)
at edu.upc.modelvsdocument.bpmn_alignable$analyze.invoke (bpmn_alignable.clj:35)
at edu.upc.modelvsdocument.core$analyze_model.invokeStatic (core.clj:62)
at edu.upc.modelvsdocument.core$analyze_model.invoke (core.clj:61)
at clj_pipeline.core$run_pipeline$fn__17325.invoke (core.clj:10)
at clojure.lang.ArrayChunk.reduce (ArrayChunk.java:63)
at clojure.core.protocols$fn__9138.invokeStatic (protocols.clj:136)
at clojure.core.protocols$fn__9138.invoke (protocols.clj:124)
at clojure.core.protocols$fn__9098$G__9093__9107.invoke (protocols.clj:19)
at clojure.core.protocols$seq_reduce.invokeStatic (protocols.clj:31)
at clojure.core.protocols$fn__9124.invokeStatic (protocols.clj:75)
at clojure.core.protocols$fn__9124.invoke (protocols.clj:75)
at clojure.core.protocols$fn__9072$G__9067__9085.invoke (protocols.clj:13)
at clojure.core$reduce.invokeStatic (core.clj:6704)
at clojure.core$reduce.invoke (core.clj:6686)
at clj_pipeline.core$run_pipeline.invokeStatic (core.clj:8)
at clj_pipeline.core$run_pipeline.doInvoke (core.clj:6)
at clojure.lang.RestFn.applyTo (RestFn.java:139)
at clojure.core$apply.invokeStatic (core.clj:659)
at clojure.core$apply.invoke (core.clj:652)
at edu.upc.modelvsdocument.core$main_with_files.invokeStatic (core.clj:327)
at edu.upc.modelvsdocument.core$main_with_files.invoke (core.clj:326)
at clojure.lang.Var.invoke (Var.java:383)
at edu.upc.modelvsdocument.StandaloneMain.computeAlignment (StandaloneMain.java:93)
at edu.upc.modelvsdocument.StandaloneMain.main (StandaloneMain.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:293)
at java.lang.Thread.run (Thread.java:748)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:03 min
[INFO] Finished at: 2021-11-25T09:58:09+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (default-cli) on project modelvsdocument: An exception occured while executing the Java class. null: InvocationTargetException: No matching field found: empty for class edu.upc.Jfreeling.ListWord -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

How can i solve this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.