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 Sign up to comment
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 Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

1,027 views 23 13
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