Unconfigured Ad

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ksw9
    Member
    • May 2013
    • 32

    Hi,
    I am new to NGS bioinformatics and am trying to use Fastqc on Illumina paired end reads. I keep getting the error:

    Exception in thread "main" java.lang.NoClassDefFoundError: uk.ac.babraham.FastQC.FastQCApplication
    at java.lang.Class.initializeClass(libgcj.so.10)
    Caused by: java.lang.ClassFormatError: uk.ac.babraham.FastQC.Modules.QCModule (erroneous constant pool tag)


    Any insight would be very helpful. Thank you in advance for your help!

    Comment

    • mastal
      Senior Member
      • Mar 2009
      • 666

      What version of FastQC are you using,

      and what is the command you used to run FastQC?

      Comment

      • simonandrews
        Simon Andrews
        • May 2009
        • 870

        This looks like the download you have is corrupted. That error is an internal error in the validation of the class files.

        I suspect if you go back and re-download and extract the fastqc install again it will fix itself.

        Comment

        • ksw9
          Member
          • May 2013
          • 32

          Thank you for all the help! You're right the download was corrupted.

          Comment

          • le.nono
            Member
            • Sep 2012
            • 17

            Hello there

            I can't solve that problem by myself I have this error , I have no idea to solve it. I would need some good advice. Here it is below
            Thx.

            nono@nono-VGN-NS31M-W:~/FastQC$ fastqc ~/bioinfo/ngs/exercice_edgeR/reads/Galaxy5-\[brain_2.fastq\].fa
            Started analysis of Galaxy5-[brain_2.fastq].fa
            Approx 5% complete for Galaxy5-[brain_2.fastq].fa
            Approx 10% complete for Galaxy5-[brain_2.fastq].fa
            Approx 15% complete for Galaxy5-[brain_2.fastq].fa
            Approx 20% complete for Galaxy5-[brain_2.fastq].fa
            Approx 25% complete for Galaxy5-[brain_2.fastq].fa
            Approx 30% complete for Galaxy5-[brain_2.fastq].fa
            Approx 35% complete for Galaxy5-[brain_2.fastq].fa
            Approx 40% complete for Galaxy5-[brain_2.fastq].fa
            Approx 45% complete for Galaxy5-[brain_2.fastq].fa
            Approx 50% complete for Galaxy5-[brain_2.fastq].fa
            Approx 55% complete for Galaxy5-[brain_2.fastq].fa
            Approx 60% complete for Galaxy5-[brain_2.fastq].fa
            Approx 65% complete for Galaxy5-[brain_2.fastq].fa
            Approx 70% complete for Galaxy5-[brain_2.fastq].fa
            Approx 75% complete for Galaxy5-[brain_2.fastq].fa
            Approx 80% complete for Galaxy5-[brain_2.fastq].fa
            Approx 85% complete for Galaxy5-[brain_2.fastq].fa
            Approx 90% complete for Galaxy5-[brain_2.fastq].fa
            Approx 95% complete for Galaxy5-[brain_2.fastq].fa
            Approx 100% complete for Galaxy5-[brain_2.fastq].fa
            Analysis complete for Galaxy5-[brain_2.fastq].fa
            Failed to process file Galaxy5-[brain_2.fastq].fa
            java.lang.NullPointerException
            at uk.ac.babraham.FastQC.Report.HTMLReportArchive.startDocument(HTMLReportArchive.java:170)
            at uk.ac.babraham.FastQC.Report.HTMLReportArchive.<init>(HTMLReportArchive.java:60)
            at uk.ac.babraham.FastQC.Analysis.OfflineRunner.analysisComplete(OfflineRunner.java:157)
            at uk.ac.babraham.FastQC.Analysis.AnalysisRunner.run(AnalysisRunner.java:108)
            at java.lang.Thread.run(Thread.java:744)
            Gene R' Us!

            Comment

            • santhilalsubhash
              Member
              • May 2012
              • 19

              Originally posted by shurjo View Post
              Hi Simon,

              I would really like to use FastQC for my project but am getting the following error message when I try to run it non-interactively on our Linux cluster:

              $ java -Xmx250m -cp ~/bin/fastqc/FastQC

              uk.ac.bbsrc.babraham.FastQC.FastQCApplication testFastQC.fastq
              Exception in thread "main" java.awt.HeadlessException:
              No X11 DISPLAY variable was set, but this program performed an operation which requires it.
              at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
              at java.awt.Window.<init>(Window.java:431)
              at java.awt.Frame.<init>(Frame.java:403)
              at java.awt.Frame.<init>(Frame.java:368)
              at javax.swing.JFrame.<init>(JFrame.java:158)
              at uk.ac.bbsrc.babraham.FastQC.FastQCApplication.<init>(FastQCApplication.java:197)
              at uk.ac.bbsrc.babraham.FastQC.FastQCApplication.main(FastQCApplication.java:63)

              These are the details for our java installation:

              [sensh@saturn FastQC]$ java -version
              java version "1.6.0_17"
              Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
              Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)

              Any pointers?

              Thanks,

              Shurjo

              I know this is basic and sorry if you would have tried... But if you have SSH server, try to connect with this

              ssh -XY user@yourserver

              And try to open your graphical programs with terminal.

              Comment

              • le.nono
                Member
                • Sep 2012
                • 17

                Thank you but it didn't help. The error is different I don't have a graphical problem, it's more about a class that java doesn't find when it wants to create the HTML fastqc file. Anybody help ?
                Gene R' Us!

                Comment

                • simonandrews
                  Simon Andrews
                  • May 2009
                  • 870

                  I had a look in the code. That error suggests that you might have deleted or moved the Templates/Icons directory in the fastqc install. You are free to add more stuff into the templates directory to customise your reports but you have to leave the icons which come with the program in place.

                  Comment

                  • simonandrews
                    Simon Andrews
                    • May 2009
                    • 870

                    I've just seen that there are two conversations which seem to be getting conflated here. Just to be clear, it's le.nono who has the problem with the templates directory, and shurjo who is trying to run FastQC interactively in a unix session without an X tunnel set up.

                    Comment

                    • le.nono
                      Member
                      • Sep 2012
                      • 17

                      Got it thank you Simon!
                      Gene R' Us!

                      Comment

                      • le.nono
                        Member
                        • Sep 2012
                        • 17

                        Well I've reinstall fastqc, still have the same error. I've tried on Galaxy, with the same file it works fine...
                        Gene R' Us!

                        Comment

                        • le.nono
                          Member
                          • Sep 2012
                          • 17

                          My problem is solved thank you! Your comment helped me to investigate, and came from my user Ubuntu access rights.
                          Gene R' Us!

                          Comment

                          • F_KVH
                            Junior Member
                            • Jan 2014
                            • 3

                            Hi,
                            I have installed FastQC on OSX 10.9.1 and have java version java version "1.6.0_65"
                            Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
                            Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

                            but when I run FastQC, I get error:
                            Exception in thread "main" java.lang.NoClassDefFoundError: uk/ac/babraham/FastQC/FastQCApplication
                            Caused by: java.lang.ClassNotFoundException: uk.ac.babraham.FastQC.FastQCApplication
                            at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
                            at java.security.AccessController.doPrivileged(Native Method)
                            at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
                            at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
                            Any suggession to solve it?
                            Thanks

                            Comment

                            • simonandrews
                              Simon Andrews
                              • May 2009
                              • 870

                              Originally posted by F_KVH View Post
                              Hi,
                              I have installed FastQC on OSX 10.9.1 and have java version java version "1.6.0_65"
                              Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
                              Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

                              but when I run FastQC, I get error:
                              Exception in thread "main" java.lang.NoClassDefFoundError: uk/ac/babraham/FastQC/FastQCApplication
                              Caused by: java.lang.ClassNotFoundException: uk.ac.babraham.FastQC.FastQCApplication
                              at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
                              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
                              Any suggession to solve it?
                              Thanks
                              This error suggests that the program isn't able to find the installation folder correctly to find its other resources. There are a number of possible reasons for this included corrupted downloads or mis-extracted zip files, but the most common cause we've seen is that the fastqc program has been copied out of the installation folder to another location (often /usr/local/bin/ so it ends up in the path). If you want to add fastqc to your path then you need to link (using ln -s ) rather than copy the fastqc launcher program into your path.

                              A quick check to see if this is the case would be to run

                              which fastqc

                              The location returned should either be the fastqc program inside the full installation folder, or a link to that file. If it's anything else then that will be why the launcher is failing.

                              If it's not that then I'd suggest re-downloading and extracting the software as it could be that there are simply files missing from the installation.

                              Comment

                              • F_KVH
                                Junior Member
                                • Jan 2014
                                • 3

                                Dear Simon,
                                Thanks for your help. I installed again & now it works. Do you think I need to install xcode app?
                                Best regards

                                Comment

                                Latest Articles

                                Collapse

                                • SEQadmin2
                                  From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                                  by SEQadmin2


                                  Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                                  The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                                  ...
                                  06-02-2026, 10:05 AM
                                • SEQadmin2
                                  Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
                                  by SEQadmin2


                                  With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


                                  Introduction

                                  Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
                                  05-22-2026, 06:42 AM
                                • SEQadmin2
                                  Environmental Genomics in the Age of NGS: From Microbes to Conservation Strategies
                                  by SEQadmin2

                                  Studying ecosystems means dealing with complex, multi-species communities that are hard to observe at scale. This complexity, however, hides many important questions to be answered, from how biogeochemical cycles work and how climate change can affect species distribution to how conservation strategies can work best.


                                  Genomics, particularly since the expansion of NGS, has transformed ecosystem ecology. By sequencing environmental DNA, we can now assess biodiversity without direct...
                                  05-06-2026, 09:04 AM

                                ad_right_rmr

                                Collapse

                                News

                                Collapse

                                Topics Statistics Last Post
                                Started by SEQadmin2, Today, 08:59 AM
                                0 responses
                                8 views
                                0 reactions
                                Last Post SEQadmin2  
                                Started by SEQadmin2, 06-02-2026, 12:03 PM
                                0 responses
                                21 views
                                0 reactions
                                Last Post SEQadmin2  
                                Started by SEQadmin2, 06-02-2026, 11:40 AM
                                0 responses
                                15 views
                                0 reactions
                                Last Post SEQadmin2  
                                Started by SEQadmin2, 05-28-2026, 11:40 AM
                                0 responses
                                29 views
                                0 reactions
                                Last Post SEQadmin2  
                                Working...