java.lang.NullPointerException: sourceName must not be null

Atlassian JIRA | Seb Ruiz | 7 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
  2. 0
  3. 0

    joe: MAJOR: wiki link rendering broken - \[link name|http://google.com\] should render a link, but gives !http://img.skitch.com/20101013-edqadtymh8q6tg52wdhw1rye72.png! {noformat} [java] java.lang.NullPointerException: sourceName must not be null [java] at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:197) [java] at com.cenqua.crucible.revision.source.RepositorySource.<init>(RepositorySource.java:96) [java] at com.cenqua.crucible.revision.source.DefaultSourceFactory.makeRepositorySource(DefaultSourceFactory.java:87) [java] at com.cenqua.crucible.revision.source.DefaultSourceFactory.makeSource(DefaultSourceFactory.java:83) [java] at com.cenqua.crucible.revision.source.DefaultSourceFactory.getSource(DefaultSourceFactory.java:63) [java] at com.cenqua.crucible.revision.source.DefaultSourceFactory.getSource(DefaultSourceFactory.java:44) [java] at com.cenqua.crucible.filters.CrucibleFilter$Context.getSource(CrucibleFilter.java:47) [java] at com.cenqua.crucible.filters.CrucibleFilter.getSource(CrucibleFilter.java:130) [java] at com.atlassian.crucible.wikirenderer.CrucibleLinkResolver.createLink(CrucibleLinkResolver.java:42) [java] at com.atlassian.renderer.v2.components.LinkRendererComponent.appendLink(LinkRendererComponent.java:138) [java] at com.atlassian.renderer.v2.components.LinkRendererComponent.render(LinkRendererComponent.java:96) [java] at com.atlassian.renderer.v2.V2Renderer.render(V2Renderer.java:53) {noformat}

    Atlassian JIRA | 6 years ago | Seb Ruiz
    java.lang.NullPointerException: sourceName must not be null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    joe: MAJOR: wiki link rendering broken - \[link name|http://google.com\] should render a link, but gives !http://img.skitch.com/20101013-edqadtymh8q6tg52wdhw1rye72.png! {noformat} [java] java.lang.NullPointerException: sourceName must not be null [java] at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:197) [java] at com.cenqua.crucible.revision.source.RepositorySource.<init>(RepositorySource.java:96) [java] at com.cenqua.crucible.revision.source.DefaultSourceFactory.makeRepositorySource(DefaultSourceFactory.java:87) [java] at com.cenqua.crucible.revision.source.DefaultSourceFactory.makeSource(DefaultSourceFactory.java:83) [java] at com.cenqua.crucible.revision.source.DefaultSourceFactory.getSource(DefaultSourceFactory.java:63) [java] at com.cenqua.crucible.revision.source.DefaultSourceFactory.getSource(DefaultSourceFactory.java:44) [java] at com.cenqua.crucible.filters.CrucibleFilter$Context.getSource(CrucibleFilter.java:47) [java] at com.cenqua.crucible.filters.CrucibleFilter.getSource(CrucibleFilter.java:130) [java] at com.atlassian.crucible.wikirenderer.CrucibleLinkResolver.createLink(CrucibleLinkResolver.java:42) [java] at com.atlassian.renderer.v2.components.LinkRendererComponent.appendLink(LinkRendererComponent.java:138) [java] at com.atlassian.renderer.v2.components.LinkRendererComponent.render(LinkRendererComponent.java:96) [java] at com.atlassian.renderer.v2.V2Renderer.render(V2Renderer.java:53) {noformat}

    Atlassian JIRA | 6 years ago | Seb Ruiz
    java.lang.NullPointerException: sourceName must not be null

  1. Andreas Häber 2 times, last 2 days ago
  2. xiaokangwang 1 times, last 1 month ago
  3. stigkj 2 times, last 2 months ago
  4. fervidnerd 1 times, last 3 months ago
  5. batwalrus76 3 times, last 4 months ago
14 more registered users
48 unregistered visitors
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

    sourceName must not be null

    at com.google.common.base.Preconditions.checkNotNull()
  2. Guava
    Preconditions.checkNotNull
    1. com.google.common.base.Preconditions.checkNotNull(Preconditions.java:203)
    1 frame
  3. com.cenqua.crucible
    EditRevisionsAction.execute
    1. com.cenqua.crucible.revision.source.RepositorySource.<init>(RepositorySource.java:78)
    2. com.cenqua.crucible.revision.source.SourceFactory.makeRepositorySource(SourceFactory.java:82)
    3. com.cenqua.crucible.revision.source.SourceFactory.makeSource(SourceFactory.java:78)
    4. com.cenqua.crucible.revision.source.SourceFactory.getSource(SourceFactory.java:58)
    5. com.cenqua.crucible.revision.source.SourceFactory.getSource(SourceFactory.java:39)
    6. com.cenqua.crucible.filters.CrucibleFilter$Context.getSource(CrucibleFilter.java:47)
    7. com.cenqua.crucible.filters.CrucibleFilter.getSource(CrucibleFilter.java:130)
    8. com.cenqua.crucible.actions.create.EditRevisionsAction.getSource(EditRevisionsAction.java:187)
    9. com.cenqua.crucible.actions.create.EditRevisionsAction.doView(EditRevisionsAction.java:301)
    10. com.cenqua.crucible.actions.create.AddPatchAction.doView(AddPatchAction.java:64)
    11. com.cenqua.crucible.actions.create.EditRevisionsAction.execute(EditRevisionsAction.java:259)
    11 frames
  4. Java RT
    NativeMethodAccessorImpl.invoke0
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    1 frame