The current GATK version is 3.7-0
Examples: Monday, today, last week, Mar 26, 3/26/04

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Get notifications!

You can opt in to receive email notifications, for example when your questions get answered or when there are new announcements, by following the instructions given here.

Did you remember to?

1. Search using the upper-right search box, e.g. using the error message.
2. Try the latest version of tools.
3. Include tool and Java versions.
4. Tell us whether you are following GATK Best Practices.
5. Include relevant details, e.g. platform, DNA- or RNA-Seq, WES (+capture kit) or WGS (PCR-free or PCR+), paired- or single-end, read length, expected average coverage, somatic data, etc.
6. For tool errors, include the error stacktrace as well as the exact command.
7. For format issues, include the result of running ValidateSamFile for BAMs or ValidateVariants for VCFs.
8. For weird results, include an illustrative example, e.g. attach IGV screenshots according to Article#5484.
9. For a seeming variant that is uncalled, include results of following Article#1235.

Did we ask for a bug report?

Then follow instructions in Article#1894.

Formatting tip!

Wrap blocks of code, error messages and BAM/VCF snippets--especially content with hashes (#)--with lines with three backticks ( ``` ) each to make a code block as demonstrated here.

Jump to another community
Picard 2.9.0 is now available. Download and read release notes here.
GATK 3.7 is here! Be sure to read the Version Highlights and optionally the full Release Notes.

ERROR MESSAGE: com/sun/javadoc/ProgramElementDoc

JinyanJinyan Posts: 3
edited January 2013 in Ask the GATK team

Dear expert,

When I run gatk with fellow command,

java -Xmx10g -Xms10g -jar ~/bin/GenomeAnalysisTK-2.3-4-g57ea19f/GenomeAnalysisTK.jar \
-T BaseRecalibrator \
-R Homo_sapiens.GRCh37.63/bak/Homo_sapiens.GRCh37.63.dna.chromosome.fa \
-knownSites ~/bin/GenomeAnalysisTK-2.3-4-g57ea19f/dbsnp_137.hg19.vcf \
-I input_4.bam \
-o mySample_CovarTable_Recal.grp

I got this error:

INFO 22:25:22,825 RMDTrackBuilder - Creating Tribble index in memory for file ~/bin/GenomeAnalysisTK-2.3-4-g57ea19f/dbsnp_137.hg19.vcf

ERROR ------------------------------------------------------------------------------------------
ERROR stack trace

java.lang.NoClassDefFoundError: com/sun/javadoc/ProgramElementDoc

ERROR MESSAGE: com/sun/javadoc/ProgramElementDoc
Post edited by Geraldine_VdAuwera on


  • JinyanJinyan Posts: 3

    Here the bam file is RNA-seq.

  • pdexheimerpdexheimer Posts: 544 ✭✭✭✭

    Hmm, this looks like exactly the same error as was reported here: Same version, same error message. Are you by any chance running OpenJDK as well (check the output of "java -version")?

  • rammaramma Posts: 1

    I just got this same error with RNA-seq samples using OpenJDK. I am running the RealignerTargetCreator as opposed to the BaseRecalibrator though.

    If I get time I'll test with Sun Java instead. I'm also running GATK on an Ubuntu 12.04 server if that matters.

  • Geraldine_VdAuweraGeraldine_VdAuwera Cambridge, MAPosts: 11,743 admin

    Hey folks, the 'ProgramElementDoc' part of the error seems to be due to a bug in pulling out the exception details. The actual error varies from case to case. We'll fix this in the next release, but in the meantime if you get one of these, please post the entire stack trace so we can help you diagnose the problem.

    Geraldine Van der Auwera, PhD

  • droazendroazen Cambridge, MAPosts: 51 ✭✭

    This should be fixed in the latest GATK release (2.3-5) -- if those experiencing this problem could try out that version and let us know whether the issue is resolved, it would be helpful.


  • droazendroazen Cambridge, MAPosts: 51 ✭✭

    I take it back -- after reviewing the 2.3-5 patch, I think the issue is likely not resolved after all. We'll probably push out another patch shortly to fix the "ProgramElementDoc" issue.

  • droazendroazen Cambridge, MAPosts: 51 ✭✭

    The ProgramElementDoc issue should be fixed in version 2.3-6, which should be released in a few hours.

  • Shrey_SShrey_S Posts: 25

    I am facing the same error with the 2.5.2 version:

    INFO 17:14:29,460 ArgumentTypeDescriptor - Dynamically determined type of Sample.GATK.vcf to be VCF
    INFO 17:14:29,493 HelpFormatter - --------------------------------------------------------------------------------
    INFO 17:14:29,493 HelpFormatter - The Genome Analysis Toolkit (GATK) v2.5-2-gf57256b, Compiled 2013/05/01 09:27:02
    INFO 17:14:29,493 HelpFormatter - Copyright (c) 2010 The Broad Institute
    INFO 17:14:29,493 HelpFormatter - For support and documentation go to
    INFO 17:14:29,497 HelpFormatter - Program Args: -T VariantAnnotator -I Sample.bam -o Sample.GATK.VA.vcf -ls --variant Sample.GATK.vcf -L Sample.GATK.vcf--dbsnp /Drive_D/Databases/dbsnp/hg19_dbsnp137.vcf -R /Drive_D/Databases/genomes/hg19_genome.fa
    INFO 17:14:29,497 HelpFormatter - Date/Time: 2013/06/10 17:14:29
    INFO 17:14:29,497 HelpFormatter - --------------------------------------------------------------------------------
    INFO 17:14:29,497 HelpFormatter - --------------------------------------------------------------------------------
    INFO 17:14:29,509 ArgumentTypeDescriptor - Dynamically determined type of /Drive_D/SotwareVerTesting/Sample.GATK.vcf to be VCF
    INFO 17:14:29,518 ArgumentTypeDescriptor - Dynamically determined type of /Drive_D/Databases/dbsnp/hg19_dbsnp137.vcf to be VCF
    INFO 17:14:29,574 GenomeAnalysisEngine - Strictness is SILENT
    INFO 17:14:29,804 GenomeAnalysisEngine - Downsampling Settings: Method: BY_SAMPLE, Target Coverage: 1000
    INFO 17:14:29,811 SAMDataSource$SAMReaders - Initializing SAMRecords in serial
    INFO 17:14:29,835 SAMDataSource$SAMReaders - Done initializing BAM readers: total time 0.02
    INFO 17:14:29,859 RMDTrackBuilder - Loading Tribble index from disk for file /Drive_D/SotwareVerTesting/Sample.GATK.vcf
    INFO 17:14:29,909 RMDTrackBuilder - Loading Tribble index from disk for file /Drive_D/Databases/dbsnp/hg19_dbsnp137.vcf
    INFO 17:14:30,133 IntervalUtils - Processing 36 bp from intervals
    INFO 17:14:30,198 GenomeAnalysisEngine - Creating shard strategy for 1 BAM files
    INFO 17:14:30,241 GenomeAnalysisEngine - Done creating shard strategy
    INFO 17:14:30,241 ProgressMeter - Location processed.sites runtime per.1M.sites completed total.runtime remaining

    ERROR ------------------------------------------------------------------------------------------
    ERROR stack trace

    java.lang.NoClassDefFoundError: com/sun/javadoc/ProgramElementDoc
    at org.broadinstitute.sting.gatk.walkers.annotator.VariantAnnotator.initialize(
    at org.broadinstitute.sting.gatk.executive.LinearMicroScheduler.execute(
    at org.broadinstitute.sting.gatk.GenomeAnalysisEngine.execute(
    at org.broadinstitute.sting.gatk.CommandLineExecutable.execute(
    at org.broadinstitute.sting.commandline.CommandLineProgram.start(
    at org.broadinstitute.sting.commandline.CommandLineProgram.start(
    at org.broadinstitute.sting.gatk.CommandLineGATK.main(
    Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.ProgramElementDoc
    at Method)
    at java.lang.ClassLoader.loadClass(
    at sun.misc.Launcher$AppClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    ... 7 more

    ERROR ------------------------------------------------------------------------------------------
    ERROR A GATK RUNTIME ERROR has occurred (version 2.5-2-gf57256b):
    ERROR Please check the documentation guide to see if this is a known problem
    ERROR If not, please post the error, with stack trace, to the GATK forum
    ERROR Visit our website and forum for extensive documentation and answers to
    ERROR commonly asked questions
    ERROR MESSAGE: com/sun/javadoc/ProgramElementDoc
    ERROR ------------------------------------------------------------------------------------------
  • droazendroazen Cambridge, MAPosts: 51 ✭✭

    I can confirm that this is a regression in GATK 2.5-2. I'll file a bug report, and we should have this fixed in time for the 2.6 release (or an upcoming nightly build, if you don't want to wait that long).

  • Shrey_SShrey_S Posts: 25

    Alright droazen...Thanks :)

Sign In or Register to comment.