Server error and NPE on accessing any page for logged in users

I've just upgraded from 4.5 to 5.3. I used msi installed on Windows. I pointed it to my home directory and it succeded.

First run was successful - I could open Dashboard and saw all public projects/repositories.

Then I logged in (I tried both AD/local users) and everything broken - right after login I'm getting 500 internal server error on any page.

Web server returns Tomcat error page:

com.google.template.soy.tofu.SoyTofuException: When evaluating "webResourceManager_includeResources()": While computing function "webResourceManager_includeResources()": null

In logs I can see this (only the first exception is shown):

2017-08-16 20:09:30,183 ERROR [http-nio-83-exec-7] UserUser @82NP6Ux1209x75x0 17xzcc8 0:0:0:0:0:0:0:1 "GET /dashboard HTTP/1.1" o.a.c.c.C.[.[.[/].[springMvc] Servlet.service() for servlet [springMvc] threw exception
java.lang.NullPointerException: null
    at com.atlassian.nps.plugin.bitbucket.SupportEntitlementNumberDataProvider.getSEN(SupportEntitlementNumberDataProvider.java:35)
    at com.atlassian.nps.plugin.bitbucket.SupportEntitlementNumberDataProvider.get(SupportEntitlementNumberDataProvider.java:21)
    at com.atlassian.nps.plugin.bitbucket.SupportEntitlementNumberDataProvider.get(SupportEntitlementNumberDataProvider.java:9)
    at com.atlassian.plugin.webresource.impl.config.Config.getWebResourceData(Config.java:1108)
    at com.atlassian.plugin.webresource.impl.snapshot.WebResource.getData(WebResource.java:77)
    at com.atlassian.plugin.webresource.impl.helpers.UrlGenerationHelpers.buildDataResources(UrlGenerationHelpers.java:355)
    at com.atlassian.plugin.webresource.impl.helpers.UrlGenerationHelpers.resolve(UrlGenerationHelpers.java:224)
    at com.atlassian.plugin.webresource.assembler.DefaultWebResourceAssembler$1.resolve(DefaultWebResourceAssembler.java:86)

 

P.S. I'm sorry for creating a duplicate question, but for some reason my previous question was marked as S.P.A.M. so it has no chance to be shown for other users.

1 answer

0 vote
Jeff Thomas Atlassian Team Aug 21, 2017

Hi Sergei,

Based on the stacktrace, I suspect the issue lies with the license being used for Bitbucket Server. In order to take a closer look and provide more information in a private channel, could you raise a support request at https://support.atlassian.com and provide a link to this ticket as well as your license?

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
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

25,674 views 26 12
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