RE: AssertionFailedException when trying to create JIRA bug

Thomas Reimer, geändert vor 14 Jahren.

AssertionFailedException when trying to create JIRA bug

Youngling Beiträge: 9 Beitrittsdatum: 11.11.10 Neueste Beiträge
Hello,

first of all: Thank you for the very nice test management system Klaros. That exactly what I was looking for. Except one thing everything works fine:

Using Klaros 3.2.1 I get an exception everytime I try to create a JIRA issue after executing a test case:

"Der Issue konnte nicht gespeichert werden.: org.eclipse.core.runtime.AssertionFailedException: null argument:"

As I realized this exception occures when there is no version specified in the referred JIRA project (only the default "unspecified" version is selected in that case). Linking the issue to a specified version (e.g. 1.0) the creation works properly. Is it really neccessary to define version in every JIRA project to link issues by Klaros? In my oppinion issue linking should also be possible if there is only the "unspecified" one existing.

I also get this exception when no component in the list is selected. In that case it would be nice if an error message could be displayed saying that a component has to be selected rather then getting the exception.

Regards,
Thomas
thumbnail
Torsten Stolpmann, geändert vor 14 Jahren.

RE: AssertionFailedException when trying to create JIRA bug

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi Thomas,

first of all: Thank you for the very nice test management system Klaros. That exactly what I was looking for.


Thanks for your kind words!

As I realized this exception occures when there is no version specified in the referred JIRA project (only the default "unspecified" version is selected in that case). Linking the issue to a specified version (e.g. 1.0) the creation works properly. Is it really neccessary to define version in every JIRA project to link issues by Klaros?


This is a bug (tracked as KLAROS-1060 - AssertionFailedException when trying to create JIRA issue with unselected Jira version/component field). The fix is scheduled for the next maintanance release (3.2.2).

Thanks for spotting and reporting this!

Regards,

Torsten
thumbnail
Torsten Stolpmann, geändert vor 13 Jahren.

RE: AssertionFailedException when trying to create JIRA bug

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Thomas,

your Jira installation seem to be customized to set the version attribute as mandatory. This information is not available via the remote API Jira currently offers, so we are unable to flag it as mandatory in the UI.

Nonetheless we changed the behavior in 3.2.2 to a give a precise error message in that case.

Hope this helps. Regards,

Torsten