java.lang.NullPointerException

Oracle Community | harmeets | 8 years ago
  1. 0

    2007-01-16 19:32:15,015 ERROR [DefaultQuartzScheduler_Worker-8] [atlassian.confluence.links.ReferralTaskQueue] flush Unable to add referrer http://10.70.172.71:8080/confluence/pages/viewpageattachments.action?pageId=2 - null java.lang.NullPointerException at java.lang.String.startsWith(String.java:1252) at java.lang.String.startsWith(String.java:1281) at com.atlassian.confluence.links.DefaultReferralManager.isReferringRequest(DefaultReferralManager.java:142) at com.atlassian.confluence.links.DefaultReferralManager.referToContent(DefaultReferralManager.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy34.referToContent(Unknown Source) at com.atlassian.confluence.links.ReferralTask.execute(ReferralTask.java:27) at com.atlassian.confluence.links.ReferralTaskQueue.flush(ReferralTaskQueue.java:69)

    Atlassian JIRA | 10 years ago | qxo
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    2007-01-16 19:32:15,015 ERROR [DefaultQuartzScheduler_Worker-8] [atlassian.confluence.links.ReferralTaskQueue] flush Unable to add referrer http://10.70.172.71:8080/confluence/pages/viewpageattachments.action?pageId=2 - null java.lang.NullPointerException at java.lang.String.startsWith(String.java:1252) at java.lang.String.startsWith(String.java:1281) at com.atlassian.confluence.links.DefaultReferralManager.isReferringRequest(DefaultReferralManager.java:142) at com.atlassian.confluence.links.DefaultReferralManager.referToContent(DefaultReferralManager.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy34.referToContent(Unknown Source) at com.atlassian.confluence.links.ReferralTask.execute(ReferralTask.java:27) at com.atlassian.confluence.links.ReferralTaskQueue.flush(ReferralTaskQueue.java:69)

    Atlassian JIRA | 10 years ago | qxo
    java.lang.NullPointerException
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at java.lang.String.startsWith()
  2. Java RT
    String.startsWith
    1. java.lang.String.startsWith(String.java:1252)
    2. java.lang.String.startsWith(String.java:1281)
    2 frames
  3. Web Container Naming Utilities
    DirContextURLConnection.getLastModified
    1. org.apache.naming.resources.FileDirContext.file(FileDirContext.java:916)
    2. org.apache.naming.resources.FileDirContext.getAttributes(FileDirContext.java:491)
    3. org.apache.naming.resources.BaseDirContext.getAttributes(BaseDirContext.java:774)
    4. org.apache.naming.resources.ProxyDirContext.revalidate(ProxyDirContext.java:1519)
    5. org.apache.naming.resources.ProxyDirContext.cacheLookup(ProxyDirContext.java:1475)
    6. org.apache.naming.resources.ProxyDirContext.lookup(ProxyDirContext.java:306)
    7. org.apache.naming.resources.DirContextURLConnection.connect(DirContextURLConnection.java:180)
    8. org.apache.naming.resources.DirContextURLConnection.getLastModified(DirContextURLConnection.java:229)
    8 frames
  4. The ZKoss Common Library
    ResourceCache.get
    1. org.zkoss.util.resource.AbstractLoader.getLastModified(AbstractLoader.java:44)
    2. org.zkoss.util.resource.ResourceCache$Info.isValid(ResourceCache.java:216)
    3. org.zkoss.util.resource.ResourceCache.get(ResourceCache.java:126)
    3 frames
  5. ZK Kernel
    DHtmlLayoutServlet.doGet
    1. org.zkoss.zk.ui.metainfo.ZScript.getContent(ZScript.java:217)
    2. org.zkoss.zk.ui.impl.UiEngineImpl.execNonComponent(UiEngineImpl.java:728)
    3. org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:547)
    4. org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:557)
    5. org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:525)
    6. org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:492)
    7. org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:374)
    8. org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:296)
    9. org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:230)
    10. org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:167)
    10 frames
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    2 frames
  7. Glassfish Core
    StandardPipeline.doInvoke
    1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
    2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290)
    3. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
    5. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    6. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    6 frames
  8. Glassfish
    WebPipeline.invoke
    1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    1 frame
  9. Glassfish Core
    ContainerBase.invoke
    1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
    2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    6. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
    7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    8. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    10. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    10 frames
  10. org.apache.coyote
    CoyoteAdapter.service
    1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
    1 frame
  11. Glassfish Core
    TaskBase.run
    1. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
    2. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
    3. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
    4. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    5. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    6. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    7. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
    7 frames
  12. Grizzly HTTP
    SSLWorkerThread.run
    1. com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    1 frame