ANN: Jira Browser 0.1.5
It's taken awhile, but I've finally uploaded a new build of the JIRA
browser:
Release Notes - Intellij Plugin - Version 0.1.5.1
Bug
on saving settings
of any IssueBrowserPanel
servers
dialog
New Feature
Improvement
This should work fine on any recent EAP, I've not tried it on the released
4.5 so not sure if it works there ( build-since is set to 3095, can't
remember if that was EAP or not? )
Please sign in to leave a comment.
On Tue, 22 Feb 2005 at 20:10 GMT, Chris Sherratt wrote:
Not explicitly no.... But if the system properties are set with the proxy
settings, afaik the plugin would use them?
Mmmmm, whats the error you got? I've used the Jetbrains server using
http://jetbrains.net/jira ( don't include the /secure ) and its fine.
Mark
On Tue, 22 Feb 2005 at 20:25 GMT, Mark Derricutt wrote:
Uploaded a new build...
Tried http://jetbrains.net/jira as well.
No luck.
Can only reproduce this problem at work, so error message will have to wait until tomorrow.
On Tue, 22 Feb 2005 at 21:51 GMT, Chris Sherratt wrote:
:( As sad as it is - I look forward to your bug report...
Hopefully we can get it solved quickly...
Mark
Ok - using latest version (0.1.6).
(Am almost certain this is a proxy problem - I don't get this when I try from home with no proxy)
When I enter the base url of "http://jetbrains.net/jira" and click on add project, the Add Project dialog displays a message "NOTE: JIRA Server is earlier than 2.6 or has RPC disabled."
Cancel the add project dialog and click on OK - get dialog "Unable to contact server: http://jetbrains.net/jira"
(wouldn't it make more sense to display this when trying to add projects?)
and also an exception is thrown:
com.talios.jira.JiraException: RPC Not Supported: jetbrains.net
at com.talios.jira.JiraRpcClient.login(JiraRpcClient.java:53)
at com.talios.jira.JiraRpcClient.getListFromRPCMethod(JiraRpcClient.java:61)
at com.talios.jira.JiraRpcClient.getPriorities(JiraRpcClient.java:91)
at com.talios.jira.browser.signals.JiraServerDetails.refreshLists(JiraServerDetails.java:237)
at com.talios.jira.idea.JiraConfigurationComponent.apply(JiraConfigurationComponent.java:245)
at com.intellij.openapi.options.ex.ExplorerSettingsEditor.apply(ExplorerSettingsEditor.java:115)
at com.intellij.openapi.options.ex.ExplorerSettingsEditor.doOKAction(ExplorerSettingsEditor.java:113)
at com.intellij.openapi.ui.DialogWrapper$OkAction.actionPerformed(DialogWrapper.java:836)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:28)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:49)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:126)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:23)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:121)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:733)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showExplorerOptions(ShowSettingsUtilImpl.java:24)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:5)
at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:5)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:3)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:29)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:28)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:49)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:126)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
On Wed, 23 Feb 2005 at 11:32 GMT, Chris Sherratt wrote:
Hmmmmm, the exception doesn't really give me any info other than where its
dying, unfortunately.
How are you configuring your proxy and what kind is it?
Do you mean you're modifying your IDEA launch scripts to specific proxy
information, or is this some transparant HTTP proxy, or a NATed
connection?
Mark
Just configuring it in the IDEA plugin mgr HTTP proxy dialog.
(this really should be an app wide setting, not just the plugin mgr - there's a defect open regarding this).
Need to pick up proxy details from this.
I've been taking a look at Jira Browser source code lately, and it doesn't seems to make use of the configured proxy. Actually, no plugin could do that before #3216, and since JetBrains never announces changes in OpenAPI, I doubt any plugin do that.
Anyway... HttpConfigurable is now exposed in the OpenAPI (IDEADEV-305[/url]), and we need to issue a call-to-arms to all plugin writers to take advantage of it... as soon as JetBrains teach us how to do that; the javadocs for HttpConfigurable aren't exactly of an outstanding quality.
On Thu, 24 Feb 2005 at 12:31 GMT, Marcus Brito wrote:
Do I need to hide in shame? :)
Which build is this fixed in? That issue doesn't mention...
Selected 'View issue in browser' and got the following error (no proxy this time).
Error during dispatching of java.awt.event.MouseEvent[MOUSE_CLICKED,(290,572),button=1,modifiers=Button1,clickCount=2] on frame0
java.lang.NullPointerException
at com.talios.jira.browser.IssueBrowserPanel$ViewSelectedIssueInBrowserAction.viewSelectedIssueInBrowser(IssueBrowserPanel.java:340)
at com.talios.jira.browser.IssueBrowserPanel$ViewSelectedIssueInBrowserAction.actionPerformed(IssueBrowserPanel.java:326)
at com.talios.jira.browser.IssueBrowserPanel$2.mouseClicked(IssueBrowserPanel.java:122)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
at java.awt.Component.processMouseEvent(Component.java:5103)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3207)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:101)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:70)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:148)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
one more thing - displayed unresolved issues from the idea jira and tried to sort by Key (wanted to see what was in specific project).
The sorted order was somewhat odd:
IDEABKL-1
IDEADEV-1
IDEABKL-2
IDEADEV-2
etc.
Mark Derricutt wrote:
>>I've been taking a look at Jira Browser source code lately, and it
>>Anyway... HttpConfigurable is now exposed in the OpenAPI
>>(IDEADEV-305[/url]),
3216. There's a "fixed in build" field.
On Thu, 24 Feb 2005 at 12:31 GMT, Marcus Brito wrote:
Anyone have any examples? Little short of taking the data in it and
setting the system properties for proxy (proxySet proxyHost proxyPort etc.
) myself I don't see what one could do...
On Thu, 24 Feb 2005 at 21:16 GMT, Chris Sherratt wrote:
Is this reproducable? I can't seem to trigger it here, and the stacktrace
doesn't seem to line up properly currently (well, seems displaced a few
lines, so I could hazard a guess to what where the issue actually is, but
not entirely sure )...
On Thu, 24 Feb 2005 at 21:41 GMT, Chris Sherratt wrote:
Had to think on this a moment, this is actually caused by a "bugfix" I did
awhile ago, the sorting on the Key column is sorting on the key-value (1,
2, ....) and not the keystring. This as to solve sorting say IDEA-102
before IDEA-2.
This was fine with the blind assumption of working with only one JIRA
project, which matches up with the code you're working on, but falls down
when you add multiple projects in this case...
doh
Entered as INTPLUG-172 ( http://jira.atlassian.com/browse/INTPLUG-172 )
Mark
Call HttpConfigurable.getInstance().prepareUrl(url) with url somewhere in
the site you're connecting to before making actual http connection.
Kinda wierd. I'll look into making more obvious.
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
>> Anyway... HttpConfigurable is now exposed in the OpenAPI
>> (IDEADEV-305[/u
>> rl]), and we need to issue a call-to-arms to all plugin writers to
>> take advantage of it... as soon as JetBrains teach us how to do that;
>> the javadocs for HttpConfigurable aren't exactly of an outstanding
>> quality.
>>
On Fri, 25 Feb 2005 08:49:47 +0000, Maxim Shafirov wrote:
Hmmm, does it -matter- what URL is used? Or do I need to do this for
-every- URL, including any dynamically generated one?