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

java.lang.NullPointerException

com.atlassian.jira.user.preferences.UserPreferencesResetInterceptor.afterLogin(UserPreferencesResetInterceptor.java:23)

com.atlassian.seraph.filter.PasswordBasedLoginFilter.runAfterLoginInterceptors(PasswordBasedLoginFilter.java:158)

exception.

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(Assertions.java:28)

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

Benjamin

2 answers

1 accepted

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!
Benjamin

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.

Cheers

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

622 views 6 12
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