Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to vote with Confluence Questions

Hi,

 

We just added Questions for Confluence plugin to our "self hosted" instance of Confluence.

Everything seems to be working fine except that we cannot use the vote feature.

Each time we try to vote we received an http 500 error from the REST API : 

https://****/rest/questions/1.0/question/26314816/vote/up

 

We checked that the option to restrict user actions based on reputation is not enabled before posting.

 

The error received is :

{"status-code":500,"stack-trace":"java.lang.NullPointerException\n\tat com.atlassian.plugins.rest.common.security.jersey.XsrfResourceFilter.mediaTypeToString(XsrfResourceFilter.java:91)\n\tat com.atlassian.plugins.rest.common.security.jersey.XsrfResourceFilter.isXsrfable(XsrfResourceFilter.java:76)\n\tat com.atlassian.plugins.rest.common.security.jersey.XsrfResourceFilter.filter(XsrfResourceFilter.java:54)\n\tat com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:277)\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)\n\tat com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)\n\tat com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)\n\tat com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)\n\tat com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)\n\tat com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178)\n\tat com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:795)

 

Can somebody help us please, we're stuck using the plugin without the voting feeature.

 

Thanks.

Regards.

1 answer

0 votes

Hi @Michaël Merkel

sounds a little bit like our problem at the beginning with questions addon. 

Do you use SSO? We had the problem that our SSL certificate didn't fit together with the app we were running for SSO. Could this be your problem too?

Hi @Fabienne Gerhard,

 

Thank you for the quick reply.

What king of SSO ? Between Confluence and the Questions plugin ?

I did not find any configuration related to Questions plugin neither to define login/password or SSO parameters, nor in the global Confluence config.

 

From where did you set up these connection details/SSO between Confluence and Questions ?

 

Thank you.

 

Regards.

Hi @Michaël Merkel

We used a SSO connector that we got from an Atlassian Partner that supports us with Confluence, JIRA aso.

I thought maybe you are having a similar problem when using SSO + SSL certificates. 

Another problem was that web.xml files for Confluence and Questions used different security constraints which were interpreted differently by different browsers

Hope this can give you a push in the right direction.

Best regards

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Asked in Jira Service Desk

Calling all Insight users, we need your help!

Hello Insight users,  As part of our (Mindville's) acquisition by Atlassian, our training team is looking to build some new Insight training materials. It would really helpful if you can ...

163 views 1 1
View question

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you