java.lang.NullPointerException

Atlassian JIRA | Saleh Parsa [Atlassian] | 1 year 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

    Confluence failed to add a gadget if URL contains {{_}}. Confluence thrown following error: {code} 2015-10-08 11:26:42,638 ERROR [http-nio-8588-exec-1] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action -- referer: http://localhost:8588/c588/admin/viewgadgetdirectory.action | url: /c588/admin/addgadget.action | userName: admin java.lang.NullPointerException at com.atlassian.confluence.plugins.gadgets.whitelist.ConfluenceURIWhitelist$3.apply(ConfluenceURIWhitelist.java:79) at com.atlassian.confluence.plugins.gadgets.whitelist.ConfluenceURIWhitelist$3.apply(ConfluenceURIWhitelist.java:75) at com.google.common.collect.Iterators.any(Iterators.java:685) at com.google.common.collect.Iterables.any(Iterables.java:620) at com.atlassian.confluence.plugins.gadgets.whitelist.ConfluenceURIWhitelist.matchesGadgetStoreHosts(ConfluenceURIWhitelist.java:38) at com.atlassian.confluence.plugins.gadgets.whitelist.ConfluenceURIWhitelist.allows(ConfluenceURIWhitelist.java:32) at sun.reflect.GeneratedMethodAccessor1275.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at {code}

    Atlassian JIRA | 1 year ago | Saleh Parsa
    java.lang.NullPointerException
  2. 0

    Confluence failed to add a gadget if URL contains {{_}}. Confluence thrown following error: {code} 2015-10-08 11:26:42,638 ERROR [http-nio-8588-exec-1] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action -- referer: http://localhost:8588/c588/admin/viewgadgetdirectory.action | url: /c588/admin/addgadget.action | userName: admin java.lang.NullPointerException at com.atlassian.confluence.plugins.gadgets.whitelist.ConfluenceURIWhitelist$3.apply(ConfluenceURIWhitelist.java:79) at com.atlassian.confluence.plugins.gadgets.whitelist.ConfluenceURIWhitelist$3.apply(ConfluenceURIWhitelist.java:75) at com.google.common.collect.Iterators.any(Iterators.java:685) at com.google.common.collect.Iterables.any(Iterables.java:620) at com.atlassian.confluence.plugins.gadgets.whitelist.ConfluenceURIWhitelist.matchesGadgetStoreHosts(ConfluenceURIWhitelist.java:38) at com.atlassian.confluence.plugins.gadgets.whitelist.ConfluenceURIWhitelist.allows(ConfluenceURIWhitelist.java:32) at sun.reflect.GeneratedMethodAccessor1275.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at {code}

    Atlassian JIRA | 1 year ago | Saleh Parsa [Atlassian]
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.confluence.plugins.gadgets.whitelist.ConfluenceURIWhitelist$3.apply()
    2. com.atlassian.confluence
      ConfluenceURIWhitelist$3.apply
      1. com.atlassian.confluence.plugins.gadgets.whitelist.ConfluenceURIWhitelist$3.apply(ConfluenceURIWhitelist.java:79)
      2. com.atlassian.confluence.plugins.gadgets.whitelist.ConfluenceURIWhitelist$3.apply(ConfluenceURIWhitelist.java:75)
      2 frames
    3. Guava
      Iterables.any
      1. com.google.common.collect.Iterators.any(Iterators.java:685)
      2. com.google.common.collect.Iterables.any(Iterables.java:620)
      2 frames
    4. com.atlassian.confluence
      ConfluenceURIWhitelist.allows
      1. com.atlassian.confluence.plugins.gadgets.whitelist.ConfluenceURIWhitelist.matchesGadgetStoreHosts(ConfluenceURIWhitelist.java:38)
      2. com.atlassian.confluence.plugins.gadgets.whitelist.ConfluenceURIWhitelist.allows(ConfluenceURIWhitelist.java:32)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1275.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:497)
      3 frames
    6. Spring AOP
      AopUtils.invokeJoinpointUsingReflection
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      1 frame
    7. Spring OSGi Core
      ServiceInvoker.invoke
      1. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
      2. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
      2 frames
    8. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame