[Biojava-dev] bug in DASComponentFeature.iterator () ???

Dirk Habighorst dirk.habighorst at epigenomics.com
Mon Feb 7 08:23:27 EST 2005


Hallo,

Running the TestDAS demo from the head of biojava-live exits with a java.lang.StackOverflowError. As far as I have tracked it, the problem is:

    public Iterator features() {
        // System.err.println("Going to iterate over DASComponentFeature: " + getComponentSequenceName());
        return getProjectedFeatures().features();
    }

getProjectedFeatures() returns a reference to the same DASComponentFeature that called the feature methode in the first place because the ReparentContext.feature() returns the an Iterator of its baseSet which is the DASComponentFeature. 

dirk
-- 
Dirk Habighorst                  Software Engineer/ Bioinformatician
Epigenomics AG    Kleine Praesidentenstr. 1    10178 Berlin, Germany
phone:+49-30-24345-372                          fax:+49-30-24345-555
http://www.epigenomics.com           dirk.habighorst at epigenomics.com


More information about the biojava-dev mailing list