Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

getting null pointer exception in Plugin rest

Edited

Hi,

I was trying to perform a search jira through confluence. I am getting the following exception ,

java.lang.NullPointerException
    at com.atlassian.confluence.plugins.jira.AbstractProxyServlet.doProxy(AbstractProxyServlet.java:148)

 

Versions

JIRA v7.6.0
Confluence 6.3.1

And the URL tested

http://ipdc-audio-d02:8090/plugins/servlet/applinks/proxy?appId=b011ce93-79b2-3876-8aa3-a39896872ed6&path=http://ipdc-audio-d02:8089/rest/api/latest/search/?jql=key=SR-55

 

UPDATE

I tried without specifiying jql still I get same excepotion

http://ipdc-audio-d02:8090/plugins/servlet/applinks/proxy?appId=b011ce93-79b2-3876-8aa3-a39896872ed6&path=http://ipdc-audio-d02:8089/rest/api/latest/search/

1 comment

Hello,

If you use Confluence Rest API, then the parameter is called cql not jql

Have a look here

https://docs.atlassian.com/atlassian-confluence/REST/6.5.2/#content-search

I tried with the following but still no luck,

 

http://ipdc-audio-d02:8090/plugins/servlet/applinks/proxy?appId=b011ce93-79b2-3876-8aa3-a39896872ed6&path=http://ipdc-audio-d02:8089/rest/api/latest/search/

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Confluence

You’re invited: Confluence for MS Teams Live demo + Q&A

This past summer, we joined forces with Microsoft Teams as a part of our mission to help your team collaborate better, starting with more effective meetings. We released a new and improved Confluence...

86 views 0 1
Read article

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