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

Exception while creating XmlStuff #1866

Open
xspecDevelopper opened this issue Feb 15, 2024 · 1 comment
Open

Exception while creating XmlStuff #1866

xspecDevelopper opened this issue Feb 15, 2024 · 1 comment

Comments

@xspecDevelopper
Copy link

I have an error when using xspec 2.3.2 with saxon 12.4

fulle stacktrace :
io.xspec.maven.xspecMavenPlugin.utils.XSpecPluginException: Cannot invoke "javax.xml.transform.URIResolver.resolve(String, String)" because "this.saxonResolver" is null
at io.xspec.maven.xspecMavenPlugin.utils.XmlStuff. (XmlStuff.java:154)
at io.xspec.maven.xspecMavenPlugin.XSpecRunner.init (XSpecRunner.java:130)
at uk.org.adamretter.maven.XSpecMojo.execute (XSpecMojo.java:368)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)

i use version 2.2.0 of xspec maven plugin error with phase run-xspec : no execution has been done. processedFiles is null

any help ??

@galtm
Copy link
Collaborator

galtm commented Feb 15, 2024

I see that you also reported this problem as xspec/xspec-maven-plugin-1#76. My hunch is that the xspec-maven-plugin-1 repo is the better place to start investigating, but we can keep this issue open for a while in case it turns out to need investigation or code changes in this repo.

In case you need an immediate workaround, consider one of the other Maven plugins mentioned at https://github.com/xspec/xspec/wiki/Running-with-Maven. For example, I am able to use the plugin from nkutsche with XSpec 2.3.2 and Saxon 12.4 (my sample pom.xml).

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

2 participants