Cannot create issue because of 'Cannot invoke method getValidators() on null object' error

My situation is related to the one described here:

https://answers.atlassian.com/questions/121287/unable-to-create-jira-issue-error-creating-issue-cannot-invoke-method-getvalidators-on-null-object

But the difference of my case is that:

  1. There are no hidden fields at my screens.
  2. Only one type of issue cannot be created, that's 'Bug' in my case.
  3. Error is gone when I disable Behaviours plugin, but even though I have deleted all behaviours, error still appears when plugin is enabled.
  4. I have enabled/disabled plugin many times, deleted all behaviours, uninstalled it and installed again. Nothing helps.
  5. Neither SQLFeed nor nFeed plugins are used. 'Database custom field' plugin is used in many places though.

JIRA version: 5.1.[768]

Behaviours version: 0.5.3

Unfortunately I do not have access to the JIRA logs on the server side, so cannot provide more detailed information on the issue.

I need to use behaviours plugin for many tasks, but the situation with 'getValidators' error is a real blocker for me. I cannot enable plugin and proceed with JIRA customization until I get this issue resolved. I would really really appreciate your help on the matter

8 answers

1 accepted

This widget could not be displayed.

Issue has been resolved by disabling behaviours plugin modules hideable-textfield and hideable-textarea

This widget could not be displayed.

Without logs it's difficult... maybe you could me a backup of your db. Not sure how else to proceed.

This widget could not be displayed.

Jamie,

Following request has been created: https://jamieechlin.atlassian.net/browse/JBHV-192

it has screenshot and jira logs in attachments.

This widget could not be displayed.

Without logs it's difficult... maybe you could me a backup of your db. Not sure how else to proceed.

Jamie, what specifically do you want to see in the db dump? I am afraid I cannot share whole database, but I can export some specific tables.

This widget could not be displayed.

You could examine workflow, look for validators.

You could also paste workflow xml here, so we could examine it with you. There is some validator that is missing. If you don't require just delete it, or use different.

In workflow XML valiators are in <validators> </validators> tag. Example:

&lt;validators&gt;
        &lt;validator name="" type="class"&gt;
          &lt;arg name="class.name"&gt;com.atlassian.jira.workflow.validator.PermissionValidator&lt;/arg&gt;
          &lt;arg name="permission"&gt;Create Issue&lt;/arg&gt;
        &lt;/validator&gt;
&lt;/validators&gt;

This widget could not be displayed.

No, that won't help. I will take a look at it at the weekend. I will probably need the behaviour in question as xml - think you can click advanced or edit or something from the behaviours list.

This widget could not be displayed.

Having the same issue as in JBHV-192, any idea when this will be fixed? Running JIRA 6.0.8 and plugin 0.5.9 and tried 0.5.10 but same error. Thanks.

This widget could not be displayed.

Having the same issue as in JBHV-192, any idea when this will be fixed? Running JIRA 6.0.8 and plugin 0.5.9 and tried 0.5.10 but same error. Thanks.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

226 views 3 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you