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

Does not work with specific JDK #16

Open
b-pos465 opened this issue Aug 10, 2021 · 0 comments
Open

Does not work with specific JDK #16

b-pos465 opened this issue Aug 10, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@b-pos465
Copy link
Member

We encountered the following error:

2021-07-19 19:50:41.181 [main] INFO JiraScannerPlugin - Jira plugin looks for files named 'jira-plugin-configuration.xml'.
Exception in thread "httpclient-io:thread-1" java.lang.NoSuchMethodError: 'void org.apache.http.util.Asserts.check(boolean, java.lang.String, java.lang.Object)'
        at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:313)
        at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221)
        at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64)
        at java.base/java.lang.Thread.run(Thread.java:829)
Exception in thread "main" com.buschmais.jqassistant.core.scanner.impl.UnrecoverableScannerException: Unexpected problem encountered while scanning: item='jira-plugin-configuration.xml', path='/home/yuri/Code/uni-ssf/jqassistant/jqassistant-commandline-neo4jv3-1.8.0/jira-plugin-configuration.xml', scope='NONE', pipeline='[com.buschmais.jqassistant.plugin.common.impl.scanner.FileResourceScannerPlugin@5186b78a, org.jqassistant.contrib.plugin.jira.scanner.JiraScannerPlugin@301f9aa0]'. Please report this error including the full stacktrace (continueOnError=false).
        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerImpl.java:100)
        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerImpl.java:59)
        at com.buschmais.jqassistant.plugin.common.impl.scanner.FileScannerPlugin.scan(FileScannerPlugin.java:35)
        at com.buschmais.jqassistant.plugin.common.impl.scanner.FileScannerPlugin.scan(FileScannerPlugin.java:21)
        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerImpl.java:120)
        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerImpl.java:80)
        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerImpl.java:59)
        at com.buschmais.jqassistant.commandline.task.ScanTask.scan(ScanTask.java:96)
        at com.buschmais.jqassistant.commandline.task.ScanTask.executeTask(ScanTask.java:77)
        at com.buschmais.jqassistant.commandline.task.AbstractStoreTask.run(AbstractStoreTask.java:47)
        at com.buschmais.jqassistant.commandline.Main.executeTask(Main.java:254)
        at com.buschmais.jqassistant.commandline.Main.executeTasks(Main.java:203)
        at com.buschmais.jqassistant.commandline.Main.interpretCommandLine(Main.java:195)
        at com.buschmais.jqassistant.commandline.Main.run(Main.java:78)
        at com.buschmais.jqassistant.commandline.Main.main(Main.java:49)
Caused by: com.atlassian.httpclient.api.ResponseTransformationException: java.lang.NoSuchMethodError: 'void org.apache.http.util.Asserts.check(boolean, java.lang.String, java.lang.Object)'
        at com.atlassian.httpclient.api.DefaultResponseTransformation$DefaultResponseTransformationBuilder.lambda$defaultThrowableHandler$1(DefaultResponseTransformation.java:202)
        at io.atlassian.util.concurrent.Promises.lambda$biFunction$7(Promises.java:424)
        at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:930)
        at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:946)
        at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2266)
        at io.atlassian.util.concurrent.Promises$OfStage.lambda$newPromise$5(Promises.java:369)
        at io.atlassian.util.concurrent.Promises$OfStage.fold(Promises.java:337)
        at com.atlassian.httpclient.api.WrappingResponsePromise.transform(WrappingResponsePromise.java:89)
        at com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient.callAndParse(AbstractAsynchronousRestClient.java:138)
        at com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient.callAndParse(AbstractAsynchronousRestClient.java:152)
        at com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient.getAndParse(AbstractAsynchronousRestClient.java:69)
        at com.atlassian.jira.rest.client.internal.async.AsynchronousMetadataRestClient.getServerInfo(AsynchronousMetadataRestClient.java:121)
        at org.jqassistant.contrib.plugin.jira.jjrc.DefaultJiraRestClientWrapper.retrieveServerInfo(DefaultJiraRestClientWrapper.java:53)
        at org.jqassistant.contrib.plugin.jira.scanner.builder.ServerInfoBuilder.handleServerInfo(ServerInfoBuilder.java:26)
        at org.jqassistant.contrib.plugin.jira.scanner.GraphBuilder.startTraversal(GraphBuilder.java:64)
        at org.jqassistant.contrib.plugin.jira.scanner.JiraScannerPlugin.buildCompleteDescriptorGraph(JiraScannerPlugin.java:126)
        at org.jqassistant.contrib.plugin.jira.scanner.JiraScannerPlugin.scan(JiraScannerPlugin.java:95)
        at org.jqassistant.contrib.plugin.jira.scanner.JiraScannerPlugin.scan(JiraScannerPlugin.java:25)
        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerImpl.java:120)
        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerImpl.java:84)

The error remains even with the same plugin and jQAssistant version that works on another machine.

Details:

OS: Ubuntu 20.04 64bit
JDK: https://jdk.java.net/java-se-ri/11

@b-pos465 b-pos465 added the bug Something isn't working label Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant