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

Alexey Matveev Community Champion Dec 07, 2017

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 Join to comment
Community showcase
Bridget Sauer
Published Jan 29, 2018 in Confluence

Showcase: How LinkedIn does Content Lifecycle Management (12 Steps)

LinkedIn, the world's largest business network has an exceptionally large Confluence instance. In their case, large means millions of pages and thousands of spaces. In this Showcase, we're focusing i...

573 views 0 8
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot