com.atlassian.jira.util.dbc.Assertions$NullArgumentException: url should not be null!

Atlassian JIRA | Zulfadli Noor Sazali [Atlassian] | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    h4. Summary Getting 500 Page Error while browsing issues. The following error thrown in the logs: {noformat}2015-03-04 07:29:30,026 http-bio-8443-exec-5039 ERROR XXXX 449x6581431x2 XXXX 127.0.0.1 /i [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: com.atlassian.jira.util.dbc.Assertions$NullArgumentException: url should not be null! com.atlassian.jira.util.dbc.Assertions$NullArgumentException: url should not be null! at com.atlassian.jira.util.dbc.Assertions.notNull(Assertions.java:29) at com.atlassian.jira.plugin.webfragment.model.SimpleLinkImpl.<init>(SimpleLinkImpl.java:71) at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.convertWebItemToSimpleLink(DefaultSimpleLinkManager.java:228) at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinks(DefaultSimpleLinkManager.java:184) at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinksForSectionIgnoreConditions(DefaultSimpleLinkManager.java:138) <+2> (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483){noformat} h4. Steps to reproduce There isn't any steps known at the moment. h4. Actual Results Facing 500 page error while browsing issues h4. Expected Results Having a (broken) link without any url value should not cause a 500 page _but_ continue to load and render the Issue View page with warnings that there are errors which can be found in the logs. h4. Workaround Restart JIRA

    Atlassian JIRA | 2 years ago | Zulfadli Noor Sazali [Atlassian]
    com.atlassian.jira.util.dbc.Assertions$NullArgumentException: url should not be null!
  2. 0

    h4. Summary Getting 500 Page Error while browsing issues. The following error thrown in the logs: {noformat}2015-03-04 07:29:30,026 http-bio-8443-exec-5039 ERROR XXXX 449x6581431x2 XXXX 127.0.0.1 /i [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: com.atlassian.jira.util.dbc.Assertions$NullArgumentException: url should not be null! com.atlassian.jira.util.dbc.Assertions$NullArgumentException: url should not be null! at com.atlassian.jira.util.dbc.Assertions.notNull(Assertions.java:29) at com.atlassian.jira.plugin.webfragment.model.SimpleLinkImpl.<init>(SimpleLinkImpl.java:71) at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.convertWebItemToSimpleLink(DefaultSimpleLinkManager.java:228) at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinks(DefaultSimpleLinkManager.java:184) at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinksForSectionIgnoreConditions(DefaultSimpleLinkManager.java:138) <+2> (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483){noformat} h4. Steps to reproduce There isn't any steps known at the moment. h4. Actual Results Facing 500 page error while browsing issues h4. Expected Results Having a (broken) link without any url value should not cause a 500 page _but_ continue to load and render the Issue View page with warnings that there are errors which can be found in the logs. h4. Workaround Restart JIRA

    Atlassian JIRA | 2 years ago | Zulfadli Noor Sazali [Atlassian]
    com.atlassian.jira.util.dbc.Assertions$NullArgumentException: url should not be null!

    Root Cause Analysis

    1. com.atlassian.jira.util.dbc.Assertions$NullArgumentException

      url should not be null!

      at com.atlassian.jira.util.dbc.Assertions.notNull()
    2. com.atlassian.jira
      DefaultSimpleLinkManager.getLinks
      1. com.atlassian.jira.util.dbc.Assertions.notNull(Assertions.java:29)
      2. com.atlassian.jira.plugin.webfragment.model.SimpleLinkImpl.<init>(SimpleLinkImpl.java:71)
      3. com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.convertWebItemToSimpleLink(DefaultSimpleLinkManager.java:228)
      4. com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinks(DefaultSimpleLinkManager.java:184)
      4 frames