Issue Details (XML | Word | Printable)

Key: CMMT-14
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Ferenc Kiss
Reporter: Peter McCarthy
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JIRA Commit Acceptance

The RPC call contained within perl script "jira-client.pl" returns a NULL string as result

Created: 21/Jun/07 09:39 AM   Updated: 08/Sep/07 02:32 PM
Component/s: None
Affects Version/s: 1.1
Fix Version/s: 1.2
Security Level: public (Anyone can view the issue)

Time Tracking:
Not Specified

File Attachments: 1. Text File jira-client.pl.patch (1 kB)

Environment:
svn server and jira server running on x86_64 Linux, FC 6.
Jira version: 3.8.1 Professional Standalone

Labels:


 Description  « Hide
The following line contained in the jira-client.pl returns a NULL result to variable result.
"$result = $s->call("commitacc.acceptCommit", $jiraLogin, $jiraPassword, $committer, $commitMessage)->result();"

The fn itself seems to be executed sucessfully as the calls inside the eval statement do not throw an exception. However the value of $result after the call is uninitialised.

The JIRA server logs give no indication of any error.
The .../logs/catalina.out doesn't record any errors or warnings.
The .../logs/access log simply record the http POST request ->
"192.168.25.10 - - [21/Jun/2007:15:09:53 +0100] "POST /rpc/xmlrpc HTTP/1.1" 200 429 0.002"



 All   Comments   Work Log   Change History   FishEye   Crucible   Builds      Sort Order: Ascending order - Click to sort in descending order
Ferenc Kiss added a comment - 31/Aug/07 02:28 AM
Can you give us more details on this? What are the values of the arguments you pass to the evaluator service?

Gunnar Wagenknecht added a comment - 03/Sep/07 09:50 AM
We are also affected by the issue. It turns out that the issue was "unassigned" and we require the issue to be assigned to the developer. The server returned null in this case. No error was logged on the server.

Gunnar Wagenknecht added a comment - 03/Sep/07 10:04 AM
I made the following changed to the perl script as a workaround till the server side is fixed.

Ferenc Kiss added a comment - 08/Sep/07 02:32 PM
This was caused by wrong exception handling in the serverside: a NullPointerException was caught, but not logged.
This has been fixed in 1.2.