xhyccc / beast-mcmc

Automatically exported from code.google.com/p/beast-mcmc
0 stars 0 forks source link

Null-Pointer Exception when a Newick tree doesn't finish with a ';' (semicolon) #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
All we need is a nicer error message than this:

SEVERE: Fatal exception (email the authors)
Fatal exception (email the authors)
java.lang.NullPointerException
    at dr.evoxml.NewickParser.parseXMLObject(Unknown Source)
    at dr.xml.AbstractXMLObjectParser.parseXMLObject(Unknown Source)
    at dr.xml.XMLParser.convert(Unknown Source)
    at dr.xml.XMLParser.convert(Unknown Source)
    at dr.xml.XMLParser.parse(Unknown Source)
    at dr.app.beast.BeastMain.<init>(Unknown Source)
    at dr.app.beast.BeastMain.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
    at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    at
apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

Original issue reported on code.google.com by ramb...@gmail.com on 4 Feb 2007 at 11:40

GoogleCodeExporter commented 9 years ago
We could allow no semicolon at the end of a newick tree

Original comment by ramb...@gmail.com on 4 Feb 2007 at 11:54

GoogleCodeExporter commented 9 years ago

Original comment by ramb...@gmail.com on 24 Apr 2007 at 11:54