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

Luca Mambretti commented on NETBEANS-2434:
------------------------------------------

I've attached a zip file containing the preinstalled plugin in an extra 
directory, to make it work you can simply drop it as in into your primary 
netbeans folder, if there is already and extra directory there you might have 
to do more work, but in a brand new 11.2 there is none.

 

This gives you the option to use the Jira plugin and it works to an extent, 
I've been able to run queries find and open issues and also managed to work 
with the commit integration that lets you add a comment to an issue when you 
commit something.

 

I've also detected some limitatins probably due to the updates in the rest of 
Netbeans, mainly ClassCastException and some random NPEs like the following:

 

java.lang.ClassCastException: class java.awt.FlowLayout cannot be cast to class 
javax.swing.GroupLayout (java.awt.FlowLayout and javax.swing.GroupLayout are in 
module java.desktop of loader 'bootstrap')

 

java.lang.NullPointerException
 at org.netbeans.modules.jira.issue.IssuePanel.reloadField(IssuePanel.java:1004)
 at org.netbeans.modules.jira.issue.IssuePanel.reloadField(IssuePanel.java:993)
 at org.netbeans.modules.jira.issue.IssuePanel.reloadForm(IssuePanel.java:781)

 

This is most probably due to the JIRA plugin itself not being 100% compatible 
with the latest NetBeans bits, and it turns out you cannot really use the 
issues panel for this since it comes up all right but not all of the content 
that should be there loads and all operations I've tried run into one of the 2 
Exceptions I've mentioned and fail, I've tried the same in an old 8.2 and there 
everything works as expected, but you still need to manually install the extra 
hack.

 

Again this all feels very wrong to me but I simply don't have the time to clone 
the sources and properly sort out the problems.

 

> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to