Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,833
Community Members
 
Community Events
165
Community Groups

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

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

768 views 5 21
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