-
Bug
-
Resolution: Fixed
-
Major
-
None
Using Jenkins 2.289 and the 4.1 version of the plugin
androidApkUpload(deobfuscationFilesPattern: '*.mapping', filesPattern: "*.${ANDROID_OUTPUT_FORMAT}", googleCredentialsId: 'Google Play Android Developer', trackName: 'production', rolloutPercentage: ROLLOUT)
produces
javax.xml.transform.TransformerException: Prefix must resolve to a namespace: android at java.xml/com.sun.org.apache.xpath.internal.compiler.XPathParser.error(XPathParser.java:621) at java.xml/com.sun.org.apache.xpath.internal.compiler.Lexer.mapNSTokens(Lexer.java:637) at java.xml/com.sun.org.apache.xpath.internal.compiler.Lexer.tokenize(Lexer.java:360) at java.xml/com.sun.org.apache.xpath.internal.compiler.Lexer.tokenize(Lexer.java:99) at java.xml/com.sun.org.apache.xpath.internal.compiler.XPathParser.initXPath(XPathParser.java:115) at java.xml/com.sun.org.apache.xpath.internal.XPath.<init>(XPath.java:178) at java.xml/com.sun.org.apache.xpath.internal.XPath.<init>(XPath.java:268) at java.xml/com.sun.org.apache.xpath.internal.jaxp.XPathImpl.compile(XPathImpl.java:162) at com.github.orrc.android.bundle.AndroidBundleMetadataParser.getXPathValue(AndroidBundleMetadataParser.java:84) at com.github.orrc.android.bundle.AndroidBundleMetadataParser.getVersionCode(AndroidBundleMetadataParser.java:46) at org.jenkinsci.plugins.googleplayandroidpublisher.internal.AndroidUtil.getAppFileMetadata(AndroidUtil.java:31) at org.jenkinsci.plugins.googleplayandroidpublisher.Util$GetAppFileMetadataTask.invoke(Util.java:61) at org.jenkinsci.plugins.googleplayandroidpublisher.Util$GetAppFileMetadataTask.invoke(Util.java:58) at hudson.FilePath.act(FilePath.java:1165) at hudson.FilePath.act(FilePath.java:1148) at org.jenkinsci.plugins.googleplayandroidpublisher.internal.UploadFile.<init>(UploadFile.java:25) at org.jenkinsci.plugins.googleplayandroidpublisher.ApkPublisher.publishApk(ApkPublisher.java:397) at org.jenkinsci.plugins.googleplayandroidpublisher.ApkPublisher.perform(ApkPublisher.java:362) at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:99) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:69) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) --------------- linked to ------------------ javax.xml.xpath.XPathExpressionException: javax.xml.transform.TransformerException: Prefix must resolve to a namespace: android at java.xml/com.sun.org.apache.xpath.internal.jaxp.XPathImpl.compile(XPathImpl.java:170) at com.github.orrc.android.bundle.AndroidBundleMetadataParser.getXPathValue(AndroidBundleMetadataParser.java:84) at com.github.orrc.android.bundle.AndroidBundleMetadataParser.getVersionCode(AndroidBundleMetadataParser.java:46) at org.jenkinsci.plugins.googleplayandroidpublisher.internal.AndroidUtil.getAppFileMetadata(AndroidUtil.java:31) at org.jenkinsci.plugins.googleplayandroidpublisher.Util$GetAppFileMetadataTask.invoke(Util.java:61) at org.jenkinsci.plugins.googleplayandroidpublisher.Util$GetAppFileMetadataTask.invoke(Util.java:58) at hudson.FilePath.act(FilePath.java:1165) at hudson.FilePath.act(FilePath.java:1148) at org.jenkinsci.plugins.googleplayandroidpublisher.internal.UploadFile.<init>(UploadFile.java:25) at org.jenkinsci.plugins.googleplayandroidpublisher.ApkPublisher.publishApk(ApkPublisher.java:397) at org.jenkinsci.plugins.googleplayandroidpublisher.ApkPublisher.perform(ApkPublisher.java:362) at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:99) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:69) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: javax.xml.transform.TransformerException: Prefix must resolve to a namespace: android at java.xml/com.sun.org.apache.xpath.internal.compiler.XPathParser.error(XPathParser.java:621) at java.xml/com.sun.org.apache.xpath.internal.compiler.Lexer.mapNSTokens(Lexer.java:637) at java.xml/com.sun.org.apache.xpath.internal.compiler.Lexer.tokenize(Lexer.java:360) at java.xml/com.sun.org.apache.xpath.internal.compiler.Lexer.tokenize(Lexer.java:99) at java.xml/com.sun.org.apache.xpath.internal.compiler.XPathParser.initXPath(XPathParser.java:115) at java.xml/com.sun.org.apache.xpath.internal.XPath.<init>(XPath.java:178) at java.xml/com.sun.org.apache.xpath.internal.XPath.<init>(XPath.java:268) at java.xml/com.sun.org.apache.xpath.internal.jaxp.XPathImpl.compile(XPathImpl.java:162) ... 19 more Caused: java.lang.RuntimeException at com.github.orrc.android.bundle.AndroidBundleMetadataParser.getXPathValue(AndroidBundleMetadataParser.java:89) at com.github.orrc.android.bundle.AndroidBundleMetadataParser.getVersionCode(AndroidBundleMetadataParser.java:46) at org.jenkinsci.plugins.googleplayandroidpublisher.internal.AndroidUtil.getAppFileMetadata(AndroidUtil.java:31) at org.jenkinsci.plugins.googleplayandroidpublisher.Util$GetAppFileMetadataTask.invoke(Util.java:61) at org.jenkinsci.plugins.googleplayandroidpublisher.Util$GetAppFileMetadataTask.invoke(Util.java:58) at hudson.FilePath.act(FilePath.java:1165) at hudson.FilePath.act(FilePath.java:1148) at org.jenkinsci.plugins.googleplayandroidpublisher.internal.UploadFile.<init>(UploadFile.java:25) at org.jenkinsci.plugins.googleplayandroidpublisher.ApkPublisher.publishApk(ApkPublisher.java:397) at org.jenkinsci.plugins.googleplayandroidpublisher.ApkPublisher.perform(ApkPublisher.java:362) at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:99) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:69) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)
There is no other feedback, except the stack trace above.