Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Processing terminated by xsl:message when compiling and example #221

Open
GoogeTan opened this issue Jan 13, 2024 · 6 comments
Open

Processing terminated by xsl:message when compiling and example #221

GoogeTan opened this issue Jan 13, 2024 · 6 comments

Comments

@GoogeTan
Copy link

I've installed EOc. After that I've tried to compile an example application and it has failed:


C:\eotest>npm install -g eolang

removed 2 packages, changed 55 packages, and audited 56 packages in 8s

11 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

C:\eotest>eoc dataize game.eo
EO objects registered in .eoc\eo-foreign.json
Assembling into .eoc
[ERROR] net.sf.saxon.style.XSLMessage@62230875: This transformation must be applied only after you remove @method attributes from objects, using 'wrap-method-calls.xsl'
[ERROR] #fatalError(): Processing terminated by xsl:message at line 82 in set-locators.xsl; SystemID: file:///org/eolang/parser/set-locators.xsl; Line#: 82; Column#: 36
[ERROR] Processing terminated by xsl:message at line 82 in set-locators.xsl
[ERROR] 'org.eolang.maven.ShakeMojo@5bae40a' execution failed
[ERROR] Processing terminated by xsl:message at line 82 in set-locators.xsl
[ERROR] Failed to execute goal org.eolang:eo-maven-plugin:0.34.1:assemble (default-cli) on project eoc: 'org.eolang.maven.AssembleMojo@314b9e4b' execution failed: java.lang.IllegalStateException: org.apache.maven.plugin.MojoFailureException: 'org.eolang.maven.ShakeMojo@5bae40a' execution failed: java.io.UncheckedIOException: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Failed to transform by net.sf.saxon.jaxp.TransformerImpl: Processing terminated by xsl:message at line 82 in set-locators.xsl; SystemID: file:///org/eolang/parser/set-locators.xsl; Line#: 82; Column#: 36 -> [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/MojoFailureException
The command "C:\Users\Googl\AppData\Roaming\npm\node_modules\eolang\mvnw\mvnw.cmd eo:assemble -Deo.version=0.34.1 -Deo.hash=0.34.1 --quiet -Deo.sourcesDir=C:\eotest -Deo.targetDir=C:\eotest\.eoc -Deo.outputDir=C:\eotest\.eoc\classes -Deo.generatedDir=C:\eotest\.eoc\generated-sources -Deo.placed=C:\eotest\.eoc\eo-placed.csv -Deo.placedFormat=csv --batch-mode --color=never --update-snapshots --fail-fast --strict-checksums" exited with #1 code
C:\eotest>

The code:

[args] > hello
  QQ.io.stdout > @
    "Hello, world!\n"
@yegor256
Copy link
Member

@GoogeTan try eoc --version and show what you see

@GoogeTan
Copy link
Author

GoogeTan commented Feb 7, 2024

C:\eotest>eoc --version
0.15.1
C:\eotest>

@maxonfjvipon
Copy link
Member

maxonfjvipon commented Mar 2, 2024

@GoogeTan please update eolang (new version is released) and try again. If it'll fail - please show us the program you're trying to run

@GoogeTan
Copy link
Author

GoogeTan commented Mar 24, 2024

It still fails:

[args] > hello
  QQ.io.stdout > @
    "Hello, world!\n"

@maxonfjvipon
Copy link
Member

@GoogeTan which version of eolang do you use? Could you please also provide the full error message?

@GoogeTan
Copy link
Author

C:\eotest>eoc --version
0.18.0

C:\eotest>eoc dataize game.eo
EO objects registered in .eoc\eo-foreign.json
Assembling into .eoc
[ERROR] net.sf.saxon.style.XSLMessage@10a9a437: This transformation must be applied only after you remove @method attributes from objects, using 'wrap-method-calls.xsl'
[ERROR] #fatalError(): Processing terminated by xsl:message at line 82 in set-locators.xsl; SystemID: file:///org/eolang/parser/set-locators.xsl; Line#: 82; Column#: 36
[ERROR] Processing terminated by xsl:message at line 82 in set-locators.xsl
[ERROR] 'org.eolang.maven.ShakeMojo@123b086f' execution failed
[ERROR] Processing terminated by xsl:message at line 82 in set-locators.xsl
[ERROR] Failed to execute goal org.eolang:eo-maven-plugin:0.35.6:assemble (default-cli) on project eoc: 'org.eolang.maven.AssembleMojo@49cb1baf' execution failed: java.lang.IllegalStateException: org.apache.maven.plugin.MojoFailureException: 'org.eolang.maven.ShakeMojo@123b086f' execution failed: java.io.UncheckedIOException: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Failed to transform by net.sf.saxon.jaxp.TransformerImpl: Processing terminated by xsl:message at line 82 in set-locators.xsl; SystemID: file:///org/eolang/parser/set-locators.xsl; Line#: 82; Column#: 36 -> [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/MojoFailureException
The command "C:\Users\Googl\AppData\Roaming\npm\node_modules\eolang\mvnw\mvnw.cmd eo:assemble -Deo.version=0.35.6 -Deo.hash=130afdd1456a0cbafd52aee8d7bc612e1faac547 --quiet -Deo.sourcesDir=C:\eotest -Deo.targetDir=C:\eotest\.eoc -Deo.outputDir=C:\eotest\.eoc\classes -Deo.generatedDir=C:\eotest\.eoc\generated-sources -Deo.placed=C:\eotest\.eoc\eo-placed.csv -Deo.placedFormat=csv --batch-mode --color=never --update-snapshots --fail-fast --strict-checksums" exited with #1 code

C:\eotest>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants