RemoteApiException: JSONException: JSONObject["loginCount"] not found

Description

There is an issue I have tested on IDEA 12.1.4 and IDEA 13 EAP, with the plugin 3.0.11 and 3.0.12-SNAPSHOT.
I open the "Project Settings" dialog window and in the tab "Servers" add new JIRA server.
Then I push the "Test Connection" button and receive the mentioned RemoteApiException

I have examined the documentation and figure out it is something related to to the GET method REST API request at /rest/auth/1/session
The JSON result of that method is supposed to have the loginInfo field with the loginCount field within.
I have examined the results of the mentioned request
https://jira.atlassian.com/rest/auth/1/session - the loginInfo field is filled
https://jira.company.com/rest/auth/1/session - the loginInfo field is empty
This weird bug is truly a showstopper in the latest versions of the plugin since I can not even add the JIRA server to interact with.
Why does the plugin require that field and why is it empty and how to fix that?
Whether is the plugin compatible with JIRA 5.2.6 yet?

This bug was also filed as https://jira.atlassian.com/browse/INTPLUG-335 but there seems to be no attention anymore.

By the way, on IDEA 12.1.4 the plugin version 3.0.10 worked fine, so the bug was introduced with version 3.0.11 and still remains there.

Environment

Gentoo Linux 3.4.4
JRE 1.7.0_05-b05 amd64
IntelliJ IDEA IU-129.713 (12.1.4 Release)
IntelliJ IDEA IU-132.106 (13 EAP)
Atlassian Connector for IntelliJ IDEA 3.0.11, SVN:1306101201
Atlassian Connector for IntelliJ IDEA 3.0.12-SNAPSHOT, SVN:1309092000
Atlassian JIRA 5.2.6

Activity

Show:
Ilia Sretenskii
September 10, 2013, 8:44 AM

, I am glad to see this bug is fixed so quickly.

I have already tried the "Check Now" button of the "General" tab of the plugin's "Global Settings", but it says I have the latest version (3.0.12-SNAPSHOT, SVN:1309092000).

But how can I update the installed plugin now?

Janusz Gorycki
September 10, 2013, 8:53 AM

the bug is not fixed just yet - I have only scheduled it for fixing rather soon

Ilia Sretenskii
September 30, 2013, 10:23 AM

Thanks for for the fix, Janusz!

Assignee

Janusz Gorycki

Reporter

Ilia Sretenskii

Add-on Type

None

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Components

Sprint

None

Fix versions

Affects versions

Priority

Blocker
Configure