NullPointerException during Installation

I have installed Jira using the command line installation tool.

Furthermore, jira is connected with an Apache2 webserver using an ajp connector (https is used).

Jira is starting smoothly, but opening the installation url in a webbrowser returns HTTP Status 500 instead of presenting the installation wizard.

The 500-Page reports a





In the localhost log file of the jira installation, I noticed the following exception:

Nov 5, 2012 3:46:56 PM org.apache.catalina.core.ApplicationDispatcher invoke

SEVERE: Servlet.service() for servlet jsp threw exception

com.atlassian.jira.util.dbc.Assertions$NullArgumentException: jiraLicenseService should not be null!

at com.atlassian.jira.util.dbc.Assertions.notNull(

But as long as I am not abble to open the installation wizard, I don't know my Server ID to order a license and I don't know how to set the license.

Please give me any advise how to solve this issue.

Thanks a lot


2 answers

1 accepted

1 vote
Accepted answer

Hi Fagner,

thanks a lot for your hints.

At the end, I figured out, my configuration was fine, but the setup wizard must be executed without an apache in front JIRA.

I did not investigate the reason for this, but when I shutted down apache and configured JIRA's Tomcat to port 80, the setup wizard ran smoothly. Afterwards I closed JIRA's http connector, started Apache and now JIRA works fine also through the AJP connector.

Thanks again for your reply!

Hi Benjamin,

What's your JIRA and Apache version?

Furthermore is JIRA connected with an external DB or it's connected with HSQL?

As you metioned you're using AJP connector I'd like to point out there are two diffetent ways to configure it has different settings to Apache 2.0.X and 2.2x or newer, it can be clarified in Configuring Apache Reverse Proxy Using the AJP Protocol also Integrating JIRA with Apache documentation.

As an extra tip you could also check out in Installing JIRA documentation, once it sounds like JIRA can't find the License into data base.

I hope it helps.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

936 views 3 9
Read article

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