You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "bilu (Jira)" <ji...@apache.org> on 2020/03/02 10:20:00 UTC

[jira] [Commented] (NETBEANS-2434) Can't install JIRA plugin

    [ https://issues.apache.org/jira/browse/NETBEANS-2434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17049002#comment-17049002 ] 

bilu commented on NETBEANS-2434:
--------------------------------

Hello [~Irian], thanks you very much for sharing your workaround.

I have been able to get the plugins enable with the panel to enter Jira server URL and credentials. 

But the connection fail with a classcastException:

SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.jira.repository.JiraRepository$2SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.jira.repository.JiraRepository$2java.lang.LinkageError: ClassCastException: attempting to castjar:file:/C:/Users/XXXXX/AppData/Roaming/NetBeans/11.1/modules/ext/org.radar.radar-netbeans/javax-ws-rs/javax.ws.rs-api.jar!/javax/ws/rs/ext/RuntimeDelegate.classtobundleresource://251.fwk1940656574:3/javax/ws/rs/ext/RuntimeDelegate.class at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:116) at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91) at javax.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:69) at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:80) at com.atlassian.jira.rest.client.internal.jersey.JerseyJiraRestClient.<init>(JerseyJiraRestClient.java:64) at com.atlassian.jira.rest.client.internal.jersey.JerseyJiraRestClientFactory.create(JerseyJiraRestClientFactory.java:39) at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter.<init>(JiraRestClientAdapter.java:159) at 

.......

Hope this will be fixed soon. 
Regards

> Can't install JIRA plugin
> -------------------------
>
>                 Key: NETBEANS-2434
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2434
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 9.0, 10.0, 11.0, 12.0, 11.1, 11.2
>            Reporter: Ray Slater
>            Priority: Major
>         Attachments: extra.zip
>
>
> I'm trying to install the Jira plugin in Netbeans 11, but it fails to download the REST client from atlassian:
> {noformat}
> SEVERE [org.netbeans.modules.autoupdate.ui.wizards.InstallStep]
> msg
> Caused: org.netbeans.api.autoupdate.OperationException[INSTALL]: Cannot resolve external reference to https://maven.atlassian.com/content/repositories/public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar
> at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:768)
> at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:642)
> at org.netbeans.modules.autoupdate.services.InstallSupportImpl.access$600(InstallSupportImpl.java:73)
> at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:153)
> at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:125)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [catch] at java.lang.Thread.run(Thread.java:745)
> There were some problems while storing JIRA REST Client.
> Cause: Cannot resolve external reference to https://maven.atlassian.com/content/repositories/public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar
> {noformat}
> Searching threw up this old Bugzilla: [https://netbeans.org/bugzilla/show_bug.cgi?id=244014]
> In that Bugzilla there are 2 links & the solution suggests that both would be tried in a fixed version.
> For me, this link works: 
>  [https://maven.atlassian.com/content/repositories/atlassian-public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar]
> but this link fails:
>  [https://maven.atlassian.com/content/repositories/public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists