Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: BlastXMLParserFacade: msg#00025

java.bio.general

Subject: Re: BlastXMLParserFacade

Hi,

The parser shouldn't be throwing a NPE. However, the NCBI blast xml output didn't used to be well-formed XML, so was not parseable by any XML parser. I don't know if this has since been fixed by the NCBI.

Matthew

DMGoodstein@xxxxxxx wrote:

I was wondering if anyone has successfully gotten
BlastXMLParserFacade to work on an xml style NCBI
blast output file (version 2.2.3)? I'm getting null
pointer exceptions deep within the crimson parser
implementation classes, but I now i'm correctly
passing in the NCBI output file, since the dtd is
getting read.

--David Goodstein
Joint Genome Institute

/usr/java/j2sdk1.4.1_02/bin/java2/bin/java
-classpath .:./biojava-1.3.1
.1.jar BlastParser fred.xml
a/j2sdk1.4.1_02/bin/javac -classpath .:./biojava-1.3.
java.lang.NullPointerException
at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:524)
at
org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at
org.biojava.bio.program.sax.blastxml.BlastXMLParserFacade.parse(BlastXMLParserFacade.java:172)
at BlastParser.main(BlastParser.java:44)
1.jar BlastParser
./fred.xmlava/j2sdk1.4.1_02/bin/java -classpath
.:./biojava-1.3.1
java.lang.NullPointerException
at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:524)
at
org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at
org.biojava.bio.program.sax.blastxml.BlastXMLParserFacade.parse(BlastXMLParserFacade.java:172)
at BlastParser.main(BlastParser.java:44)

_______________________________________________
Biojava-l mailing list - Biojava-l@xxxxxxxxxxx
http://biojava.org/mailman/listinfo/biojava-l



_______________________________________________
Biojava-l mailing list - Biojava-l@xxxxxxxxxxx
http://biojava.org/mailman/listinfo/biojava-l



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo