Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

NullPointerException on Crucible REST API ("filter?..") call

 

Hello, everyone! I try to do REST call:

https://OUR-CRUCIBLE-INSTANCE.crucible.com/rest-service/reviews-v1/filter/details?allReviewersComplete=true&fromDate=1451606400000

And early this worked. But suddenly this stops to work, and now I get 504 Gateway Time-out. REST client dumps it as:

<html>
<head><title>504 Gateway Time-out</title></head>
<body bgcolor="white">
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx/1.6.2</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->

At the same time there is the Java traceback in logs (NPE):

2017-06-05 13:15:18,162 ERROR - Exception
"null" (java.lang.NullPointerException) while processing
"/rest-service/reviews-v1/filter" (Referer:"null")

java.lang.NullPointerException

        at
org.apache.felix.framework.BundleRevisionImpl.getResourceLocal(BundleRevisionImpl.java:498)
[org.apache.felix.framework-4.2.1.jar:?]

        at
org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1505)
[org.apache.felix.framework-4.2.1.jar:?]

        at
org.apache.felix.framework.BundleWiringImpl.getResourceByDelegation(BundleWiringImpl.java:1417)
[org.apache.felix.framework-4.2.1.jar:?]

        at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.getResource(BundleWiringImpl.java:2419)
[org.apache.felix.framework-4.2.1.jar:?]

        at
javax.xml.bind.ContextFinder.loadJAXBProperties(ContextFinder.java:489)
[?:1.8.0_74]

        at javax.xml.bind.ContextFinder.find(ContextFinder.java:382)
[?:1.8.0_74]

        at
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:641)
[?:1.8.0_74]

        at
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:584)
[?:1.8.0_74]

        at
com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.getStoredJAXBContext(AbstractJAXBProvider.java:196)
[?:?]

        at
com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.getJAXBContext(AbstractJAXBProvider.java:179)
[?:?]

        at
com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.getMarshaller(AbstractJAXBProvider.java:153)
[?:?]

        at
com.sun.jersey.core.provider.jaxb.AbstractRootElementProvider.writeTo(AbstractRootElementProvider.java:151)
[?:?]

        at
com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:302)
[?:?]

        at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1510)
[?:?]

        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
[?:?]

        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
[?:?]

        at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
[?:?]

        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
[?:?]

        at
com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:159)
[?:?]

        at
com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:829)
[?:?]

        at
com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:69)
[?:?]

        at
com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugins.rest.module.servlet.RestServletUtilsUpdaterFilter.doFilterInternal(RestServletUtilsUpdaterFilter.java:22)
[?:?]

        at > [atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)
[?:?]

        at
com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)
[?:?]

        at
com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)
[?:?]

        at
com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)
[?:?]

        at
com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)
[?:?]

        at
com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58)
[atlassian-plugins-servlet-4.4.0.jar:?]

        at
com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter.doFilter(PrettyUrlsSiteMeshFixupFilter.java:32)
[?:?]

Actually, I can not say what was the reason of the breaking, after what this call become broken. Other REST endpoints work fine! We updated a version, restarted sure, but nothing changed. Can somebody help, how to workaround or even to fix it?

 

1 answer

reason was: unexpected timeout. What is the reason of so long delay - is unknown.

Suggest an answer

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

⚡️NEW Group for Confluence Cloud Admins

Calling all Confluence Cloud Admins!  We created a new Community Group to support your unique needs as Confluence admins. This is a group where you can ask questions, access resou...

106 views 2 9
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